SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
282 stars 88 forks source link

Broken Azure deployment for net5.0,fable3 #435

Closed Akash-Mair closed 3 years ago

Akash-Mair commented 3 years ago

Running the dotnet run -- Azure command would successfully build the app but when navigating to the deployed site I get the following

502 - Web server received an invalid response while acting as a gateway or proxy server.

There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.

In the App Event Logs I would get the following

Application: w3wp.exe
CoreCLR Version: 5.0.321.7212
.NET Version: 5.0.3
Description: The process was terminated due to an internal error in the .NET Runtime at IP 581BB105 (58000000) with exit code 80131506.

Please find the repo below - https://github.com/CompositionalIT/broken-SAFEv3-deployment

This is linked to - https://github.com/Zaid-Ajaj/Fable.Remoting/issues/226

Proposed fix - https://github.com/SAFE-Stack/SAFE-template/pull/434