Server connection problem on a blazor site

SaeedP

Well-known member
Joined
Oct 21, 2020
Messages
116
Programming Experience
3-5
Hi

I have made this app in blazor:

Index

Occasionally, I encounter this error: "Attempting to connect to the server."

Do you know how to solve it?

regards,

Saeed
 
On a Blazor server app that normally indicates that the user's connection to the server (which must be permanent and active/responsive) died and is being reconnected
 
As @cjard noted above, this is a hardware/configuration problem, not a programming problem.

You'll need to make sure that the server is configured to not terminate your web app when it is idle.

You'll need to make sure that you have a good network connection with nothing interfering with the data flowing between the server and the web browser. That might be difficult in your situation being in Iran, given the way your government does filtering of data packets. And even if you used a VPN, the VPN itself is also playing games with the data packets that might be beyond your control.
 
Back
Top Bottom