今天更新了一个应用,发布后出了问题,显示”Not Found
HTTP Error 404. The requested resource is not found.
到管理页面可以看到应用不段的启用后停止
查了日志有下面.NET Runtime的报错:
Category:]Category:]EventId: 6
<span]
<span]Application startup exception
<span]
<span]Exception: System.AggregateException:]System.AggregateException:] ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ]] at System.Net.Security.SslStream.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) ]]--- End of stack trace from previous location where exception was thrown --- ]] at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) ]] at System.Net.Security.SslStream.<>c.<AuthenticateAsClientAsync>b__65_1(IAsyncResult iar) ]]--- End of stack trace from previous location where exception was thrown --- ]] --- End of inner exception stack trace --- ]] at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) ]] at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) ]] at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) ]] at Forguncy.Server2.Controllers.UserServiceWrapper.a[a](String A_0, Object A_1, Boolean A_2, Boolean A_3) ]] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) ]] at Forguncy.a.m() ]] at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) ]] at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) ]] at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app) ]] at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
|