-
Notifications
You must be signed in to change notification settings - Fork 455
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
KrakenD adding unknown headers to requests? #950
Comments
All the headers KrakenD sends to a backend are shown in the You pasted the output of I would start by removing the |
Thank you for your help and reply. I appreciate it greatly. I don't pass any explicit headers in the curl command: Here is the curl:
< accept-ranges: bytes
Here is the curl that works (directly to SeaweedFS): `
I have completely removed the |
Could it be the query strings? Or would no-op be fine for those? I am confused because the error refers to the headers but I don't know what header it could be if I completely remove
|
If you don't pass the query strings, these do not reach the backend. Add them in the endpoint:
You can also use The no-op specifies how to treat the response (output), not the request. |
Environment info:
Describe what are you trying to do:
Retrieve an image that exists in SeaweedFS (S3 compatible bucket) by going client -> KrakenD -> SeaweedFS.
ALL INPUT HEADERS:
NO INPUT HEADERS:
Configuration check output:
Result of
krakend check -dtc krakend.json --lint
commandCommands used:
How did you start the software?
Docker Compose
Dockerfile
Logs:
Curl from outside of docker:
Debug KrakenD Endpoint:
Curl from inside KrakenD docker container (successful):
Additional comments:
The error I get from SeaweedFS by going through KrakenD is
A header you provided implies functionality that is not implemented.
This error occurs when I put
"input_headers": ["*"]
and when I don't put any input_headers at all.When I go into KrakenD docker container and do a curl request everything works.
When I go into KrakenD docker container and do a curl request and add all the headers that KrakenD puts (found via debugging endpoint) it works.
Therefore, I suspect that KrakenD adds more headers than it is listing.
The text was updated successfully, but these errors were encountered: