Is there an existing issue for this?
Current Behavior
follow on from ENG-2049
an attempt to start coderd with the built in derp server disabled and the derp config url param unpopulated results in it failing to start. this is a valid use case given enterprise customers may opt to run coderd with the built in derp server disabled and make use of workspace proxies instead.instead.
Relevant Log Output
➜ ~ ~/Downloads/coder-cli-dean server \
--http-address :3000 \
--access-url http://192.168.51.15:3000 \
--derp-server-enable=false \
--derp-config-url=""
Coder v2.30.2-devel+7f03bd76e6 - Your Self-Hosted Remote Development Platform
Started HTTP listener at http://[::]:3000
Using built-in PostgreSQL (/Users/rowan/Library/Application Support/coderv2/postgres)
╔═══════════════════════════════╗
║ View the Web UI: ║
║ http://192.168.51.15:3000 ║
╚═══════════════════════════════╝
Opening local browser... You can disable this by passing --no-open.
Stopping built-in PostgreSQL...
Stopped built-in PostgreSQL
Encountered an error running "coder server", see "coder server --help" for more information
error: create derp map: DERP map has no regions. A valid DERP map is required for networking to work. You must either supply your own DERP map or use the built-in DERP server
Expected Behavior
Start coderd without exiting and allow workspace proxies to connect and trigger an update to the derp map
Steps to Reproduce
see log output
Environment
- Host OS: MacOS and Linux
- Coder version: 2.30.1
Additional Context
The issue occurs consistently
Is there an existing issue for this?
Current Behavior
follow on from ENG-2049
an attempt to start coderd with the built in derp server disabled and the derp config url param unpopulated results in it failing to start. this is a valid use case given enterprise customers may opt to run coderd with the built in derp server disabled and make use of workspace proxies instead.instead.
Relevant Log Output
Expected Behavior
Start coderd without exiting and allow workspace proxies to connect and trigger an update to the derp map
Steps to Reproduce
see log output
Environment
Additional Context
The issue occurs consistently