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
Underscore Header Bad Request #264
Comments
I'm also running into this problem and it is currently blocking me from moving to Container Apps. If anyone can find a work-around that would be amazing! |
Update: Something that worked for me was to use DAPR for the HTTP calls instead of the ingress endpoint. Unfortunately that doesn't solve the problem if you need to access the app outside of the container apps environment. |
Finally, I placed a azure front door in front of the azure container apps. The front door acts a an apigw to change the underscore header to a normal header, or simply remove the underscroe header if you don't need to read it. |
Same on my case, I'm currently deploying a normal next.js app, this app though is doing some request using the following headers:
the request is not reaching the runtime, and these headers are needed since not including them produces a different result than including them. UPDATE: My case has been fixed by the next.js team, they have replaced the headers vercel/next.js#42482, I will look latter why is underscores are commonly not accepted, thanks team azure container apps is looking amazing. |
@ahmelsayed this one can probably be closed as well |
This should work now. |
This issue is a: (mark with an x)
Issue description
When I request my container app with the header
Sfdc_stack_depth: 1
Then the container app responds "Bad Request" but I confirm the request is not reached my runtime.
When I request without Sfdc_stack_depth, then the request is reached my runtime.
https://stackoverflow.com/questions/47005217/enable-underscores-in-headers-on-azure-ingress
I can't customize the setting in azure container app.
Steps to reproduct
The text was updated successfully, but these errors were encountered: