Azure AD SSO setting behind a proxy not working

Thanks for solution.

The problem was proxy and we enabled it, also as you said if we point the federation.xml to a local file it doesn't need to use network.

idp.metadata.path: /local/federation.xml