-
Notifications
You must be signed in to change notification settings - Fork 964
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
Unknown Error - 502 status code from client #13
Comments
I am having the same issue. Does this mean LocalTunnel server cannot be hosted at a subdomain? Or did you just change the hostname? |
The problem still exists when using browser-sync. Details: _header: 'GET /?new HTTP/1.1\r\nhost: localtunnel.me\r\ncontent-type: application/json\r\naccept: application/json\r\nConnection: keep-alive\r\n\r\n' returns body: '<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.7.8</center>\r\n</body>\r\n</html>\r\n' } Reason: |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've read through issue #8 and I have realized that I am facing a similar problem even though I am using the lt syntax as per your instruction.
i.e. I am running the server at port 2530 by the following
DEBUG=localtunnel* ./server --port 2530
and I run the client by the following
lt --host "http://sub.example.org:2530" --port 2350 --subdomain testreq
At the client end I've added a long stack traces lib (https://github.com/mattinsler/longjohn) and the error I get there is the following:
while, at the server, all I get is the following:
Any thoughts?
Update:
After changing the hostname and DNS settings by removing the subdomain(e.g. change http://sub.example.com to http://example.com) I finally got it to work!
The text was updated successfully, but these errors were encountered: