endless icon indicating copy to clipboard operation
endless copied to clipboard

accept tcp 127.0.0.1:4242: use of closed network connection

Open j-xhan opened this issue 6 years ago • 3 comments

This error is printed whenever a SIGHUP is sent to an endless server. The server continues to run but this error is causing my program which calls endless to panic. Where is the error coming from?

j-xhan avatar Jun 01 '18 22:06 j-xhan

I also have the same error @j-xhan

zt3862266 avatar Jul 31 '18 08:07 zt3862266

I think I know the reason~

zt3862266 avatar Jul 31 '18 09:07 zt3862266

I do have the same message when I kill my server (SIGTERM): accept tcp [::]:8080: use of closed network connection

But the problem is when I want the change the port, if I just restart (SIGHUP), I do have this message and the server stay on the old port.

The work around is killing + starting the server, so no benefit of a "Zero downtime restarts" library ;)

Any help is welcome.

damien-nd avatar Oct 11 '18 13:10 damien-nd