Project

General

Profile

Actions

Bug #4535

closed

[API] Configuration option to set advertised hostname

Added by Peter Amstutz about 10 years ago. Updated about 10 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 1 (0 open1 closed)

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 #1

Updated by Peter Amstutz about 10 years ago

  • Description updated (diff)
Actions #2

Updated by Tom Clegg about 10 years ago

  • Target version changed from 2014-11-19 sprint to Arvados Future Sprints
Actions #3

Updated by Tom Clegg about 10 years ago

  • Target version changed from Arvados Future Sprints to 2014-11-19 sprint
Actions #4

Updated by Ward Vandewege about 10 years ago

LGTM

Actions #5

Updated by Anonymous about 10 years ago

  • Status changed from New to Resolved

Applied in changeset arvados|commit:9a46fb0033514db6dd5e8ab4ccf793f78458a734.

Actions

Also available in: Atom PDF