You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how to handle Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:218:20) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) in sock5
#1426
Open
fancy45daddy opened this issue
Oct 10, 2024
· 3 comments
how to handle Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:218:20) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) in sock5
I always get Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:218:20)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
but the information is not very useful. I still have no idea where to throw the ECONNRESET error
I see other issues, they say always add error handler to connection. I already add the
.on('error', (err) => {
deny();
}) But the ECONNRESET still exist. I also try to console.log all the err in the above code. But None of them provide any useful information. I want to ask how to suppress ECONNRESET error?
The text was updated successfully, but these errors were encountered:
this is the code I use, I am not sure how to add the error handler to stream and clientSocket.
it is .on('error', _ => conn.end()) or .on('error', _ => {conn.end(); deny()}), I am not familiar with the internal impletemetation of ssh. Please help.
how to handle Error: read ECONNRESET at TCP.onStreamRead (node:internal/stream_base_commons:218:20) at TCP.callbackTrampoline (node:internal/async_hooks:130:17) in sock5
I always get Error: read ECONNRESET
at TCP.onStreamRead (node:internal/stream_base_commons:218:20)
at TCP.callbackTrampoline (node:internal/async_hooks:130:17)
but the information is not very useful. I still have no idea where to throw the ECONNRESET error
I see other issues, they say always add error handler to connection. I already add the
.on('error', (err) => {
deny();
}) But the ECONNRESET still exist. I also try to console.log all the err in the above code. But None of them provide any useful information. I want to ask how to suppress ECONNRESET error?
The text was updated successfully, but these errors were encountered: