ngrok / ngrok-python

Embed ngrok secure ingress into your Python apps with a single line of code.
https://ngrok.com
Apache License 2.0
103 stars 19 forks source link

Ngrok Tunnel from Google Colab not working #103

Closed claudineisbezerra closed 1 week ago

claudineisbezerra commented 3 months ago

Hi everyone, I'm just getting started with Google Colab and NGrok to test an application, and I'm using a basic Flask example.

I've initiated a tunnel using an auth token, and when I visit https://dashboard.ngrok.com/tunnels/agents, I can see that the tunnel has started successfully. It looks like ngrok and pyngrok are doing what they're supposed to do.

It seems like there might be some issue with the origin of Colab being blocked and it's not possible to access the expose URL. Does anyone have a simple working example they could share with me?

This is the content of the Cells created at Google Colab:

CELL1

Cell1

CELL2

Cell2

salilsub commented 2 weeks ago

HI @claudineisbezerra pyngrok is not an officially supported integration with ngrok, there is an official python SDK which I would recommend using.

CK-Ward commented 1 week ago

Hi @claudineisbezerra , closing this out per Salil's recommendation to use our supported Python SDK — please reach out if you have any questions with the SDK. Thank you!