Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4845

500 Internal Server Error from Blazor App (previous build works with little changes)

$
0
0

I'm running into a problem with Blazor that appears extremely difficult to troubleshoot. I'm not sure where to go except begin to try and go to Microsoft themselves for this.

I have a Blazor App that mysteriously gives 500 internal server errors after re-building a an application and deploying it to a Linux server. An earlier build of the same application with little changes from the new one works just fine. When I swap it out with a new build, it breaks. There are no logs that tells me why. The build is almost the same. I have internal microsoft logging setup and it's silent after "Hosting started" from Microsoft.Extensions.Hosting.Internal.Host. An internal working service is running and I see logs from that, so the application is running, but something is broken with its ability to serve pages.

I'm not sure what to do at this stage. The access logs just says 500 server errors are occurring and the error logs just confirms it.

Specs

The Blazor App is on .NET 7.

Server:

NAME="Oracle Linux Server"VERSION="8.7"ID="ol"ID_LIKE="fedora"VARIANT="Server"VARIANT_ID="server"VERSION_ID="8.7"PLATFORM_ID="platform:el8"PRETTY_NAME="Oracle Linux Server 8.7"ANSI_COLOR="0;31"CPE_NAME="cpe:/o:oracle:linux:8:7:server"HOME_URL="https://linux.oracle.com/"BUG_REPORT_URL="https://bugzilla.oracle.com/"ORACLE_BUGZILLA_PRODUCT="Oracle Linux 8"ORACLE_BUGZILLA_PRODUCT_VERSION=8.7ORACLE_SUPPORT_PRODUCT="Oracle Linux"ORACLE_SUPPORT_PRODUCT_VERSION=8.7

Error logs:

[Fri Oct 11 12:54:11.011142 2024] [proxy:error] [pid 3042853:tid 140562557576960] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:5000 (localhost) failed[Fri Oct 11 12:54:11.011177 2024] [proxy_http:error] [pid 3042853:tid 140562557576960] [client 192.168.251.100:50828] AH01114: HTTP: failed to make connection to backend: localhost, referer: http://192.168.141.164/

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>