wssocks icon indicating copy to clipboard operation
wssocks copied to clipboard

lots of use of closed connections in logs

Open matti opened this issue 2 years ago • 1 comments

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 ?

matti avatar Jul 02 '22 07:07 matti

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".

genshen avatar Jul 02 '22 11:07 genshen