Red Hat Bugzilla – Bug 1459926
Zaqar websockets randomly disconnect
Last modified: 2018-07-03 22:27:14 EDT
Description of problem:
While working with the GUI, every so often an alert pops up: "Zaqar Websocket encountered Error". The easiest way to recreate it is to log in and out many times (it most often occurs on logins - maybe because it's heavily used in that stage when all the data is loaded?).
This error also occurs during operations that take long, like role assignment or nodes registration, and when that happens it can cause the GUI to never see that the operation already finished (the spinner on the screen keeps spinning until you hit F5).
Version-Release number of selected component (if applicable):
Patches have all landed. Need another review of this bz.
Closing this as stale; I haven't seen this bug in months now, feel free to reopen if you encounter it again
We just saw this again in OSP 12 director UI. This occurred while waiting for introspection to complete.
Saw this again while tagging nodes.
I wonder if this is something we need to rectify using quickstart?
In general, I think the nature of the websockets is such that it will disconnect at some point. When you close your laptop, when you switch wifi access points, when you connect an ethernet cable, etc. It's not so random. The network connection isn't eternal or indestructible.
I'll look into automatic reconnects, and notifying the user when the connection is broken.