Giter VIP home page Giter VIP logo

hypertunnel's Issues

SSL support

First - thanks for new great tool!
I've been searching for an alternative to localtunnel/ngrok/beame.io for a long time and now here is one :)
But now it lacks only one feature - HTTPS support. As far as I remember, some web services require HTTPS on webhook URL. Do you have any plans for this?
(I do not know Node.js so I'm not sure if I may help with that but will do whatever is needed).

[server] TypeError domain.enter is not a function

Error:

root@myserver:/# hypertunnel-server -p 3000 -t test --domain mydomain.test  
(node:49) UnhandledPromiseRejectionWarning: TypeError: domain.enter is not a function
    at Command.emit (events.js:199:12)
    at Command.parseOptions (/usr/local/lib/node_modules/hypertunnel-server/node_modules/commander/index.js:739:14)
    at Command.parse (/usr/local/lib/node_modules/hypertunnel-server/node_modules/commander/index.js:471:21)
    at Module.module.exports (/usr/local/lib/node_modules/hypertunnel-server/cli.js:15:6)
    at Object.<anonymous> (/usr/local/lib/node_modules/hypertunnel-server/cli.js:33:8)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
(node:49) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:49) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Node: v8.16.0

hypertunnel-server --version outputs the same:

root@631af25ebee2:/# hypertunnel-server --version
(node:56) UnhandledPromiseRejectionWarning: TypeError: domain.enter is not a function
    at Command.emit (events.js:199:12)
    at Command.parseOptions (/usr/local/lib/node_modules/hypertunnel-server/node_modules/commander/index.js:742:14)
    at Command.parse (/usr/local/lib/node_modules/hypertunnel-server/node_modules/commander/index.js:471:21)
    at Module.module.exports (/usr/local/lib/node_modules/hypertunnel-server/cli.js:15:6)
    at Object.<anonymous> (/usr/local/lib/node_modules/hypertunnel-server/cli.js:33:8)
    at Module._compile (module.js:653:30)
    at Object.Module._extensions..js (module.js:664:10)
    at Module.load (module.js:566:32)
    at tryModuleLoad (module.js:506:12)
    at Function.Module._load (module.js:498:3)
(node:56) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:56) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ETIMEDOUT hypertunnel.ga

Seems to be down ?

> npx hypertunnel --port 4040

      An unexpected error occured.

      Please report this issue at: https://github.com/berstend/hypertunnel/issues

{ RequestError: connect ETIMEDOUT 195.20.53.124:443
    at ClientRequest.req.once.err (/usr/local/lib/node_modules/hypertunnel/node_modules/got/index.js:182:22)
    at Object.onceWrapper (events.js:285:13)
    at ClientRequest.emit (events.js:197:13)
    at TLSSocket.socketErrorListener (_http_client.js:397:9)
    at TLSSocket.emit (events.js:197:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at processTicksAndRejections (internal/process/next_tick.js:76:17)
  name: 'RequestError',
  code: 'ETIMEDOUT',
  host: 'hypertunnel.ga',
  hostname: 'hypertunnel.ga',
  method: 'POST',
  path: '/create',
  protocol: 'https:',
  url: 'https://hypertunnel.ga/create' }

hypertunnel-server with docker behind jwilder/nginx-proxy

Hello,

does anyone have an idea how to run hypertunnel-server in a container behind nginx-proxy?

The registration works so far. However, then the ports are opened and these must then be made known nginx-proxy somehow ...

Thanks

Christian

An unexpected error occured.

i tried:
npx hypertunnel -p 4040

response:

An unexpected error occured.

Please report this issue at: https://github.com/berstend/hypertunnel/issues

{ RequestError: connect ECONNREFUSED 159.69.23.189:443
    at ClientRequest.req.once.err (/usr/local/lib/node_modules/hypertunnel/node_modules/got/index.js:182:22)
    at Object.onceWrapper (events.js:315:30)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at TLSSocket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at TLSSocket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
  name: 'RequestError',
  code: 'ECONNREFUSED',
  host: 'hypertunnel.ga',
  hostname: 'hypertunnel.ga',
  method: 'POST',
  path: '/create',
  protocol: 'https:',
  url: 'https://hypertunnel.ga/create' }

Binding on Priviledged Ports

hypertunnel --port 31001 -i 1025 -t TOKEN -s SERVER_NAME will properly bind on port 1025

hypertunnel --port 31001 -i 1023 -t TOKEN -s SERVER_NAME will properly bind on a non-priviledged port

Is this an expected outcome or is there an additional flag to make this work? I am running under docker in root mode.

Doesnt work.

hypertunnel doesnt seem to work.
image
isnt it supposed to give some sort of feedback?
like an ip or url to connect to?

configure interface for server to listen on

I'm thinking of trying to use this to expose docker services in a swarm on different ip addresses on the host (something docker won't do in swarm mode) I think this would mean having to configure the ip address the hypertunnel server is on - so I could run one server per ip address. Do you think it would be possible to make it do this?

error

GotError [RequestError]: getaddrinfo ENOTFOUND hypertunnel.ga
    at ClientRequest.<anonymous> (%appdata%\npm\node_modules\hypertunnel\node_modules\got\index.js:182:22)
    at Object.onceWrapper (node:events:628:26)
    at ClientRequest.emit (node:events:513:28)
    at TLSSocket.socketErrorListener (node:_http_client:494:9)
    at TLSSocket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ENOTFOUND',
  host: 'hypertunnel.ga',
  hostname: 'hypertunnel.ga',
  method: 'POST',
  path: '/create',
  protocol: 'https:',
  url: 'https://hypertunnel.ga/create'
}```

Server Down / Slow

So I wanted to tunnel my local arch Linux pc however when I tried to run the command there was no STDOUT so after looking through existing issues I noticed that it was saying that the server was down so I tried to ping the server and it sent back a response but when visiting it on firefox its super slow so when will the server be back up and running again?

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.