When trying to run pnpm dev:test
with a Duniter node listening on localhost (can be explored with polkadotjs app), I get the following:
2023-05-09 15:25:12 API-WS: disconnected from ws://localhost:9944: 1006:: Abnormal Closure
2023-05-09 15:25:14 API-WS: disconnected from ws://localhost:9944: 1006:: Abnormal Closure
2023-05-09 15:25:17 API-WS: disconnected from ws://localhost:9944: 1006:: Abnormal Closure
[...]
@ManUtopiK did you already have this problem when developing on the indexer?
By the way, no problem when connecting to a remote node: INDEXER_DUNITER_WS_ENDPOINT=wss://gdev.coinduf.eu/ws