wernight / docker-ngrok

An Ngrok v2 container based on wizardapps/ngrok and fnichol/ngrok
https://hub.docker.com/r/wernight/ngrok/
MIT License
456 stars 143 forks source link

api/tunnels returns empty response when using auth #48

Open BennySitbon opened 4 years ago

BennySitbon commented 4 years ago

Seems like there's an issue with the api responses when using an auth token. I've tested the setup once with and once without an config file, and if the auth is in the config file, the api response returns empty. The issue doesnt exist when using the non-docker version of ngrok. Steps to reproduce:

  1. docker run --rm -it -p 4040:4040 -v ${HOME}/.ngrok2/ngrok.yml:/ngrok_auth.yml:ro --name www_ngrok wernight/ngrok ngrok http -config=/ngrok_auth.yml 3000
  2. curl $(docker port www_ngrok 4040)/api/tunnels Expected: To have a response with the tunnel listed Actual result: curl: (52) Empty reply from server
dmaizel commented 2 years ago

Were you able to resolve this issue?