extend --ws.origins value to be same as rpc

Defaulting to `localhost` might be causing issues when `nim-waku` nodes
are trying to connect. For some reason there's no clear error like with RPC.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-10-17 19:15:23 +02:00
parent c2f7fac2a0
commit 4583821179
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ geth_websocket_enabled: true
geth_websocket_addr: '127.0.0.1' geth_websocket_addr: '127.0.0.1'
geth_websocket_port: '{{ geth_rpc_port + 1 | int }}' geth_websocket_port: '{{ geth_rpc_port + 1 | int }}'
geth_websocket_api: 'eth,net,web3,personal,admin,engine' geth_websocket_api: 'eth,net,web3,personal,admin,engine'
geth_websocket_origins: 'localhost' geth_websocket_origins: '{{ geth_rpc_vhosts }}'
# Engine API # Engine API
geth_authrpc_enabled: true geth_authrpc_enabled: true

View File

@ -69,7 +69,7 @@ services:
--ws.addr=0.0.0.0 --ws.addr=0.0.0.0
--ws.port={{ geth_websocket_port }} --ws.port={{ geth_websocket_port }}
--ws.api={{ geth_websocket_api }} --ws.api={{ geth_websocket_api }}
--ws.origins='{{ geth_websocket_origins }}' --ws.origins={{ geth_websocket_origins | sort | join(",") }}
{% endif %} {% endif %}
{% if geth_authrpc_enabled %} {% if geth_authrpc_enabled %}
--authrpc.addr=0.0.0.0 --authrpc.addr=0.0.0.0