From bbb6205cb42ab2f3bf1604be9095fb4982db34ce Mon Sep 17 00:00:00 2001 From: Claude Agent Date: Tue, 5 May 2026 19:16:27 +0000 Subject: [PATCH] Rootstock: drop JVM -Dhosts.X props - let file config 'hosts = ["*"]' win Setting hosts via -Dhosts.0=*, -Dhosts.1=*, etc creates an OBJECT in HOCON (indexed entries), but rskj's schema expects LIST. Result: rskj warns and falls back to default whitelist (localhost only). Drop the hosts.X JVM properties entirely. The file /etc/rsk/node.conf already declares hosts = ["*"] which IS a HOCON LIST. Without the JVM override, the file value wins. --- rootstock/rskj/rootstock-bamboo-rskj-archive.yml | 2 +- rootstock/rskj/rootstock-mainnet-rskj-archive.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rootstock/rskj/rootstock-bamboo-rskj-archive.yml b/rootstock/rskj/rootstock-bamboo-rskj-archive.yml index 02552bcc..341811ef 100644 --- a/rootstock/rskj/rootstock-bamboo-rskj-archive.yml +++ b/rootstock/rskj/rootstock-bamboo-rskj-archive.yml @@ -52,7 +52,7 @@ services: - 8545 - 8546 environment: - RSKJ_SYS_PROPS: -Drpc.providers.web.http.bind_address=0.0.0.0 -Drpc.providers.web.http.hosts.0=* + RSKJ_SYS_PROPS: -Drpc.providers.web.http.bind_address=0.0.0.0 restart: unless-stopped stop_grace_period: 5m networks: diff --git a/rootstock/rskj/rootstock-mainnet-rskj-archive.yml b/rootstock/rskj/rootstock-mainnet-rskj-archive.yml index 92e6b37d..c1706eaf 100644 --- a/rootstock/rskj/rootstock-mainnet-rskj-archive.yml +++ b/rootstock/rskj/rootstock-mainnet-rskj-archive.yml @@ -52,7 +52,7 @@ services: - 8545 - 8546 environment: - RSKJ_SYS_PROPS: -Drpc.providers.web.http.bind_address=0.0.0.0 -Drpc.providers.web.http.hosts.0=* + RSKJ_SYS_PROPS: -Drpc.providers.web.http.bind_address=0.0.0.0 restart: unless-stopped stop_grace_period: 5m networks: