-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
CORS error prevents creating a deployment key #406
Comments
Hey @akuzminsky thanks for raising this again,, i guess this is the same as in #373 right? So the error occurs, when e.g Tapir has been deployed to ECS with an ALB in front. Did you set |
@PacoVK I forgot I made that comment :-)
Besides, the HTTP headers include:
I saw some bug discussions about this in quarkus itself. Probably, the root cause is somewhere there. To make the situation more confusing, the docker image 0.7.0 doesn't have that problem. My current configuration is
🤷♂️ |
@akuzminsky thanks I need to investigate that, hopefully I am able to reproduce. |
I might have a clue. I tried to pass the quarks configuration via environment variable
I think, I was inspired by Dockerfile.
It seems to me, quarks doesn't pick up this configuration. When I put the quarks setting to the docker command directly - works like a charm. I was able to disable CORS as well as configure it with the right origin:
|
@all-contributors please add @akuzminsky for bug |
I've put up a pull request to add @akuzminsky! 🎉 |
I just released 0.8.0, it now provides a setting for CORS, i hope this solves the issue, and relieves from hacking the command |
Observed on version 0.7.0.
The server responds with a 403 when I try to create a deployment key.
request:
response
The behavior is the same regardless the options
or
The text was updated successfully, but these errors were encountered: