Closed Mushahar closed 1 week ago
I think the log you intended to include is empty.
I think the log you intended to include is empty.
Thanks, just fixed it.
Thanks. And if you request that URL (https://example.com/artifactory/api/pypi/my-private-pypi-local/my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl#sha256=ee2bc4dbe9e8ac639cfaf8820db59a32c7c6decbd1e933459bc0c6f71376b96c
) with and without credentials, like in your browser, what do you see?
I get this response on the browser with and without credentials:
{
"errors" : [ {
"status" : 500,
"message" : "Internal server error"
} ]
}
But when I access the same URL through curl (with credentials) and save the output to a file, I get the correct Whl file downloaded:
(uvtest) C:\>curl -o my_pip_pkg-1.0.0-py3-none-any.whl https://<user>:<apikey>@example.com/artifactory/api/pypi/my-private-pypi-local/my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl#sha256=ee2bc4dbe9e8ac639cfaf8820db59a32c7c6decbd1e933459bc0c6f71376b96c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1703k 100 1703k 0 0 732k 0 0:00:02 0:00:02 --:--:-- 734k
I'm not sure what we can do with HTTP 500 with no error message — can you get some server-side logs?
The Artifactory team seems to think that it's an auth issue. Here is a server-side log I could get:
artifactory-access.log:2024-08-28T18:38:29.323Z [cb31df85820a697c] [DENIED DOWNLOAD] my-private-pypi-local:my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl for client : NA / 10.10.172.231
artifactory-request.log:2024-08-28T18:38:29.325Z|cb31df85820a697c|10.10.172.231|anonymous|HEAD|/api/pypi/my-private-pypi-local/my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl|500|-1|0|3|uv/0.3.2
{"installer":{"name":"uv","version":"0.3.2"},"python":"3.10.10","implementation":{"name":"CPython","version":"3.10.10"},"distro":null,"system":{"name":"Windows","release":"10"},"cpu":"AMD64","openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
artifactory-service.log:2024-08-28T18:38:29.324Z [jfrt ] [ERROR] [cb31df85820a697c] [.PackageArtifactServiceImpl:95] [tp-nio-8443-exec-642] - Failed to process download for path:my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl in repo:my-private-pypi-local
console.log:2024-08-28T18:38:29.324Z [jfrt ] [ERROR] [cb31df85820a697c] [.PackageArtifactServiceImpl:95] [tp-nio-8443-exec-642] - Failed to process download for path:my-pip-pkg/1.0.0/my_pip_pkg-1.0.0-py3-none-any.whl in repo:my-private-pypi-local
I'm not really sure what we can do here. It seems like a JFrog bug.
While running "uv pip install" with uv version 0.3.2 and Python 3.10.x, Jfrog Artifactory (v 7.68.21) returns HTTP error 500 as shown below. The same command installs the package successfully with "pip".
Given below is a log from a Windows 11 PC, but the same is reproduceable on Windows 10 and Linux (Ubuntu 20.04).
Note: This error is different from the "500 Internal Server Error" in https://github.com/astral-sh/uv/issues/5600, where the failure message points to an authentication issue.