Giter VIP home page Giter VIP logo

Comments (4)

stuicey avatar stuicey commented on June 6, 2024

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.

Relix360 avatar Relix360 commented on June 6, 2024

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.

stuicey avatar stuicey commented on June 6, 2024

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.

candlerb avatar candlerb commented on June 6, 2024

@dinosmm:

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.