Skip to content

NGROK_AUTH not working #65

@pak1989

Description

@pak1989

I am trying to run a ngrok container using tcp protocol to connet to a docker db running in another container.
I noticed that after running the container the status was exited and running "docker logs containerId" gave me the alert that I needed the auth key.
So I run again with NGROK_AUTH env var but the result is the same, looks like he is not using the variable.

$ docker ps
CONTAINER ID   IMAGE                                       COMMAND                  CREATED      STATUS                       PORTS                                                 NAMES
66380598a02f   nginx                                       "/docker-entrypoint.…"   2 days ago   Up About an hour             0.0.0.0:49153->80/tcp, :::49153->80/tcp               www
89307e3e25e9   store/oracle/database-enterprise:12.2.0.1   "/bin/sh -c '/bin/ba…"   2 days ago   Up About an hour (healthy)   0.0.0.0:1521->1521/tcp, :::1521->1521/tcp, 5500/tcp   oracle12c

$ docker run -d -p 4040:4040 --net pkngroknet --name ngrok -e NGROK_PROTOCOL="TCP" -e NGROK_AUTH="<myKey>" wernight/ngrok ngrok tcp oracle12c:1521
b0736fdde39e8fced75ea525cd7bb634f083039d4383cb782da9c2ce4557c70f

$ docker logs b0736fdde39e
TCP tunnels are only available after you sign up.
Sign up at: https://dashboard.ngrok.com/signup

If you have already signed up, make sure your authtoken is installed.
Your authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken

ERR_NGROK_302

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions