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/12/07 02:42:27 UTC

[GitHub] [apisix] NextStation commented on issue #8406: help request: Add Jwt-Plugin Return 400 Request Header Or Cookie Too Large

NextStation commented on issue #8406:
URL: https://github.com/apache/apisix/issues/8406#issuecomment-1340297117

   I got the same issue with the jwt-plugin, even though send the request "http://localhost:9080/apisix/plugin/jwt/sign?key=user-key  in the container, the response is "400 Request Header Or Cookie Too Large" , check the access log , 1000 times of token-generate requests are sent in a second, such as
   `172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.150 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.150 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.200 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.200 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.239 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.239 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.343 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.343 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.350 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.349 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.389 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.388 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.429 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.429 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.457 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.458 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.474 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.473 "http://172.19.0.63:9080"
   172.19.0.1 - - [07/Dec/2022:02:19:45 +0000] 172.19.0.63:9080 "GET /get_token?key=3irGA4et HTTP/1.1" 400 230 0.484 "-" "curl/7.29.0" 2.2.3.6:9080 400 0.484 "http://172.19.0.63:9080"`


-- 
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