Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Essential task relay-chain-rpc-worker failed. #158

Open
BulatSaif opened this issue Jul 11, 2024 · 0 comments
Open

Essential task relay-chain-rpc-worker failed. #158

BulatSaif opened this issue Jul 11, 2024 · 0 comments

Comments

@BulatSaif
Copy link

BulatSaif commented Jul 11, 2024

Node fails to start if relay-chain-rpc-urls is set.

How to reproduce:

docker run -it --rm mythicalgamesengineering/parity:v1.13.3 /usr/bin/mythos-node   --chain=muse --relay-chain-rpc-urls "wss://rococo-rpc.polkadot.io" --detailed-log-output -l reconnecting-websocket-client=debug

Output:

2024-07-11 10:57:57.966 DEBUG tokio-runtime-worker reconnecting-websocket-client: [Parachain] Connecting to RPC server. starting_position=0
2024-07-11 10:57:57.966  INFO tokio-runtime-worker reconnecting-websocket-client: [Parachain] Trying to connect to next external relaychain node. index=0 url="wss://rococo-rpc.polkadot.io:443/"
2024-07-11 10:57:57.973  INFO tokio-runtime-worker substrate_prometheus_endpoint: [Relaychain] 〽️ Prometheus exporter started at 127.0.0.1:9616    
2024-07-11 10:57:58.227 DEBUG tokio-runtime-worker reconnecting-websocket-client: [Parachain] Unable to connect. url="wss://rococo-rpc.polkadot.io:443/" err=Transport(Failed to load system certs: No valid certificate found)
2024-07-11 10:57:58.227 ERROR tokio-runtime-worker reconnecting-websocket-client: [Parachain] No valid RPC url found. Stopping RPC worker.
2024-07-11 10:57:58.228 ERROR tokio-runtime-worker sc_service::task_manager: [Parachain] Essential task `relay-chain-rpc-worker` failed. Shutting down service.  

Fix:
Install ca certs inside docker container

RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant