Giter Site home page Giter Site logo

Comments (4)

thgh avatar thgh commented on June 10, 2024

Hmm, I have had a similar issue. It's related to websocket support. There is a case where a websocket errors or times out and that error code number is not valid when replaying it on localhost. There is no way to trigger a "fake websocket error".

I think 1006 is the problematic error code, but maybe there are others?
https://github.com/thgh/tunnelmole-client/blob/4af0c873e4e9b700db601e4b6d8b6db64f1f98ca/message-handlers.ts#L28

The ws package uses this function:
https://github.com/websockets/ws/blob/d8dd4852b81982fc0a6d633673968dff90985000/lib/validation.js#L35-L44

from tunnelmole-client.

WisdomSky avatar WisdomSky commented on June 10, 2024

just to add, my tunnel mole server is proxied by nginx-proxy-manager. and also enabled web socket support option in the host:

image

so I'm not sure if nginx-proxy-manager is also part of the cause or not.

from tunnelmole-client.

WisdomSky avatar WisdomSky commented on June 10, 2024

@thgh can I ask if this is still a recurring issue? I'd like to give tunnel mole an another shot.

from tunnelmole-client.

robbie-cahill avatar robbie-cahill commented on June 10, 2024

@WisdomSky The main module for this project is at https://www.npmjs.com/package/tunnelmole. I would suggest changing to that one (npm install -g tunnelmole) and see if that resolves the issue.

from tunnelmole-client.

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.