alexdlaird / pyngrok

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

How to start all tunnels defined in own ngrok config? #101

Closed leond08 closed 2 years ago

leond08 commented 2 years ago

How to start all tunnels using ngrok.connect()?

I specify to tunnels on my config file, http and tcp?

When i run ngrok.connect() only http show on ngrok dashboard

sample ngrok

authtoken: jdkfdjk log_level: info region: ap tunnels: app: addr: 5000 proto: http ssh: addr: 22 proto: tcp

But using ngrok binary:

ngrok start --all --config=/custom-ngrok.yaml works.

I don't know why ngrok.connect() doesn't work

github-actions[bot] commented 2 years 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.

leond08 commented 2 years ago

But using ngrok binary:

ngrok start --all --config=/custom-ngrok.yaml works.

I don't know why ngrok.connect() doesn't work