Cannot connect the archiver to a local devnet
Opened this issue · 3 comments
saadahmsiddiqui commented
Enable ws
connections
tmcgroul commented
ws
protocol is supported
you can disable tls verification by a single env variable
environment:
NODE_TLS_REJECT_UNAUTHORIZED: 0
saadahmsiddiqui commented
@tmcgroul can we have a local substrate devnet archiver?
tmcgroul commented
sure! you can use docker-compose.yml
and redifine this part - https://github.com/subsquid/squid-archive-setup/blob/main/docker-compose.yml#L17-L30
to:
command: [
"-e", "ws://127.0.0.1:9944",
"--out", "postgres://postgres:postgres@db:5432/squid-archive"
]
environment:
NODE_TLS_REJECT_UNAUTHORIZED: 0