You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 20, 2019. It is now read-only.
The hosting port gets provided via: arguments="%ASPNETCORE_PORT%"
Since yesterday everything worked normally. The port was parsed and the app worked flawlessly.
But suddenly I've got the dreaded 502 gateway error.
After some debugging I found the reason of the error:
The environment variable doesn't get interpreted anymore. My program receives the plain "%ASPNETCORE_PORT%" string and not the value of the environment variable.
My workaround is to read the environment variable in the application itselft, but I wonder why the behavior has changed and why this is happening exclusively on Azure. I think the aspNetCore module was updated, but I can't find any information about this breaking change.