In my dashboard I have few input to query SQL data or remote services and luckily I have faced this issue (rare) even after keeping my page idle for hours. in such case if I refresh the page web socket connection is reestablish and it works fine.
I never used Nav Links so created a sample page to check the issue you mention. In below example, you are able to access NavLink1 but fail to navigate to NavLink2? right. If it something else can you share a code to reproduce this issue.
I am on 2.6.2 I am able to navigate to all subsequent NavLinks.
Oops. I spoke too soon. Just returned to the dashboard click a link and got the error returned after adding the following 2 nav links. It doesn’t always happen consistently so you’ll have to try the links I added multiple times.
Modified your example as follows:
Top line of code:
Import-Module -Name UniversalDashboard.Community -RequiredVersion 2.6.2
Im getting an error after the dashboard is ideal for like an hour and then when i click on something im getting the error, the dashboard is hosting on azure
I experience the same issue - Dashboard is idle for a bit then I click anything and get the “Cannot send data if the connection is not in the ‘Connected’ State” error - But when I refresh 90% of the time I am prompted to log back in.
Could this be your issue? session timeout requiring to log back in? Would be nice for UD to automatically kick you back to the login page if the session expires
I am not using Login Page but It could be a enhancement for users using Login page to prompt about page expire. If there is some timeout set and is not related to the bug @AlonGvili mentioned.