conan: Uploading from docker to Artifactory can fail with 500 due to permissions
Reported by other user, this fails while uploading from docker:
$ conan upload -r artifactory --all openssl/1.1.0e@user/stable
Uploading openssl/1.1.0e@user/stable to remote 'artifactory'
Uploading conanmanifest.txt
[==================================================] 58B/58B
ERROR:
Error uploading file: conanmanifest.txt, 'b'{\n "errors" : [ {\n "status" : 500,\n "message" : "Internal Server Error"\n } ]\n}''
Uploading conanfile.py
[==================================================] 1.5KB/1.5KB
ERROR:
Error uploading file: conanfile.py, 'b'{\n "errors" : [ {\n "status" : 500,\n "message" : "Internal Server Error"\n } ]\n}''
ERROR: Execute upload again to retry upload the failed files: conanmanifest.txt, conanfile.py. [Remote: artifactory]
Worked when uploaded directly from other OS.
At the end, it was a permissions issue (typical in docker). In any case, probably this shouldn’t end in a 500 internal server error, but fail sooner in the client.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (10 by maintainers)
I think it would be worthless. I’m sure we are missing info to reproduce the issue until more issues are reported.