I have a button panel in a dashboard, if I have "Allow Websocket communication" enabled and then change the Advanced Layout parameter in my button panel table it doesn't show the update untill I manually refresh the dashboard.
However when I disable it and rely on the fast polling timer it does do the update after the timer expires.
Is there something I can check/test to see if websocket communication is blocked?
Would expect that with websocket communication that update is instant, or isn't that correct?
First of all, your expectation that the update should be instant over WebSocket communication is correct. The update should come through and be applied immediatly.
Now why it does not behave as expected can be a wild guess, but it's indeed a good start to verify if the client actually receives the update over WebSockets. I'll explain how you can verify this in Chrome. Other browsers also allow to do this, but the steps might be slightly different.
- Open the browsers DevTools (ctrl+shift+J) and refresh the dashboards app (F5).
- Go to the Network tab in the DevTools and filter on WS channels.
- Inspect the messages from the WebSocket.ashx channel.
- When you change the parameter value, an incoming (↓) message of Type DMAParameterUpdate should appear.
If that's the case then there is a problem in the client that will need to be investigated.