I was developing some autogen templates, and noticed the the volume slider page would freeze if the volume slider was manipulated too quickly.
I then setup a basic template with a slider and a text box to display the field (linked to a variable driver field).
That works fine in the interface viewer.
In the WebRiva version if you manipulate the slider too quickly, the page will freeze. It reloads again fine, but the behavior is reproducible each time.
I'm using both a desktop version of Chrome as well as chrome on my samsung phone.
No, the slider just updates the static text box on the template with the current value.
The slider is linked to the variable driver field and that field get updated automatically.
My template is basically the same as the auto-generated volume pop-up...the error happens on the auto-generated pop-up too.
I just wanted to simplify the template to just the slider and a text box to eliminate other possibilities.
How long is it? It may just be that it's long enough that it's sending too many events too quickly. If it doesn't happen when you move it slowly, then that is likely it. It might require some throttling of some sort.
07-03-2019, 05:47 PM (This post was last modified: 07-03-2019, 05:51 PM by NishanF.)
That's probably it. Initially I just did a brisk flick to the left on the volume bar to turn down the volume and then it froze. I've attached the template I'm using now...it's just a two widget template.
Also, now just reloading the page doesn't seem to always restablish the session, and the webserver has to be restarted on the master server. I included some console out from the browser as well with the error message:
Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
(anonymous) @ Websocket.js:70
Websocket.js:149 WebSocket connection to 'ws://192.168.0.254/Websock/CQSL/WebRIVA.html?user=Admin&pw=removed' failed: Error during WebSocket handshake: Unexpected response code: 500
connectToSrv @ Websocket.js:149
reconnHandler @ Websocket.js:234