localtunnel / localtunnel

expose yourself
https://localtunnel.me
MIT License
18.88k stars 1.32k forks source link

Localtunnel not working in google colab #602

Open iceka opened 1 year ago

iceka commented 1 year ago

I'm trying to run localtunnel with google colab, but the result is need to enter public ip address. i'm already enter the public ip address from !curl ipv4.icanhazip.com, but it turn out to be504 Gateway Time-out

TheBoroer commented 1 year ago

504 gateway timeout could mean your tunnel is taking forever to respond OR the public localtunnel server is having intermittent issues so try again a few minutes later.

lmk if you're still having issues, and please leave your tunnel up & share your lt subdomain so i can take a look

netrunner-exe commented 1 year ago

504 gateway timeout could mean your tunnel is taking forever to respond OR the public localtunnel server is having intermittent issues so try again a few minutes later.

lmk if you're still having issues, and please leave your tunnel up & share your lt subdomain so i can take a look

Hi @TheBoroer! I also encountered a problem with the localtunnel in Colab. Before, the biggest advantage of using localtunnel was that you could use a subdomain, and after the VM was disconnected after a while, you could reconnect to Colab, re-set the environment and use the already open tunnel, which even with a new VM could work after that. For example, I (maybe not only me) used this for Stable Diffusion Webui (before you added the tunnel link's password). Now it does not work, just a 504 error appears. Buying ngrok just for the fixed subdomain capability doesn't make sense to me. Too bad, localtunnel was really good and the only free alternative to ngrok for me. Maybe you can make some alternative way (maybe an account, or so that after entering the IP it works like before)? Thanks!