-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running latest AWX 16.0.0 - "Request user is not authenticated to use websocket." #8881
Comments
@jakemcdermott is this a dupe of #8596 |
@unlikelyzero I don't believe so. |
👋 Thanks for creating this issue. This bug is addressed by #8877. You should see this fixed in the next awx community release. |
Thanks, that appears to be working, I was able to apply the patch to our image :) Now the output isn't updating until the job is done, I'm going to have to dig and see if it's something in my config... |
@tstahnke2 any news? I see the same errors in my log in Version 17.0.1 and I also have the issue, that the job output is not updating as described in #8994. |
ISSUE TYPE
COMPONENT NAME
SUMMARY
we are using Azure AD authentication to login to AWX 16.0.0. When viewing running job output, we are seeing error messages in the logs that specify only the below errors. The impact of this bug is that we can't see live job output; our exact same config worked great in awx 15.0.1
2020-12-13T21:45:00.679203820Z 169.254.130.1 - - [13/Dec/2020:21:45:00 +0000] "GET /websocket/ HTTP/1.1" 101 21 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36" "10.111.8.33:53600"
2020-12-13T21:45:02.697822850Z 2020-12-13 21:45:02,697 ERROR awx.main.consumers Request user is not authenticated to use websocket.
2020-12-13T21:45:02.697875151Z 2020-12-13 21:45:02,697 ERROR awx.main.consumers Request user is not authenticated to use websocket.
2020-12-13T21:45:02.699664385Z 2020-12-13 21:45:02,697 ERROR Request user is not authenticated to use websocket.
In the web browser, this is the error that the client sees:
WebSocket is already in CLOSING or CLOSED state.
t @ useWebsocket.js:16
(anonymous) @ useWebsocket.js:33
setTimeout (async)
Mm.o.current.onclose @ useWebsocket.js:32
ENVIRONMENT
STEPS TO REPRODUCE
Login with Azure AD to awx, then try to view a running job
EXPECTED RESULTS
Websockets should be able to retain auth information. Also, job output should stream as expected.
ACTUAL RESULTS
Job output doesn't stream to the output window in realtime.
ADDITIONAL INFORMATION
The text was updated successfully, but these errors were encountered: