Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accept tcp 127.0.0.1:4242: use of closed network connection #41

Open
j-xhan opened this issue Jun 1, 2018 · 3 comments
Open

accept tcp 127.0.0.1:4242: use of closed network connection #41

j-xhan opened this issue Jun 1, 2018 · 3 comments

Comments

@j-xhan
Copy link

j-xhan commented Jun 1, 2018

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?

@zt3862266
Copy link

I also have the same error @j-xhan

@zt3862266
Copy link

I think I know the reason~

@damien-nd
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants