Skip to content

Bug: coderd does not respect access URL for coder login helper on start #1170

Closed
@bpmct

Description

@bpmct

OS Information

  • OS: Debian 11
  • Architecture:
  • coder --version:
Coder v0.0.0-devel+a6ea995 Mon Apr 25 03:41:03 UTC 2022
https:/github.com/coder/coder/commit/a6ea99541e363c104980dbd8dbd52d7058687383

Steps to Reproduce

  1. Set CODER_ACCESS_URL to something different and start coder:

Expected

coder_1     | access-url: http://localhost:7080
coder_1     | provisioner-daemons: 1
coder_1     | 
coder_1     |                                                             
coder_1     |   > Started in  production  mode. All data is stored in the 
coder_1     |   PostgreSQL provided! Press  ctrl+c  to gracefully         
coder_1     |   shutdown.                                                 
coder_1     |                                                             
coder_1     |   > Run  coder login http://127.0.0.1:7080  in a new        # access URL correct here
coder_1     |   terminal to get started.   

Actual

coder_1     | access-url: http://localhost:7080
coder_1     | provisioner-daemons: 1
coder_1     | 
coder_1     |                                                             
coder_1     |   > Started in  production  mode. All data is stored in the 
coder_1     |   PostgreSQL provided! Press  ctrl+c  to gracefully         
coder_1     |   shutdown.                                                 
coder_1     |                                                             
coder_1     |   > Run  coder login http://127.0.0.1:3000  in a new        # access URL mismatch here
coder_1     |   terminal to get started.   

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions