Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Colab: Unable to access webpage using flask-ngrok #28

Open
krypticmouse opened this issue Dec 14, 2021 · 2 comments
Open

Colab: Unable to access webpage using flask-ngrok #28

krypticmouse opened this issue Dec 14, 2021 · 2 comments

Comments

@krypticmouse
Copy link

I'm trying to run flask application on colab but I keep seeing the following when I go to the tunneled page:-

image

Code:-

# flask_ngrok_example.py
from flask import Flask
from flask_ngrok import run_with_ngrok

app = Flask(__name__)
run_with_ngrok(app)  # Start ngrok when app is run

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == '__main__':
    app.run()
@educamargob
Copy link

I have the same problem, we need to put the authtoken into the configuration file of the ngrok, but i dont know how, because we don't have the acess of this file.

@li870316
Copy link

#6 (comment)

I used this issuecomment and solved this problem.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants