inconshreveable / ngrok

Unified ingress for developers
https://ngrok.com
Other
24.12k stars 4.26k forks source link

ngrok status reconnecting issue failed to send authentication request: read tcp #931

Closed changeyoucant closed 4 months ago

changeyoucant commented 11 months ago

when i run ngrok ngrok http 5173 , end with error. reconnecting (failed to send authentication request: read tcp [2408:8221:811:d1c0:cd89:b675:d021:e3d8]:50980; image

when i run ngrok diagnose image Does anyone know it? i try ngrok http port --host-header="localhost:port" and ngrok http port --region=auto. doesnt work

changeyoucant commented 11 months ago

image

baoch254 commented 10 months ago

You can use docker to host ngrok. docker run -it -e NGROK_AUTHTOKEN=<Token> ngrok/ngrok:latest http host.docker.internal:80 It works for me!

Ref: https://ngrok.com/docs/using-ngrok-with/docker

Natraj1coder commented 4 months ago

I am also having same issue

LE-lingxue commented 4 months ago

Is there a solution?

russorat commented 4 months ago

Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.

This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.

russorat commented 3 months ago

Hi, in the original issue, the ngrok agent was not able to connect to any external services. If you are seeing a similar error, it usually means there is some sort of proxy or firewall software that is blocking connections from the agent software. I recommend checking with your system administrator or ISP to see if there is anything that might be blocking ngrok connections.

If you still have an issue, please open an issue or discussion in the https://github.com/ngrok/ngrok repo with the relevant details and we will take a look.