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

Hanging bug #1,003 #83

Closed
shazow opened this issue Dec 18, 2014 · 4 comments
Closed

Hanging bug #1,003 #83

shazow opened this issue Dec 18, 2014 · 4 comments

Comments

@shazow
Copy link
Owner

shazow commented Dec 18, 2014

Server stopped accepting connections after these happened:

2014-12-17 19:44:19.338 ERROR Failed to handshake: read tcp 124.117.18.242:60395: connection reset by peer
2014-12-17 19:44:20.716 ERROR Failed to handshake: read tcp 124.117.18.242:60396: connection reset by peer
2014-12-17 19:44:21.385 ERROR Failed to handshake: read tcp 124.117.18.242:60397: connection reset by peer

Not sure how to reproduce, maybe our Chinese friends can enlighten us.

@shazow
Copy link
Owner Author

shazow commented Jan 7, 2015

Did the server hang for you when you did this? Or did you write this comment in the wrong issue?

@vectorijk
Copy link
Contributor

Server didn't hang. When I make run whole project with another key. It happened same information you mentioned above.

make run
go build ./...
go build -ldflags "-X main.buildCommit 'git describe --long --tags --dirty --always'" .
./ssh-chat -i host_key --bind ":2022" -vv
2015-01-06 23:39:13.673 INFO Listening on :2022
2015-01-06 23:39:16.671 ERROR Failed to handshake: read tcp 127.0.0.1:35211: connection reset by peer
2015-01-06 23:39:19.755 ERROR Failed to handshake: read tcp 127.0.0.1:35212: connection reset by peer
2015-01-06 23:39:20.853 ERROR Failed to handshake: read tcp 127.0.0.1:35213: connection reset by peer
^C2015-01-06 23:39:23.185 WARNING Interrupt signal detected, shutting down.
Makefile:25: recipe for target 'run' failed
make: *** [run] Interrupt

@shazow
Copy link
Owner Author

shazow commented Jan 7, 2015

@vectorijk This issue is about the server hanging, please open a separate issue?

@shazow
Copy link
Owner Author

shazow commented Jan 21, 2015

Hopefully fixed in master.

@shazow shazow closed this as completed Jan 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants