KoboldAI / KoboldAI-Client

For GGUF support, see KoboldCPP: https://github.com/LostRuins/koboldcpp
https://koboldai.com
GNU Affero General Public License v3.0
3.46k stars 747 forks source link

Colab/Localtunnel/Official - instance's public IP required to access webpage when routing through Localtunnel #335

Open AluminumAlman opened 1 year ago

AluminumAlman commented 1 year ago

https://github.com/localtunnel/localtunnel/issues/598

The easiest fix I've found was to include a (Python) code node and run it before using Localtunnel: import subprocess print(subprocess.getoutput("curl ifconfig.me"))

This gets the public IP of the Colab instance, which can then be used as the "password" to access KoboldAI's frontend.

TheBoroer commented 1 year ago

you can use curl ipv4.icanhazip.com instead of ifconfig.me, it'll return just the IP in plain text (no other info)

syenirasheila commented 1 year ago

Thank you so much, you definitely saved my life!

AluminumAlman commented 1 year ago

Appears to be fixed, as the Colab prints the IP address under: MESSAGE | The Public IP of this machine is : *.*.*.*

AluminumAlman commented 1 year ago

Reopened because only United has implemented a fix for this.