-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
awx.main.wsrelay records repeated errors due to 403 with 'Invalid response status' over '/websocket/relay/' #14876
Comments
Confirmed that this occurs too on minimal fresh deployment in addition to upgraded instance. I've edited my OP. |
I've already mentioned him in my OP😃 |
Got a fix up if someone could try it out #14879 Going to try and code some tests up for this. edit: Oh, the PR should also fix the Thanks for the bug report! |
@chrismeyersfsu @TheRealHaoLiu @fosterseth I made quick test for the PR #14879 and I can confirm that I no longer get repeated errors just by deploying new instance. |
I reproduced this error using HEAD and 25.4.0 as documented here #15262 |
Please confirm the following
[email protected]
instead.)Bug Summary
There are repeated errors recorded in task pod. Seems adding web instance to websocket broadcast list is failing due to wsrelay failure.
Confirmed that this occurs too on minimal fresh deployment in addition to upgraded instance. Operator completes reconciliation without any errors.
In the web pod, there also are logs around authentication,
Websocket connection does not provide valid authentication
:AWX version
23.8.0
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
N/A
Operating system
CentOS Stream 8
Web browser
Chrome
Steps to reproduce
Or,
Expected results
There is no error in task and web pod.
Actual results
There are repeated errors both task and web pod.
Additional information
Not sure but maybe related to: #14855 since the error is from
DrfAuthMiddleware
: https://github.com/ansible/django-ansible-base/blob/8cfce0d19f593c61d0704db527e89b0c6f300db4/ansible_base/lib/channels/middleware.py#L35-L38Also there is a doc for this topic on django-ansible-base:
@chrismeyersfsu
I've not digged into deeper this issue yet, but any ideas on this?
The text was updated successfully, but these errors were encountered: