Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localtunnel server returned an error... #40

Closed
jShi-git opened this issue Dec 16, 2015 · 25 comments
Closed

localtunnel server returned an error... #40

jShi-git opened this issue Dec 16, 2015 · 25 comments

Comments

@jShi-git
Copy link

/usr/local/lib/node_modules/localtunnel/bin/client:48
        throw err;
        ^

Error: localtunnel server returned an error, please try again
    at Request._callback (/usr/local/lib/node_modules/localtunnel/lib/Tunnel.js:53:27)
    at Request.self.callback (/usr/local/lib/node_modules/localtunnel/node_modules/request/request.js:198:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/usr/local/lib/node_modules/localtunnel/node_modules/request/request.js:1082:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/localtunnel/node_modules/request/request.js:1009:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
@smoothdvd
Copy link

same error

@tomneedham
Copy link

I get this as well, any suggestions?

@tomneedham
Copy link

Seems like this is the issue #31 and this is a proposed solution: #50

@wenhongquan
Copy link

same

@AnushaPendyam
Copy link

C:\angular\intro-to-webdev-app-master\intro-to-webdev-app-master\app>lt --port 8080

C:\Users\anushap\AppData\Roaming\npm\node_modules\localtunnel\bin\client:48
throw err;
^

Error: localtunnel server returned an error, please try again
\AppData\Roaming\npm\node_modules\loca
ltunnel\lib\Tunnel.js:53:27)
at Request.self.callback (C:\Users\anushap\AppData\Roaming\npm\node_modules
localtunnel\node_modules\request\request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (C:\Users\anushap\AppData\Roaming\npm\node_modules\lo
caltunnel\node_modules\request\request.js:1081:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (C:\Users\anushap\AppData\Roaming\npm\node_mo
dules\localtunnel\node_modules\request\request.js:1001:12)
at IncomingMessage.g (events.js:286:16)
at emitNone (events.js:91:20)

@elevenpassin
Copy link

I get the same error too D:

@AnushaPendyam
Copy link

It's due to SSL certification error in the system

@elevenpassin
Copy link

@AnushaPendyam How to fix it?

@AnushaPendyam
Copy link

Check if there are any security privileges for the system and try to update SSL certificate.Due to security privileges I'm not suppose to update SSL certificates in the office PC so I did not fix it in the same system. when I did it in my Personal PC it's working fine without any errors
untitled
.

@dingjb
Copy link

dingjb commented Sep 15, 2017

I got the same error too,

At first i clone the repository into my local, when i run npm install, i get an error about node-gyp build or utf-8-validate, i find this was gcc version wrong, so i update gcc version,

# gcc 5.2
yum install centos-release-scl
yum install devtoolset-4-toolchain
scl enable devtoolset-4 bash
gcc --version

then i run command npm install correctly has no error。

And next, i found is also has this error localtunnel server returned an error,
then i found it was my nginx config error,you can checkout to branch error-handle
and then will find a directory called devops, then you get nginx config and host config,
in my case , i was config error location node,

image

ok , you will get your own url, everything ok ?

when i connected my localtunnel server , i found it's auto close after a few seconds in my server command line output。
if you find this error, you should check you iptables,
when i run service iptables stop, it's work fine~~

Good luck!!!

if u use docker, maybe you do not worry about these things~

@ForsakenHarmony
Copy link

I'm using docker with traefik, same error

@mababio
Copy link

mababio commented Nov 13, 2017

This is still an issue? I currently debugging. I can see a bad return code was returned. It was a 502 error code.

@mababio
Copy link

mababio commented Nov 13, 2017

Okay, I took a look at other reported issue and it seems the localtunnel.me is down. Not sure if the unreliability and the reported error message are related

@ladykate17
Copy link

@mababio Having the same issue, issues just starting this morning for me.

@mababio
Copy link

mababio commented Nov 13, 2017

@ladykate17 It's the first time I'm using localtunnel. It worked in the past for you?

@ladykate17
Copy link

@mababio Newer to it as well, but it was working great the last couple weeks I've been using it. I've heard from coworkers it can be unreliable at times. If I find anything I'll try to post back here.

@mababio
Copy link

mababio commented Nov 13, 2017

@ladykate17 Thanks for the for info! Also your website and resume is groovy
@defunctzombie I didn't get a chance to use your awesome tool, but thanks for all the effort you put into this open source tool.

@laloumen
Copy link

This was working for me on Friday but today is not. So, localtunnel.me is down and there is no workaround or anything?

@samrod
Copy link

samrod commented Nov 13, 2017

Yup same herer. Was working Friday and it's now down for me too folks with the same error.

@ladykate17
Copy link

ladykate17 commented Nov 13, 2017

It's an ongoing issue - localtunnel/localtunnel#123 (comment) I suppose the solution is find another node wrapper to use for the time being.

New issue has been opened here if you want to follow the progress:
localtunnel/localtunnel#198
localtunnel/localtunnel#199

@samrod
Copy link

samrod commented Nov 13, 2017

Alright, it's back up. I guess localtunnel.me was just down. Are there either fallback or alternative servers available for such cases?

@damianobarbati
Copy link

Error: localtunnel server returned an error, please try again @@

@William-An
Copy link

#69 is also about this error. It is probably due to the use of subdomain like sub.example.com as host.

@defunctzombie
Copy link
Contributor

It is unclear to me if there is a specific issue here with localtunnel server or if the issue is a connectivity or general uptime one. I am going to close this since I think the core of this issue is just localtunnel.me uptime but if there is a specific reproducible case with the server logic please open a new issue with steps to reproduce.

@ForsakenHarmony
Copy link

this happens all of the time with self hosted servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests