Do Dev Tunnels Have an HTTP Timeout Issue?

Tony Pitman 76 Reputation points
2025-01-17T14:50:58.46+00:00

Using a dev tunnel to connect a Mac client app to an ASP.NET service running on a PC has raised a timeout issue.

One API call takes about 70 seconds to complete, but when the client runs on the Mac via the dev tunnel, an HTTP timeout occurs after 60 seconds. Although the server method completes successfully 10 seconds later, the client disconnects due to the timeout.

In testing, running the client on Windows without the dev tunnel and connecting directly to localhost allows it to wait for the full 70 seconds and receive the successful result.

If the client is run on Windows using the dev tunnel instead of connecting directly to localhost on the dev PC, it also times out after 60 seconds, similar to running the client on the Mac.

It appears that the dev tunnel is causing the timeout at 60 seconds.

Unfortunately I don't have a good way to make the process take less time.

Is there a way to resolve this timeout issue?

ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
367 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.