Bug 1507425

Summary: When logging out and in again, you get: WebSocket is already in CLOSING or CLOSED state
Product: Red Hat OpenStack Reporter: Udi <ukalifon>
Component: openstack-tripleo-uiAssignee: Honza Pokorny <hpokorny>
Status: CLOSED ERRATA QA Contact: Udi <ukalifon>
Severity: high Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: beth.white, hpokorny, jjoyce, jschluet, jtomasek, slinaber, tvignaud
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: openstack-tripleo-ui-8.3.1-0.20180303225336.57e3d96.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:38:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Udi 2017-10-30 08:57:46 UTC
Description of problem:
You see this error in the console when logging out and back in to the director ui:

ZaqarWebSocketService.js:95 WebSocket is already in CLOSING or CLOSED state.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Press F12 to see the console output
2. Log out and back in

Comment 4 Jiri Tomasek 2018-01-31 16:01:11 UTC
This error happens when user is logged out. At that point, app disconnects from zaqar websocket and logger still tries to send messages. At that point we need to switch to storing the messages and flush them once user logs back in

Comment 5 Udi 2018-02-07 06:39:42 UTC
*** Bug 1514023 has been marked as a duplicate of this bug. ***

Comment 8 Udi 2018-04-04 11:24:46 UTC
Verified: openstack-tripleo-ui-8.3.1-2.el7ost.noarch

Comment 10 errata-xmlrpc 2018-06-27 13:38:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.