Project

General

Profile

Actions

Bug #4535

closed

[API] Configuration option to set advertised hostname

Added by Peter Amstutz over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Story points:
-

Description

In development mode, the default root_url of rails is 'localhost'. This gets advertised in the discovery document. Unfortunately, this is a problem when running jobs in Docker, because 'localhost' means the docker container's namespace and not that of the host. This is a problem any time that Rail's default logic for generating the hostname in root_url does not match up with the hostname that actually should be advertised.

API server needs a configuration option to explicitly set the hostname that is advertised by rails.


Subtasks 1 (0 open1 closed)

Task #4537: Review 4535-configure-api-host-urlResolvedWard Vandewege11/17/2014Actions

Related issues

Related to Arvados - Feature #3101: [Tests] Websockets should work out of the box in test/development modes, even when using an ssh tunnel and a self-signed certificate.ResolvedActions
Actions

Also available in: Atom PDF