You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/14 13:38:55 UTC

[GitHub] [apisix] tzssangglass commented on issue #7237: bug:Problems that may be caused by session cache and keepalive_reques

tzssangglass commented on issue #7237:
URL: https://github.com/apache/apisix/issues/7237#issuecomment-1155200654

   > @hahayyum I'm not sure if this problem is related to the issue you given. @tzssangglass Could you take a look? Thanks!
   
   hi @hahayyum, it looks like the fix for your problem is not due to #6906.
   
   > When the number of requests is within 100, it is correct, the log information is as
   > 
   > follows:
   > 
   > 10.23.34.11 - - [11/Jun/2022:18:29:23 +0000] 192.168.249.2:6443 "GET /test HTTP/1.1" 200
   > 
   > 315 0.015 "-" "Java Client" 192.168.244.3:443 200 0.004 "[192.168.249.2:6443](https://192.168.249.2:6443)"
   > 
   > When the number of requests exceeds 100, it is an error, and the log information is as
   > 
   > follows:
   > 
   > 10.23.34.11 - - [11/Jun/2022:18:29:23 +0000] 192.168.249.2:6443 "GET /test HTTP/1.1" 200
   > 
   > 315 0.015 "-" "Java Client" 192.168.244.5:8080 200 0.004 "http://192.168.249.2:6443"
   
   The difference between these two logs is: `192.168.244.3:443` and `192.168.244.5:8080`, which means `$upstream_addr`, see: https://github.com/apache/apisix/blob/45816272a80d6d2045259d32acdabbec4039ed1e/conf/config-default.yaml#L223
   
   It looks like some reason led to the selection of another node.


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org