Project

General

Profile

Actions

Bug #15721

closed

OPTIONS on /arvados/v1/config returns status 503

Added by Peter Amstutz about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/15/2019
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

Requesting OPTIONS on /arvados/v1/config returns a 503 status code:

$ curl -v -X OPTIONS https://c97qk.arvadosapi.com/arvados/v1/config
...
< HTTP/1.1 503 Service Unavailable
< Server: nginx/1.15.8
< Date: Fri, 11 Oct 2019 20:22:24 GMT
< Content-Length: 0
< Connection: keep-alive
< Access-Control-Allow-Headers: Authorization, Content-Type
< Access-Control-Allow-Methods: GET, HEAD, PUT, POST, DELETE
< Access-Control-Allow-Origin: *
< Access-Control-Max-Age: 86486400
< 
* Curl_http_done: called premature == 0
* Connection #0 to host c97qk.arvadosapi.com left intact

This is a bug in master, since it works on 1.4.1:

$ curl -v -X OPTIONS https://qr1hi.arvadosapi.com/arvados/v1/config
...
< HTTP/1.1 200 OK
< Server: nginx/1.15.8
< Date: Fri, 11 Oct 2019 20:23:45 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 0
< Connection: keep-alive
< Access-Control-Allow-Headers: Authorization, Content-Type
< Access-Control-Allow-Methods: GET, HEAD, PUT, POST, DELETE
< Access-Control-Allow-Origin: *
< Access-Control-Max-Age: 86486400
< Cache-Control: no-cache
< Status: 200 OK
< Strict-Transport-Security: max-age=15552000
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< X-Powered-By: Phusion Passenger 6.0.2
< X-Request-Id: req-15o843ywr0rr16tit4ws
< X-Runtime: 0.003235
< X-Xss-Protection: 1; mode=block
< 
* Curl_http_done: called premature == 0
* Connection #0 to host qr1hi.arvadosapi.com left intact

This is a blocker because it breaks workbench 2 multi-site search (found while working on #15530)


Subtasks 1 (0 open1 closed)

Task #15723: Review 15721-config-corsResolvedPeter Amstutz10/15/2019

Actions
Actions

Also available in: Atom PDF