Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

api/tunnels returns empty response when using auth #48

Open
BennySitbon opened this issue Feb 11, 2020 · 1 comment
Open

api/tunnels returns empty response when using auth #48

BennySitbon opened this issue Feb 11, 2020 · 1 comment

Comments

@BennySitbon
Copy link

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
Copy link

dmaizel commented Mar 3, 2022

Were you able to resolve this issue?

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

No branches or pull requests

2 participants