Actions
Bug #10552
openarvados-git-httpd returns error '500' (Internal Server Error) when a request is not authorized
Story points:
-
Release:
Release relationship:
Auto
Description
When from I shell node I try to clone the Arvados repository from the https://git.<cluster> server with invalid credentials, the response is a 'The requested URL returned error: 500'
[root@shell x]# git -c http.sslVerify=false clone https://git.y5x3o.local/arvados.git Cloning into 'arvados'... fatal: unable to access 'https://git.y5x3o.local/arvados.git/': The requested URL returned error: 500
when credentials are correct, the command above succeeds.
On the git server, logs show this
Nov 15 22:47:18 localhost arvados-git-httpd: 2016/11/15 22:47:18 "127.0.0.1:37620" "" 401 "no credentials provided" "" "GET" "/arvados.git/info/refs" Nov 15 22:47:18 localhost arvados-git-httpd: 2016/11/15 22:47:18 "127.0.0.1:37622" "" 401 "no credentials provided" "" "GET" "/arvados.git/info/refs" Nov 15 22:47:18 localhost arvados-git-httpd: 2016/11/15 22:47:18 "127.0.0.1:37624" "" 500 "arvados API server error: Not logged in (401: 401 Unauthorized) returned by y5x3o.l
The arvados-git-httpd's response is misleading (it's not an unexpected internal error) and in this case it should respond with * Unauthorized (401)* instead.
Updated by Tom Morris over 7 years ago
- Target version set to Arvados Future Sprints
Updated by Ward Vandewege over 3 years ago
- Target version deleted (
Arvados Future Sprints)
Actions