alexdlaird / pyngrok

A Python wrapper for ngrok
https://pyngrok.readthedocs.io
MIT License
416 stars 59 forks source link

Pyngrok ngrok ERR_NGROK_3200 #105

Closed cmsethi closed 1 year ago

cmsethi commented 1 year ago

from pyngrok import conf, ngrok conf.get_default().ngrok_version = "v3" conf.get_default().config_path = "\\config file path" tunnel = ngrok.connect(name="http-tunnel") #set in the global config file. print(tunnel)

this script prints the URL, but while accessing it in the Firefox browse, -gives an error 3200. but when i generate URL with the command line 'ngrok http 'port', the URL works *os windows 11, python 3.10, ngrok v3

alexdlaird commented 1 year ago

Assuming this is the entire script, you are not calling wait().

https://pyngrok.readthedocs.io/en/latest/index.html#the-ngrok-process

https://ngrok.com/docs/errors/err_ngrok_3200

github-actions[bot] commented 1 year ago

This is a bug tracker and not a support forum.

While we'd love to be able to support every person on their projects, that would simply be infeasible. Luckily, that's what the helpful developer community over at Stack Overflow is for! Please create a question there with the \"pyngrok\" tag if what you're looking for is a programming question or you need help with an integration. You can refer to pyngrok's own documentation to help you write the best possible question.