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

lots of use of closed connections in logs #59

Open
matti opened this issue Jul 2, 2022 · 1 comment
Open

lots of use of closed connections in logs #59

matti opened this issue Jul 2, 2022 · 1 comment

Comments

@matti
Copy link

matti commented Jul 2, 2022

ERRO[0460] copy error,read tcp 192.168.139.216:58185->142.250.74.98:443: use of closed network connection
ERRO[0460] copy error,read tcp 192.168.139.216:58173->172.217.21.162:443: use of closed network connection
ERRO[0460] copy error,read tcp 192.168.139.216:58234->213.19.162.61:443: use of closed network connection
ERRO[0490] copy error,read tcp 192.168.139.216:58166->15.188.95.229:443: use of closed network connection
ERRO[0423] write error: read tcp 127.0.0.1:1080->127.0.0.1:58240: use of closed network connection
ERRO[0424] write error: read tcp 127.0.0.1:1080->127.0.0.1:58249: use of closed network connection
ERRO[0424] write error: read tcp 127.0.0.1:1080->127.0.0.1:58250: use of closed network connection
ERRO[0425] write error: read tcp 127.0.0.1:1080->127.0.0.1:58258: use of closed network connection
ERRO[0434] write error: read tcp 127.0.0.1:1080->127.0.0.1:58260: use of closed network connection

related #9 ?

@genshen
Copy link
Owner

genshen commented Jul 2, 2022

Hi, @matti thanks for your feedback.
It's all ok to see above logs. wssocks will print the error log if one tcp connection is closed (even if the connection is closed gracefully).
In fact, the logs above may mislead users (it is not real error).
It would be much better if we change the log title from "ERROR" to "INFO" or "TRACE".

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

2 participants