You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
After some times, the following warning and error appears in the log file and I have to restart the website. This happens in a production environment on Azure!
Here are the "specs" of the website:
it's an ASP.NET Core Web Application
csproj version
target framework: netcoreapp1.1
all the Microsoft.AspNetCore.* packages have the version: 1.1.0
Here is the logs:
info: Microsoft.Extensions.DependencyInjection.DataProtectionServices[0]
Azure Web Sites environment detected. Using 'D:\home\ASP.NET\DataProtection-Keys' as key repository; keys will not be encrypted at rest.
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Unable to bind to http://localhost:6074 on the IPv6 loopback interface.
System.AggregateException: One or more errors occurred. (Error -4089 EAFNOSUPPORT address family not supported) ---> Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4089 EAFNOSUPPORT address family not supported
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 flags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListener.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.<StartAsync>b__8_0(Object state)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Microsoft.AspNetCore.Server.Kestrel.Internal.KestrelEngine.CreateServer(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.KestrelServer.Start[TContext](IHttpApplication`1 application)
---> (Inner Exception #0) Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvException: Error -4089 EAFNOSUPPORT address family not supported
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.Libuv.tcp_bind(UvTcpHandle handle, SockAddr& addr, Int32 flags)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Networking.UvTcpHandle.Bind(ServerAddress address)
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.TcpListener.CreateListenSocket()
at Microsoft.AspNetCore.Server.Kestrel.Internal.Http.Listener.<StartAsync>b__8_0(Object state)<---
Hosting environment: Production
Content root path: D:\home\site\wwwroot
Now listening on: http://localhost:6074
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://localhost/
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
Executing action method iNUI.Web.Airxtouch.Controllers.HomeController.Index (airxtouch) with arguments ((null)) - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
Executing ViewResult, running view at path /Views/Home/Index.cshtml.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
Executed action iNUI.Web.Airxtouch.Controllers.HomeController.Index (airxtouch) in 13267.2954ms
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
Request finished in 13579.3727ms 200 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
Request starting HTTP/1.1 GET http://airxtouch.com/video/AIRxTOUCHBAR.mp4?version=3
fail: Microsoft.AspNetCore.Server.Kestrel[13]
Connection id "0HL2N90ELHI3P": An unhandled exception was thrown by the application.
System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (13688832 of 16307141).
How can I debug solve/debug this?
The warning seems harmless ("Unable to bind to http://localhost:6074 on the IPv6 loopback interface.").
But how is it possible to have this error "System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (13688832 of 16307141)." ?
Hello,
After some times, the following warning and error appears in the log file and I have to restart the website. This happens in a production environment on Azure!
Here are the "specs" of the website:
Here is the logs:
How can I debug solve/debug this?
The warning seems harmless ("Unable to bind to http://localhost:6074 on the IPv6 loopback interface.").
But how is it possible to have this error "System.InvalidOperationException: Response Content-Length mismatch: too few bytes written (13688832 of 16307141)." ?
Thanks,
Adrien.