Page MenuHomeSoftware Heritage
Paste P201

api: vault response in production mode
ActivePublic

Authored by anlambert on Dec 8 2017, 2:58 PM.
antoine@guggenheim:~$ curl -i http://localhost:8000/api/1/vault/directory/d4a96ba891017d0d26c15e509b4e6515e40d75ee/raw/
HTTP/1.1 503 Service Unavailable
Server: gunicorn/19.6.0
Date: Fri, 08 Dec 2017 13:57:25 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json
Allow: HEAD, OPTIONS, GET, OPTIONS
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN
{"exception":"StorageAPIError","reason":"An unexpected error occurred in the api backend: HTTPConnectionPool(host='127.0.0.1', port=5005): Max retries exceeded with url: /fetch/directory/d4a96ba891017d0d26c15e509b4e6515e40d75ee (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6de11c55c0>: Failed to establish a new connection: [Errno 111] Connection refused',))"}