Comments (4)
Have you looked in the javascript console for any errors?
I'd hazard a guess that you've not changed the wsProxyURL from localhost to the address where wsProxy is hosted: https://github.com/stuicey/SSHy/blob/master/index.html#L9 . Note; this is in relation to your local web browser.
from sshy.
Hey, im also stuck there
(index):222 WebSocket connection to 'ws://192.168.3.143:5999/' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT startSSHy @ (index):222 onclick @ (index):464 (anonymous) @ (index):55 combinedLibs.comb.js:338 Uncaught TypeError: Cannot read property 'auth' of undefined at m (combinedLibs.comb.js:338) at d.a.fit (combinedLibs.comb.js:338) at termInit ((index):285) at WebSocket.ws.onclose ((index):257) m @ combinedLibs.comb.js:338 a.fit @ combinedLibs.comb.js:338 termInit @ (index):285 ws.onclose @ (index):257
from sshy.
Is the websocket proxy available from the machine you're connecting from? The connection timing out would suggest theres no route available or its getting dropped by a firewall rule.
from sshy.
EDIT: I have just installed wsProxy and it's running, but I still get stucj on 'connecting...'
Which version of wsProxy? I found that the one from npm repositories (npm i -g wsproxy
) didn't work. Looking at tcpdump, the exchange got as far as
SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
and then hung. After uninstalling this, and installing the one which is a git submodule of the SSHy repository, it worked. Instructions are here.
I think it would be helpful though if on error conditions, SSHy could display a message and stop the spinner. Otherwise it just looks like it has hung.
Aside: I couldn't get SSHy to work with websockify. SSHy asks for the "base64" websockets protocol, while websockify now only implements the "binary" websockets protocol.
from sshy.
Related Issues (20)
- Question and Possible bug. HOT 4
- Question: SSHy as angular/vue component?
- Keeps loading without connecting - wsproxy problem HOT 1
- can we have a ssh client that needs to creds
- Is there any way to include user name in wrapper.html? HOT 2
- Question: Predefined commands? HOT 2
- Support for binary websockets HOT 3
- Better error handling
- Error connecting to Debian / OpenSSH 7.4 HOT 6
- DOMException: Failed to execute 'atob' on 'Window' HOT 1
- Unable to closure-compile or connect HOT 1
- Safari support
- Really dumb question
- Stopped working with latest browsers HOT 28
- Can't send return key in latest Chrome 90.0.4430.93 HOT 1
- Failed to execute 'atob' on 'Window'
- Latest Chrome Update broke user return HOT 2
- WebSocket connection failed: Error in connection establishment: code 1005 HOT 2
- Invalid Signature Using Public Key Auth
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 sshy.