-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
bug: forward-auth with request_method GET causes timeouts #10927
Comments
welcome PR to fix it @BrandonArp |
I am also facing the same issue in 3.8.0. Works fine in 3.6.0. |
@shreemaan-abhishek please take a look |
I have found the cause of this bug. I will fix this later. Case 1:
In this case, APISIX unconditionally adds the Solution:
Case 2:
In this case, APISIX passes Solution:
|
Hi, I raised a PR for the fix. I faced the same issue and we are running the fixed code in our prod for sometime now, not seen any issues yet. Please let me know if i missed anything. |
Hello abhishek. I have submitted a #11023 regarding your issue, and I hope it can be of help to you. At the same time, I would greatly appreciate your assistance in reviewing and finalizing the test cases. |
I had the same problem with how to get the body to pass upstream correctly |
@OnGoingLzy FYI: #11350 |
In your roadmap, this fix of this bug will be released when? in which version? Thank you all |
Hi @masri-k Hi @BrandonArp |
K. Thanks! using 3.9.1 |
Yes, this issue is fixed and was released. |
Current Behavior
The request to the forward-auth request contains a Content-Length header and the GET request has no body.
Expected Behavior
The forward-auth request has no Content-Length header.
Error Logs
Steps to Reproduce
You can use the following plugin config:
Environment
The text was updated successfully, but these errors were encountered: