Comments (10)
I'm having the same issues with websocket connections when trying to run a code-server instance. The issue doesn't happen when issue ngrock or localtunnel alternatives.
from tunnelto.
Similar/same issue. I guess we are all using Hasura/GraphQL subscriptions over websockets? For unknown reasons, a websocket connection can not be established.
from tunnelto.
Yes, it's Hasura subscriptions.
from tunnelto.
I'm also seeing similar issues when trying to expose a Guacamole console (https://guacamole.apache.org/). This works using localtunnel
, but I preferred this implementation as (a) it is in Rust and (b) it has the potential to scale out.
I assume tunnelto
is meant to support websockets?
from tunnelto.
Hi -- we do support web sockets, though it seems like something is not working with hasura/guacamole. For example, this web socket example works just fine from my testing: https://github.com/gorilla/websocket/tree/master/examples/chat (note: adjust ws
to wss
in the html).
Can someone share a simple to replicate example?
from tunnelto.
Hi: I rewrote a bit of the local tcp forwarding logic which I think might solve some of these more complex cases.
Would someone be able to try a latest version to see if this fixes it for them?
cargo install tunnelto --force --version 0.1.19
(note 0.1.19 is not pushed to brew just yet)
Thanks!
edit: it's really easy to get cargo if you don't have it, https://rustup.rs
from tunnelto.
0.1.19 fixed my issue loading wss urls
from tunnelto.
Hi @agrinman, I too have issues with use of WebSockets and would like to try this 0.1.19 version. I'm using Homebrew on macOS. However, I can't find version 0.1.19 anywhere on GitHub or in Homebrew. Any pointers as to how I can get this version or fix the issue in another way?
from tunnelto.
@jvalteren was having this issue and found this page as a result.
I'm on a Mac and was also using the Homebrew version.
cargo install tunnelto --force --version 0.1.19
(I have rust
installed via Homebrew)
You do need to either uninstall the Homebrew version or make sure you're using the full path to the v0.1.19 one, e.g.:
/Users/cwspear/.cargo/bin/tunnelto --port 8080
All that said, I get a different error when using 0.1.19:
CONNECTION REFUSED
ERROR tunnelto > failed to open local tunnel
ERROR tunnelto > got data but no stream to send it to.
ERROR tunnelto::local > failed to connect to local service: Connection refused (os error 61)
It doesn't work at all, so it's worse off than 0.1.18 :(
from tunnelto.
Thanks @CWSpear.
@agrinman what is the status of the rewritten local TCP forwarding logic? Any chance of pushing this to Homebrew?
from tunnelto.
Related Issues (20)
- tunnelto --port 57583(SSL) --subdomain deksss
- WebSocketError HOT 14
- Permissions on key.token should be restricted
- Consider storing the key in the system keychain
- Random performance, sometimes works fine, most of the time slow and tunnel issues HOT 1
- An existing connection was forcibly closed by the remote host. HOT 2
- WebSocketError HandshakeIncomplete HOT 2
- Socket hang up HOT 1
- got data but no stream to send it to HOT 1
- --scheme flag not working
- Tunnelto terminal doesn't work in windows HOT 2
- Support nested subdomains
- Support overriding `key.token` file location
- Ability to use multiple auth keys
- Upgrade to libssl3? - libssl.so.1.1: cannot open shared object file: No such file or directory
- Is 2$ fee per custom domain or per user? HOT 1
- arm binaries? HOT 5
- [FEATURE REQUEST] CLI flag to disable local certificate verification
- Cannot replay request via Request Inspector
- Vite dev fails with tunnelto (but vite preview works) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tunnelto.