Server Information:
System: Windows Server 2008 R2
Error:
Connection id “0HMGNTPDIIA4M“.Request id “0HMGNTPDIIA4M:00000002“:An unhandled exception was thrown
Manually clicking exe file under publish found can run, but port is default 5000 not website port opened by myself. Because during server deployment I directly put publish folder under website folder, causing path to become “root/publish/*”, put files inside publish folder under target path or modify path in IIS log in can solve.
Blogs below are blogs solving this type of problem, if my situation doesn’t fit can refer to links below
Connection id “0HMGNTPDIIA4M“.Request id “0HMGNTPDIIA4M:00000001“:An unhandled exception was thrown
Ocelot.Authorization.Middleware.AuthorizationMiddleware[0] requestId: 0HMJ300E5APNA:00000002…
- Mysql SSL Authentication Error
mysql ssl error_.net core 3.1 connection mysql failed, prompt SSL authentication error
Mentioned in article is because MysqlData version (8.0.8 and above) automatically enables SSL verification, so adding SSLMode=none statement in appsettingjson can login smoothly