-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Not able to upload annotations on a https end point #4843
Comments
Please, provide a version of CVAT you are using and commit hash. |
I will close the issue, please do not hesitate to reopen if you can provide the requested information |
Latest code., which is there on github
…On Thu, 25 Aug, 2022, 6:47 pm Boris Sekachev, ***@***.***> wrote:
@NarenZen <https://github.com/NarenZen>
Please, provide a version of CVAT you are using and commit hash.
—
Reply to this email directly, view it on GitHub
<#4843 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASVWSO72HSEBEGZQUEG5AJTV25W75ANCNFSM57S6E3FQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have the same problem |
Same issue with 2.2.0, unfortunately this makes CVAT difficult to host behind HTTPS. |
On |
@gumshoes If you have deployed CVAT behind a reverse proxy, make sure your proxy is correctly forwarding the X_FORWARDED_PROTO header, this header is required for CVAT to determine the correct protocol. |
@azhavoro we are using nginx reverse proxy with |
@loidy Ok, please add |
My setup is CVAT deployed via the Helm in git running in AWS EKS cluster with ingress provided by Traefik and an AWS NLB that does the SSL termination. |
Hello I found out the reason was traefik rewrite the header, if not trust the reverse proxy in front of it. TLDR: Ref: |
I have this issue when trying to upload files as well with cvat running on https. |
I believe that the cause and solution have been found, the issue can be closed |
I had tried it, but it didn't work as in my case the request never actually hit traefik, the browser seemed to change it and block before it got anywhere. I fixed it by adding:
To the header of the template. |
Hi, I am experiencing the same. I will try both methods and report back. I use CloudFlare and CloudFlare tunnels to proxy to cvat. Thanks @azhavoro for pointing me towards a fix! |
Adding CloudFlare ips to the traefik command worked for me.
|
This doesn't work anymore in the newest CVAT. Turns out that if you set a flag for traefik in docker-compose.yaml it disables the other settings, which CVAT now sets using environment variables. So do apply this fix in the latest CVAT, add the following line under traefik -> environment:
|
When I upload annotations zip, I get the below error
The text was updated successfully, but these errors were encountered: