agrinman / tunnelto

Expose your local web server to the internet with a public URL.

Home Page:https://tunnelto.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebSocketError

ryujimorimoto opened this issue Β· comments

When I launch tunnelto, I run into a WebSocketError.
It worked fine until the day before, but suddenly it stopped working.

🌎 Opening remote tunnel...
> Ready on http://localhost:8082 , https://forestbook.tunne
 ERROR tunnelto > Control error: WebSocketError(Tls(Native(Error { code: -9806, message: "connection closed via error" }))). Retrying in 5 seconds.

Could you give me a way to solve this problem?

I also am experiencing this, since about 3 PM EDT on July 28th...

Β» tunnelto --port 9909 --verbose
 INFO  tunnelto::config > Control Server URL: wss://wormhole.tunnelto.dev:443/wormhole
 DEBUG tunnelto::update > Using latest version.
 ERROR tunnelto         > Control error: WebSocketError(Protocol(HandshakeIncomplete)). Retrying in 5 seconds.
 INFO  tunnelto         > restarting wormhole
 ERROR tunnelto         > Control error: WebSocketError(Tls(Native(Error { code: -9806, message: "connection closed via error" }))). Retrying in 5 seconds.
 INFO  tunnelto         > restarting wormhole
 ERROR tunnelto         > Control error: WebSocketError(Http(Response { status: 502, version: HTTP/1.1, headers: {"server": "Fly/eefa7631 (2022-07-29)", "via": "1.1 fly.io", "fly-request-id": "01G9526VG7HT6KA4PX00105KVG-iad", "content-length": "0", "date": "Fri, 29 Jul 2022 13:27:10 GMT"}, body: None })). Retrying in 5 seconds.
 INFO  tunnelto         > restarting wormhole
🌍 Opening remote tunnel...

Lather. Rinse. Repeat. I sent an email to support yesterday but have yet to receive a response.

+1

it fails quite frequently from the beginning of this week. Getting harder and harder to get it to work. keep getting the errors and it retries again and again...

Local Inspect Dashboard: http://localhost:61229
 INFO  tunnelto         > got ping
 WARN  tunnelto         > websocket read error: Protocol("Connection reset without closing handshake")
 INFO  tunnelto         > restarting wormhole
 WARN  tunnelto         > control flow didn't send anything!
 INFO  tunnelto         > connecting to wormhole as client tdO-EWB_a4kPuMcYzCC9Yhu8T5K_nuJRh1JJypcTC-4
 INFO  tunnelto         > Server accepted our connection.
=> Forwarding to localhost:3000

 INFO  tunnelto         > got ping
 WARN  tunnelto         > websocket read error: Protocol("Connection reset without closing handshake")
 INFO  tunnelto         > restarting wormhole
 WARN  tunnelto         > control flow didn't send anything!
 INFO  tunnelto         > connecting to wormhole as client zEuHDxnZi8sWQxFt5BsNZgkNtsesvc07JsoLFKJH8-8
 INFO  tunnelto         > Server accepted our connection.
=> Forwarding to localhost:3000

 INFO  tunnelto         > got ping

+1
[TUNNEL] ERROR tunnelto > Control error: WebSocketError(Tls(Native(Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }, X509VerifyResult { code: 0, error: "ok" })))). Retrying in 5 seconds.
[TUNNEL] ERROR tunnelto > Control error: WebSocketError(Tls(Native(Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }, X509VerifyResult { code: 0, error: "ok" })))). Retrying in 5 seconds.
[TUNNEL] ERROR tunnelto > Control error: WebSocketError(Tls(Native(Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }, X509VerifyResult { code: 0, error: "ok" })))). Retrying in 5 seconds.
[TUNNEL] ERROR tunnelto > Control error: WebSocketError(Tls(Native(Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }, X509VerifyResult { code: 0, error: "ok" })))). Retrying in 5 seconds.
[TUNNEL] ERROR tunnelto > Control error: WebSocketError(Tls(Native(Ssl(Error { code: ErrorCode(5), cause: Some(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })) }, X509VerifyResult { code: 0, error: "ok" })))). Retrying in 5 seconds.

The error is now resolved when you access it after a while.
The cause of this error is unknown.

worked for a short period of time, but it is still broken

ERROR tunnelto > Control error: WebSocketError(Protocol(ResetWithoutClosingHandshake)). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Protocol(ResetWithoutClosingHandshake)). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Http(Response { status: 502, version: HTTP/1.1, headers: {"server": "Fly/b2c77cc8 (2022-07-31)", "via": "1.1 fly.io", "fly-request-id": "01G9CNVDE90TZF128RRNYG4M74-ams", "content-length": "0", "date": "Mon, 01 Aug 2022 12:24:49 GMT"}, body: None })). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Http(Response { status: 502, version: HTTP/1.1, headers: {"server": "Fly/b2c77cc8 (2022-07-31)", "via": "1.1 fly.io", "fly-request-id": "01G9CNVKFS5CDKR7WENPQ5MCAH-ams", "content-length": "0", "date": "Mon, 01 Aug 2022 12:25:09 GMT"}, body: None })). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Http(Response { status: 502, version: HTTP/1.1, headers: {"server": "Fly/b2c77cc8 (2022-07-31)", "via": "1.1 fly.io", "fly-request-id": "01G9CNW6P8707QSXEJFBKHAV8R-ams", "content-length": "0", "date": "Mon, 01 Aug 2022 12:25:25 GMT"}, body: None })). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Protocol(ResetWithoutClosingHandshake)). Retrying in 5 seconds.

Still not working for me either. I've not gotten a response from the Twitter account or the email I sent to support so I'm canceling my account and self-hosting.

Still getting errors...

commented

Just started getting this error this morning. Also had some odd loading issues prior where it'd take minutes to load pages that took seconds just days ago.

Same issue for me.
anyone found a solution for this issue?

ERROR tunnelto > Control error: WebSocketError(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })). Retrying in 5 seconds.
ERROR tunnelto > Control error: WebSocketError(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })). Retrying in 5 seconds.

I'm getting this issue as well.

ERROR tunnelto > Control error: WebSocketError(Io(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" })). Retrying in 5 seconds.

I'm getting "An existing connection was forcibly closed by the remote host."

ERROR tunnelto > Control error: WebSocketError(Tls(Native(Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." }))). Retrying in 5 seconds.

Hi.
I'm getting same issue. After I ran tunnelto command, I got the following error message.

 ERROR tunnelto > Control error: WebSocketError(Tls(Native(Error { code: -9806, message: "connection closed via error" }))). Retrying in 5 seconds.

I ran the tunneldev command again today.
As a result, I confirmed that the following problems reported yesterday did not occur and the tunneldev command was executed successfully.

ERROR tunnelto > Control error: WebSocketError(Tls(Native(Error { code: -9806, message: "connection closed via error" }))). Retrying in 5 seconds.

I ran a tunnel and I no longer get the error.