-
Notifications
You must be signed in to change notification settings - Fork 528
Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException and Error -4047 EPIPE broken pipe #1407
Comments
I have a asp.net core web app in azure, but sometimes the httprequest will be locked and return 502, and the exception is Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException. My app's dll is 1.1.0. |
This looks like a dupe of #1182 which should be fixed in 1.1.0. Can you post your project.lock.json in a gist? |
@halter73 Hi ! There is the project.lock.json. https://gist.github.com/Damon227/91c0cd5ba2af2fc72d475e7e83a4f7cb |
Looking at your project.lock.json, it looks like you you upgraded an app that started using AspNetCore 1.0.0 packages to use 1.1.0 packages. Since this looks so similar to a bug that was fixed in 1.0.0, could you triple check that the Web App you have published in Azure is really using the 1.1.0 Kestrel DLL? One easy way to do this is to go to "https://{yoursite}.scm.azurewebsites.net" and navigate to the "Debug console > PowerShell" tab. In the powershell prompt, if you enter
What output do you get? |
@halter73 Hi,I get this information fromn Kudu Debug console. PS D:\home\site\wwwroot> (ls D:\home\site\wwwroot\Microsoft.AspNetCore.Server.Kestrel.dll).VersionInfo ProductVersion FileVersion FileName 1.1.0-rtm-22752 1.1.0.21115 D:\home\site\wwwroot\Microsoft.AspNetCore.... So my app should be using the 1.1.0 Kestrel DLL. And i alse set Kestrel thread count = 1 at Program.cs in app. |
Do you still see the error when you set the thread count to 1? |
ping @Damon227... |
Exception message:
fail: Microsoft.AspNetCore.Server.Kestrel [0]
TcpListenerPrimary.OnConnection
Inner Exception(s) Found:
Type: Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException
Message: Error -4047 EPIPE broken pipe
Source: Microsoft.AspNetCore.Server.Kestrel
DataJson: {"$id":"1"}
Stacktrace:
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.Check(Int32 statusCode)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvWriteReq.Write2(UvStreamHandle handle, ArraySegment
1 bufs, UvStreamHandle sendHandle, Action
4 callback, Object state)at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.ListenerPrimary.DispatchConnection(UvStreamHandle socket)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListenerPrimary.OnConnection(UvStreamHandle listenSocket, Int32 status)
The text was updated successfully, but these errors were encountered: