abhishekkrthakur / colabcode

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks
MIT License
2.06k stars 275 forks source link

ngrok requires registration #98

Closed joeleonard212 closed 2 years ago

joeleonard212 commented 2 years ago

Hi there, I was happily using ColabCode 'till yesterday

Today this show up

Screenshot_20211208_012346

Someone knows some workaround ? I tried to put the ngrok.yml file with my authcode in the VM hosting the Colab but it doesnt seem to work

joeleonard212 commented 2 years ago

OK in the ColabCode's code, just found out the authtoken parameter

Sorry for the useless question, the description in the home was not very complete about this :)

Thanks

finquick commented 2 years ago

I meet the same problem, what should I do? what's wrong with it?

finquick commented 2 years ago

I see! just goto the site by link, and get Your Authtoken, then before ColabCode(port=8888, mount_drive=True) run command :ngrok authtoken ** in colab!

joeleonard212 commented 2 years ago

you can actually just add a parameter in the class:

ColabCode(port=1010, mount_drive=True, authcode='{yourauthcodehere}'

yucongo commented 2 years ago

I think this issue shouldn't be closed. In fact, this should be in readme.md?

m-ali-awan commented 2 years ago

Thanks for the solution.

akuz0 commented 2 years ago

you can actually just add a parameter in the class:

ColabCode(port=1010, mount_drive=True, authcode='{yourauthcodehere}'

For me solution, use authtoken ColabCode(port=1010, authtoken='key')