wadeLouis commented on issue #5283: URL: https://github.com/apache/apisix/issues/5283#issuecomment-946711432
skywalking has been disable. All new test result as below: 1. Request through apisix ```shell [root@iZuf64g8pjwxoltlhga88cZ example]# curl -vk -H "host: wsocser2.platformcenter.net" -H "Upgrade: websocket" -H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: websocket" -H "Connection: Upgrade" "http://127.0.0.1/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99" * About to connect() to 127.0.0.1 port 80 (#0) * Trying 127.0.0.1... * Connected to 127.0.0.1 (127.0.0.1) port 80 (#0) > GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1 > User-Agent: curl/7.29.0 > Accept: */* > host: wsocser2.platformcenter.net > Upgrade: websocket > Sec-WebSocket-Version: 13 > Sec-WebSocket-Key: websocket > Connection: Upgrade > < HTTP/1.1 504 Gateway Time-out < Date: Tue, 19 Oct 2021 13:08:23 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 164 < Connection: keep-alive < Server: APISIX/2.10.0 < X-APISIX-Upstream-Status: 504 < <html> <head><title>504 Gateway Time-out</title></head> <body> <center><h1>504 Gateway Time-out</h1></center> <hr><center>openresty</center> </body> </html> * Connection #0 to host 127.0.0.1 left intact [root@iZuf64g8pjwxoltlhga88cZ example]# ``` 2. Requst direct to backend: ```shell [root@iZuf64g8pjwxoltlhga88cZ example]# curl -vk -H "host: wsocser2.platformcenter.net" -H "Upgrade: websocket" -H "Sec-WebSocket-Version: 13" -H "Sec-WebSocket-Key: websocket" -H "Connection: Upgrade" "http://192.168.3.65:12345/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99" * About to connect() to 192.168.3.65 port 12345 (#0) * Trying 192.168.3.65... * Connected to 192.168.3.65 (192.168.3.65) port 12345 (#0) > GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1 > User-Agent: curl/7.29.0 > Accept: */* > host: wsocser2.platformcenter.net > Upgrade: websocket > Sec-WebSocket-Version: 13 > Sec-WebSocket-Key: websocket > Connection: Upgrade > # This will no response and connect keepalive forever without 504 error. ``` **This will no response and connect keepalive forever without 504 error.** All the apisix log : * access.log ```shell 172.20.0.1 - - [19/Oct/2021:21:06:47 +0800] wsocser2.platformcenter.net "GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1" 504 164 6.002 "-" "curl/7.29.0" 192.168.3.65:12345 504 6.002 "http://wsocser2.platformcenter.net/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99" 172.20.0.1 - - [19/Oct/2021:21:08:23 +0800] wsocser2.platformcenter.net "GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1" 504 164 6.001 "-" "curl/7.29.0" 192.168.3.65:12345 504 6.001 "http://wsocser2.platformcenter.net/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99" ``` * error.log ```shell 2021/10/19 21:06:00 [warn] 44#44: *2 [lua] plugin.lua:151: load(): new plugins: {"authz-keycloak":true,"http-logger":true,"example-plugin":true,"openid-connect":true,"redirect":true,"consumer-restriction":true,"gzip":true,"server-info":true,"traffic-split":true,"real-ip":true,"grpc-transcode":true,"limit-conn":true,"request-validation":true,"kafka-logger":true,"batch-requests":true,"prometheus":true,"uri-blocker":true,"ext-plugin-pre-req":true,"ua-restriction":true,"limit-count":true,"ext-plugin-post-req":true,"serverless-post-function":true,"udp-logger":true,"serverless-pre-function":true,"syslog":true,"tcp-logger":true,"sls-logger":true,"echo":true,"proxy-rewrite":true,"zipkin":true,"proxy-cache":true,"response-rewrite":true,"api-breaker":true,"ip-restriction":true,"key-auth":true,"cors":true,"client-control":true,"jwt-auth":true,"proxy-mirror":true,"request-id":true,"referer-restriction":true,"fault-injection":true,"wolf-rbac":true,"basic-auth":true,"limit-req":true,"hmac-auth" :true,"authz-casbin":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 46#46: *3 [lua] plugin.lua:151: load(): new plugins: {"authz-keycloak":true,"http-logger":true,"example-plugin":true,"openid-connect":true,"redirect":true,"consumer-restriction":true,"gzip":true,"server-info":true,"traffic-split":true,"real-ip":true,"grpc-transcode":true,"limit-conn":true,"request-validation":true,"kafka-logger":true,"batch-requests":true,"prometheus":true,"uri-blocker":true,"ext-plugin-pre-req":true,"ua-restriction":true,"limit-count":true,"ext-plugin-post-req":true,"serverless-post-function":true,"udp-logger":true,"serverless-pre-function":true,"syslog":true,"tcp-logger":true,"sls-logger":true,"echo":true,"proxy-rewrite":true,"zipkin":true,"proxy-cache":true,"response-rewrite":true,"api-breaker":true,"ip-restriction":true,"key-auth":true,"cors":true,"client-control":true,"jwt-auth":true,"proxy-mirror":true,"request-id":true,"referer-restriction":true,"fault-injection":true,"wolf-rbac":true,"basic-auth":true,"limit-req":true,"hmac-auth" :true,"authz-casbin":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 45#45: *1 [lua] plugin.lua:151: load(): new plugins: {"authz-keycloak":true,"http-logger":true,"example-plugin":true,"openid-connect":true,"redirect":true,"consumer-restriction":true,"gzip":true,"server-info":true,"traffic-split":true,"real-ip":true,"grpc-transcode":true,"limit-conn":true,"request-validation":true,"kafka-logger":true,"batch-requests":true,"prometheus":true,"uri-blocker":true,"ext-plugin-pre-req":true,"ua-restriction":true,"limit-count":true,"ext-plugin-post-req":true,"serverless-post-function":true,"udp-logger":true,"serverless-pre-function":true,"syslog":true,"tcp-logger":true,"sls-logger":true,"echo":true,"proxy-rewrite":true,"zipkin":true,"proxy-cache":true,"response-rewrite":true,"api-breaker":true,"ip-restriction":true,"key-auth":true,"cors":true,"client-control":true,"jwt-auth":true,"proxy-mirror":true,"request-id":true,"referer-restriction":true,"fault-injection":true,"wolf-rbac":true,"basic-auth":true,"limit-req":true,"hmac-auth" :true,"authz-casbin":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 47#47: *4 [lua] plugin.lua:151: load(): new plugins: {"authz-keycloak":true,"http-logger":true,"example-plugin":true,"openid-connect":true,"redirect":true,"consumer-restriction":true,"gzip":true,"server-info":true,"traffic-split":true,"real-ip":true,"grpc-transcode":true,"limit-conn":true,"request-validation":true,"kafka-logger":true,"batch-requests":true,"prometheus":true,"uri-blocker":true,"ext-plugin-pre-req":true,"ua-restriction":true,"limit-count":true,"ext-plugin-post-req":true,"serverless-post-function":true,"udp-logger":true,"serverless-pre-function":true,"syslog":true,"tcp-logger":true,"sls-logger":true,"echo":true,"proxy-rewrite":true,"zipkin":true,"proxy-cache":true,"response-rewrite":true,"api-breaker":true,"ip-restriction":true,"key-auth":true,"cors":true,"client-control":true,"jwt-auth":true,"proxy-mirror":true,"request-id":true,"referer-restriction":true,"fault-injection":true,"wolf-rbac":true,"basic-auth":true,"limit-req":true,"hmac-auth" :true,"authz-casbin":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 50#50: *5 [lua] plugin.lua:151: load(): new plugins: {"authz-keycloak":true,"http-logger":true,"example-plugin":true,"openid-connect":true,"redirect":true,"consumer-restriction":true,"gzip":true,"server-info":true,"traffic-split":true,"real-ip":true,"grpc-transcode":true,"limit-conn":true,"request-validation":true,"kafka-logger":true,"batch-requests":true,"prometheus":true,"uri-blocker":true,"ext-plugin-pre-req":true,"ua-restriction":true,"limit-count":true,"ext-plugin-post-req":true,"serverless-post-function":true,"udp-logger":true,"serverless-pre-function":true,"syslog":true,"tcp-logger":true,"sls-logger":true,"echo":true,"proxy-rewrite":true,"zipkin":true,"proxy-cache":true,"response-rewrite":true,"api-breaker":true,"ip-restriction":true,"key-auth":true,"cors":true,"client-control":true,"jwt-auth":true,"proxy-mirror":true,"request-id":true,"referer-restriction":true,"fault-injection":true,"wolf-rbac":true,"basic-auth":true,"limit-req":true,"hmac-auth" :true,"authz-casbin":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 46#46: *3 [lua] plugin.lua:192: load_stream(): new plugins: {"limit-conn":true,"mqtt-proxy":true,"ip-restriction":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 44#44: *2 [lua] plugin.lua:192: load_stream(): new plugins: {"limit-conn":true,"mqtt-proxy":true,"ip-restriction":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 47#47: *4 [lua] plugin.lua:192: load_stream(): new plugins: {"limit-conn":true,"mqtt-proxy":true,"ip-restriction":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 45#45: *1 [lua] plugin.lua:192: load_stream(): new plugins: {"limit-conn":true,"mqtt-proxy":true,"ip-restriction":true}, context: init_worker_by_lua* 2021/10/19 21:06:00 [warn] 50#50: *5 [lua] plugin.lua:192: load_stream(): new plugins: {"limit-conn":true,"mqtt-proxy":true,"ip-restriction":true}, context: init_worker_by_lua* 2021/10/19 21:06:47 [error] 47#47: *2784 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.20.0.1, server: _, request: "GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1", upstream: "http://192.168.3.65:12345/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99", host: "wsocser2.platformcenter.net" 2021/10/19 21:08:23 [error] 46#46: *9007 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.20.0.1, server: _, request: "GET /ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99 HTTP/1.1", upstream: "http://192.168.3.65:12345/ws?userId=1vbn68fv6923ff0¢reId=1v9r2sk99fc9d99", host: "wsocser2.platformcenter.net" ``` -- 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]
