Cannot send a DEBUG request to IIS Express (exception: An error occurred while sending the request., reason: System.Net.Http.HttpRequestException: An error occurred while sending the request. --->
System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. --->
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. --->
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult) at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
--- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult) at System.Net.Connection.ReadCallback(IAsyncResult asyncResult)
--- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at JetBrains.ReSharper.Host.Features.IisIntegration.IisExpressHost. d__14.MoveNext()). It may indicate an invalid "applicationUrl" parameter in your launchSettings.json. Please check your settings.
Run Code Online (Sandbox Code Playgroud)
这是我在 Rider 无法运行时收到的错误消息。VS2019没有给出错误消息,但我只是用它来测试它是IDE还是项目。
解决方案内的项目均使用netcoreapp2.2。
我已将范围缩小到我认为 Rider 尝试为项目设置 SSL 时出现的错误。
不确定还要包含什么内容,如果有什么我可以包含的内容或可以指向我查看的文件,请告诉我。
运行项目而不是调试允许我通过 URL 来访问站点,但显然这远非理想,因为我需要调试工具。
| 归档时间: |
|
| 查看次数: |
1850 次 |
| 最近记录: |