-
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
cvat_sdk 2.28.0: export_dataset does not result in a working zip-file #9086
Comments
Hello, |
Thanks for the reply. Here is the
Here is the git diff of the yaml-files regarding the tag 2.28.0 in this repo:
Additionally, we have configured LDAP. Shell command: |
It looks like something is trying to redirect SDK to a https connection in a bare-metal deployment. |
Okay, i could get a little bit deeper into the problem. Our proxy does only allow https requests. The prepare_file request works fine. But the received url in the export_request is a http link instead of https. This can be tracked down to line 110 in downloading.py. If I adjust the resulting url to be a https, everything works. This behavior was not present with version 2.16.3. |
This is indeed a bug as far as I can see. The download link provided by the sdk returns an http url instead of https. When manually correcting the download url to https, the code continues as expected. |
Actions before raising this issue
Steps to Reproduce
Expected Behavior
Normally, a zip-file is expected. Currently the resulting file is a txt-file with following content:
Possible Solution
No response
Context
Other functions of the cvat_sdk work as expected with the on-prem CVAT-server, as far as i noticed. The CVAT-server was previously upgraded from 2.16.3 according to the upgrade procedure in the docs.
Environment
The text was updated successfully, but these errors were encountered: