-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cannot call API with large header #3704
Comments
@daixiang0 can you please check what setting we need to expose or change to fix this? |
@tieudaotu90 did you test with many kinds of data sizes and confirm 3818 is a limit? Could you share the request which result in this error? It often produces when:
Also you said that the error occur in the microservice logs, does microservice limit this size? |
@daixiang0 Here is my scenario:
In Postman, if I call with 3818 character Authorization header. it show 200 OK.
Here is log in MS2
Here is simple caller from MS2 to MS1:
Request from Postman (curl format)
|
Do you test without Dapr? 500 means error is from MS. |
yes, without DapR with the same postman testcase. this show OK. |
I test with https://github.com/dapr/quickstarts/tree/master/hello-kubernetes:
It works with one MS. |
I was read this page, but it's seem the Authorization is not used to forward from Python-Pod to Node-Pod. |
Need time to create this case, could you share dapr logs with debug level for this? |
Where log you need to view, is sidecar log ? And if you don't mind, can you tell me how to enable dapr debug log |
@daixiang0 This may be a problem related to fasthttp. It has a |
I also have this problem #3408 |
@tieudaotu90 you can add @Taction |
@daixiang0 The |
Oh, sorry for that. |
Hi @daixiang0 @Taction , As I understand, this bug is in processing? Can you let me know about the plan when it's completed? |
@tieudaotu90 Yes, you can pay attention to the pr I mentioned above. |
Duplicate of #3408 |
In what area(s)?
/area runtime
What version of Dapr?
Version 1.2.2
Expected Behavior
2 Microservices communicate with each other with using DapR sidecar successful as same as directly communication
Actual Behavior
If any header field is over 3818 Byte , we got error 431 Request Header Fields Too Large.
Steps to Reproduce the Problem
Any thoughts?
Thanks
The text was updated successfully, but these errors were encountered: