Austin-Russell opened a new issue, #10631:
URL: https://github.com/apache/apisix/issues/10631

   ### Description
   
   When creating a route to a WebSocket endpoint I have configured the 
Authz-Keycloak plugin to validate the route. This plugin requires an 
Authorization header to be a part of the initial request to the endpoint. When 
I add the Authorization header to my WebSocket request I am getting a 502 bad 
gateway response. Without the plugin or Authorization header the endpoint works 
as expected. If I add the Authorization header without the plugin, I am also 
getting the 502 bad gateways. Directly hitting the WebSocket service with the 
header, not going through APISIX, there is no issue. Is there something 
specific, a configuration setting or something that needs to be added to allow 
for this header? 
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.0.0
   - Operating system (run `uname -a`): Linux apisix-5bc4759ff8-pwnfj 
5.10.184-175.749.amzn2.x86_64
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
openresty/1.21.4.1
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to