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 host:port use of closed network connection on server shutdown #134

Closed
roma-glushko opened this issue Feb 11, 2024 · 0 comments · Fixed by #137
Closed

🐛 accept tcp host:port use of closed network connection on server shutdown #134

roma-glushko opened this issue Feb 11, 2024 · 0 comments · Fixed by #137
Assignees

Comments

@roma-glushko
Copy link
Member

After switching to the standard transport, we have started getting this error on server shutdown:

2024-02-11T12:41:25.093+0200    ERROR   HERTZ: Error=accept tcp 127.0.0.1:9099: use of closed network connection
2024-02-11T12:41:25.093+0200    ERROR   api/servers.go:46       error on running HTTP server    {"error": "accept tcp 127.0.0.1:9099: use of closed network connection"}
glide/pkg/api.(*ServerManager).Start.func1
        /Users/roman/Projects/ideas/Glide/pkg/api/servers.go:46
^C^C2024-02-11T12:41:30.093+0200        INFO    HERTZ: Execute OnShutdownHooks finish
make: *** [run] Error 1

A bug report in Hert's Github: cloudwego/hertz#1065

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

Successfully merging a pull request may close this issue.

1 participant