ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

connection reset by peer

Open liuadmin opened this issue 7 years ago • 13 comments

Failed to read message: read tcp 172.16.253.243:4443->183.129.165.161:63311: read: connection reset by peer

liuadmin avatar Feb 26 '18 05:02 liuadmin

I have the same problem

Ezreal147 avatar Apr 25 '18 16:04 Ezreal147

I have the same! Any solution anyone?

letitfly avatar Jul 28 '18 06:07 letitfly

+1

liaolunhui avatar Sep 13 '18 05:09 liaolunhui

I've seen this in the wild. Are y'all behind a corporate firewall, by any chance? Not sure if that's it, but it's a theory.

dprothero avatar Feb 13 '19 23:02 dprothero

me too

jsRuner avatar Apr 05 '19 00:04 jsRuner

Same here. How you guys fixed it?

rafaelbpa avatar Aug 23 '19 17:08 rafaelbpa

Any update on the same ?

akkijadhav123 avatar Nov 18 '19 08:11 akkijadhav123

I was behind a corporate firewall and writing Go code with the http package and running into this problem. It seemed to be a problem with the Go http package and I switched to resty and the problem gone.

3tbraden avatar Nov 19 '19 16:11 3tbraden

I have the same.

msuno avatar Feb 29 '20 12:02 msuno

yuquant avatar Oct 29 '20 11:10 yuquant

me too!

wuyungang3 avatar Oct 14 '21 06:10 wuyungang3

how to fix it,anybody can help me ?

wuyungang3 avatar Oct 14 '21 06:10 wuyungang3

For what it's worth, I was having this issue too and I figured it out. Probably because of some kind of firewall device-obscurity rule that's setup in my local network, when both the Ngrok device and another device are connected by Ethernet, this breaks it for all devices that try to connect, regardless of whether they're in the same network or not.

In other words, I have Ngrok set up on a Linux machine. It's hard-wired in via Ethernet. Then I have a Mac that tries to connect to the Linux via Ngrok. It doesn't work if the Mac is on the same Ethernet network. If I unplug the Mac and go to WiFi, then it works. If the Mac is plugged in, then any other devices that try to connect likewise will fail. Once I unplug the Mac from Ethernet, it works on those external devices as well.

I'm pretty weak on my networking skills and this blows my mind. Just posting this here in case it helps any of you.

martynchamberlin avatar Dec 21 '21 18:12 martynchamberlin

hi,@liuadmin,did you fixed it ??, i had same err in my server.

karoenven avatar Aug 16 '23 02:08 karoenven

@karoenven no,I used other software to replace it, it's nps , url is : https://github.com/ehang-io/nps

liuadmin avatar Aug 22 '23 07:08 liuadmin

We can replace it with other software, https://github.com/ehang-io/nps

liuadmin avatar Aug 22 '23 07:08 liuadmin