WS connection fails after few received "newHeads" messages #11748
Unanswered
DimitarTAtanasov
asked this question in
Support
Replies: 1 comment
-
Hello, please you can ask questions on discord community blockscout https://discord.gg/blockscout |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am running blockscout locally using Docker-compose Deployment.
Few block numbers are being received via the websocket connection as expected and processed by
apps/indexer/lib/indexer/block/realtime/fetcher.ex -> def handle_info( {subscription, {:ok, %{"number" => quantity}}},
, the additional block information is fetched bystart_fetch_and_import
and he blocks are being inserted.After few blocks I am hitting the fallback function
After hitting the fallback function, the new blocks are being fetched via the fallback polling mechanism.
I am trying to figure out, why the websocket connections fails.
NOTES:
handle_frame
andhandle_responce
funcs and the messages appear to be correct and processed)Any help resolving this issue will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions