ngrok-python icon indicating copy to clipboard operation
ngrok-python copied to clipboard

[Question] Is ngrok / pyngrok still not valid in google colab enviroment?

Open timtensor opened this issue 1 year ago • 4 comments

I tried the colab notebook to use google colab together with my vscode environment. Is it still banned because i failed to connect it to the notebook machine.

timtensor avatar Mar 03 '24 21:03 timtensor

Hi @timtensor . Colab is not blocked on our end, could you share some additional detail about what you are trying to do and what kinds of errors/issues you are running into?

salilsub avatar Mar 04 '24 16:03 salilsub

Actually i was trying to run vscode via pyngrok to run my local code in remote server. Everytime pyngrok runs, colab mentions that is not permitted and gets disconnected.

timtensor avatar Mar 05 '24 13:03 timtensor

Is there a way to run vscode remotely on ngrok ?

timtensor avatar Mar 05 '24 13:03 timtensor

Hi @timtensor apologies for the delayed response. So pyngrok is not an officially supported ngrok library, for that we recommend ngrok-python. However, pyngrok is using our agent under the hood, so there are a few things that could be happening:

  • We require that you have a valid authtoken to connect to ngrok. In the past you could connect without authenticating so this could be a reason.
  • We have an agent version support policy for free accounts. Pyngrok installs a very old version of ngrok by default. You might need to upgrade to a more recent version to make it work.

With respect to using VSCode and ngrok, we have a guide

salilsub avatar Jun 18 '24 18:06 salilsub

@timtensor thanks for the issue. I'm going to close this as stale. if you are still having issues with running in colab, please open a new issue with updated details.

russorat avatar Aug 26 '24 22:08 russorat