Make the JSON RPC server work with both IPv4 and IPv6
Binding to 0.0.0.0 by default results in inability to work with IPv6, which is a probable cause of Bifrost gate failures on some nodepool providers. Using :: solves it. Change-Id: Ic5c4c9b541c826ccf3025877f7c829fd34d0be6e
This commit is contained in:
parent
1c0d20d6b0
commit
18fdc447ef
@ -23,7 +23,7 @@ opts = [
|
|||||||
help=_('Authentication strategy used by JSON RPC. Defaults to '
|
help=_('Authentication strategy used by JSON RPC. Defaults to '
|
||||||
'the global auth_strategy setting.')),
|
'the global auth_strategy setting.')),
|
||||||
cfg.HostAddressOpt('host_ip',
|
cfg.HostAddressOpt('host_ip',
|
||||||
default='0.0.0.0',
|
default='::',
|
||||||
help=_('The IP address or hostname on which JSON RPC '
|
help=_('The IP address or hostname on which JSON RPC '
|
||||||
'will listen.')),
|
'will listen.')),
|
||||||
cfg.PortOpt('port',
|
cfg.PortOpt('port',
|
||||||
|
5
releasenotes/notes/json-rpc-bind-a0348cc6f5efe812.yaml
Normal file
5
releasenotes/notes/json-rpc-bind-a0348cc6f5efe812.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
The internal JSON RPC server now binds to ``::`` by default, allowing it to
|
||||||
|
work correctly with IPv6.
|
Loading…
x
Reference in New Issue
Block a user