-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
(Self Hosted) Annotation Download Fails Over HTTPS (but over http it works fine) #9057
Comments
Please provide the exact steps to reproduce, it's not clear from the description how SSL termination is configured |
To reproduce, you must deploy cvat on a self-hosted VM and use a custom domain in CVAT_HOST instead of IP. After that create a task and annotate images and export annotations. Then try to download it. In Chrome browser when you click on download it opens a new tab and closes it immediately but in Firefox it shows the above error. When I allow download, the zip file is corrupted and I can't extract the file. But everything works fine when I change the URL scheme from https://.com to http://.com |
But how did you configure SSL termination? |
I didn't configure any SSL termination. Could you please help me with how to do that? |
Ok, if you have not configured CVAT to work over https, I guess this behavior is expected. Letsencrypt: https://docs.cvat.ai/docs/administration/basics/installation/#deploy-secure-cvat-instance-with-https |
Story
When attempting to download a dataset in my CVAT deployment, a new tab briefly opens and closes without downloading anything. The issue seems to be related to mixed content, where CVAT is running over HTTPS, but dataset download URLs are served over HTTP. Modern browsers block such downloads for security reasons.
Expected Behavior
The dataset should download successfully over HTTPS without any browser blocking issues.
What I've Tried
Modified
nginx.conf
to add:proxy_set_header X-Forwarded-Proto $scheme;
but the issue persists.
The text was updated successfully, but these errors were encountered: