dev-tunnels: Persistent Dev Tunnel Stops Responding

I’ve been trying out Dev Tunnels as a replacement for ngrok but I’ve run into a problem that persistent tunnels work fine for hours but stop responding after a while. I’m not sure what triggers this, it could be a hibernate/resume on my dev machine, could be that the tunnel is idle overnight, might be something else altogether. The current tunnel I’m trying is at https://zllwmpxn-7190.usw3.devtunnels.ms/, the simplest way to test is just browse to it but if I do that it times out. The DNS entry looks ok:

C:\>nslookup zllwmpxn-7190.usw3.devtunnels.ms
Server:  Linksys05100
Address:  192.168.7.1

Non-authoritative answer:
Name:    tunnels-prod-rel-usw3-v3-cluster.westus3.cloudapp.azure.com
Address:  20.125.70.28
Aliases:  zllwmpxn-7190.usw3.devtunnels.ms
          tunnels-prod-rel-usw3-live-tm.trafficmanager.net
          v3-usw3.cluster.rel.tunnels.api.visualstudio.com

The tunnel inspection URI works but shows no traffic. It’s a public persistent tunnel (see image), but for security I’ll recreate it once this problem is resolved.

devtunnel

The tunnel was created using Visual Studio and I am new to this so I may be missing something obvious.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

Closing the thread as topics were discussed. @plppp2001 if you are still seeing an issue related to dev tunnels or the CLI, please file a new issue.

Do you have an idea of how many hours the tunnel is running for? Are you able to try the devtunnel CLI? Does the issue reproduce with that?

devtunnel create mytunnel
devtunnel port create mytunnel -p PORT
devtunnel access create mytunnel -p PORT --anonymous
devtunnel host mytunnel

Docs links: