Closed chibbert closed 1 month ago
Hello, Yeah, no worries, this is kind of the normal behavior, it just means that the connection has been closed while trying to read from it. I have set it as error, as it can be a normal TCP close or a hard reset. But it can be a warn or debug log indeed.
feel free to re-open if needed
Describe the bug We've started looking to use wstunnel for our use case and love what it can do, thanks for a great project!
When creating a simple local setup to test wstunnel for our use case (reverse tunnel) I noticed the following error in the logs:
ERROR tunnel{peer="[::ffff:127.0.0.1]:48462" id="018e3c87-7d3a-7419-b6e6-850d3ce1bf4d" remote="[::]:9001"}: wstunnel::tunnel::transport::io: error while reading from tunnel rx websocket close
To Reproduce Steps to reproduce the behavior:
However the server side logs show an error:
Expected behavior I would like to understand whether an error is really occurring or whether the log should be at INFO/DEBUG level instead?
Screenshots
Desktop (please complete the following information):
Additional context Add any other context about the problem here.