Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to disable P2P connections as it is not possible to set DERP server stun addresses to empty #6791

Labels
s1Bugs that break core workflows. Only humans may set this.
@JoshVee

Description

@JoshVee

The docs indicate that you can disable P2P connections by setting--derp-server-stun-addresses \CODER_DERP_SERVER_STUN_ADDRESSES to empty. This does not work.

      --derp-server-stun-addresses string-array, $CODER_DERP_SERVER_STUN_ADDRESSES (default: stun.l.google.com:19302)          Addresses for STUN servers to establish P2P connections. Set empty to disable P2P connections.

There does not appear to be any way to set this configuration property to empty:

  • Setting theCODER_DERP_SERVER_STUN_ADDRESSES environment variable to empty results in the default value ofstun.l.google.com:19302 being used
  • Setting the argument--derp-server-stun-addresses="" results in a parsing error:invalid argument "" for "--derp-server-stun-addresses" flag: EOF

Also, there appears to be a bug with parsingstring-array environment variables. The value is appended to the default, rather than replaced. For example,CODER_DERP_SERVER_STUN_ADDRESSES="foobar:443" results in the following STUN addresses:[stun.l.google.com:19302, foobar:443]

Metadata

Metadata

Assignees

No one assigned

    Labels

    s1Bugs that break core workflows. Only humans may set this.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp