Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Reconnect on connection lost #10

Merged
merged 2 commits into from
Jun 28, 2023
Merged

Reconnect on connection lost #10

merged 2 commits into from
Jun 28, 2023

Conversation

AurevoirXavier
Copy link
Member

@AurevoirXavier AurevoirXavier commented Jun 28, 2023

2023-06-28T17:21:56.269530Z  INFO slothunter::hunter: ############################################################
2023-06-28T17:21:56.269976Z  INFO slothunter::hunter: node endpoint(ws://127.0.0.1:9944)
2023-06-28T17:21:56.270349Z  INFO slothunter::hunter: graphql endpoint(http://127.0.0.1:3000/graphql)
2023-06-28T17:21:56.270368Z  INFO slothunter::hunter: bid
2023-06-28T17:21:56.270383Z  INFO slothunter::hunter:   hunting a slot for parachain(2000)
2023-06-28T17:21:56.270396Z  INFO slothunter::hunter:   watch-only(true)
2023-06-28T17:21:56.270401Z  INFO slothunter::hunter: notification
2023-06-28T17:21:56.270403Z  INFO slothunter::hunter:   webhooks
2023-06-28T17:21:56.270406Z  INFO slothunter::hunter: ############################################################
2023-06-28T17:22:00.005807Z  INFO slothunter::hunter: block(#107, 0xf7fb7202976c109a5caa170ad6493f84657327a742f004886f7a52d40db99612)
2023-06-28T17:22:06.006089Z  INFO slothunter::hunter: block(#108, 0x99d90bbd427dd6e555ea8a38eb77d43b955323ce2286aa3e061f17e9513b5ad6)
2023-06-28T17:22:12.007347Z  INFO slothunter::hunter: block(#109, 0xee6b8ebbac9d768134636541a19c54cd490d4358b195d9eef43651812d5cbd06)
2023-06-28T17:22:13.471701Z ERROR jsonrpsee_core::client::async_client: [backend]: Networking or low-level protocol error: WebSocket connection error: connection closed
2023-06-28T17:22:13.471858Z ERROR slothunter: websocket connection was lost due to error(failed to get the next block)
2023-06-28T17:22:13.472232Z ERROR slothunter: failed to establish a websocket connection due to error(Error in the WebSocket handshake: i/o error: Connection reset by peer (os error 104))
2023-06-28T17:22:18.472766Z ERROR slothunter: failed to establish a websocket connection due to error(Error when opening the TCP socket: Connection refused (os error 111))
2023-06-28T17:22:23.473292Z ERROR slothunter: failed to establish a websocket connection due to error(Error when opening the TCP socket: Connection refused (os error 111))
2023-06-28T17:22:28.473829Z ERROR slothunter: failed to establish a websocket connection due to error(Error in the WebSocket handshake: i/o error: Connection reset by peer (os error 104))
2023-06-28T17:22:33.492343Z  INFO slothunter: websocket connection has been reestablished
2023-06-28T17:22:33.492783Z  INFO slothunter::hunter: ############################################################
2023-06-28T17:22:33.493195Z  INFO slothunter::hunter: node endpoint(ws://127.0.0.1:9944)
2023-06-28T17:22:33.493524Z  INFO slothunter::hunter: graphql endpoint(http://127.0.0.1:3000/graphql)
2023-06-28T17:22:33.493541Z  INFO slothunter::hunter: bid
2023-06-28T17:22:33.493553Z  INFO slothunter::hunter:   hunting a slot for parachain(2000)
2023-06-28T17:22:33.493680Z  INFO slothunter::hunter:   watch-only(true)
2023-06-28T17:22:33.493697Z  INFO slothunter::hunter: notification
2023-06-28T17:22:33.493719Z  INFO slothunter::hunter:   webhooks
2023-06-28T17:22:33.493724Z  INFO slothunter::hunter: ############################################################
2023-06-28T17:22:38.505951Z  INFO slothunter::hunter: block(#1, 0xe75845e89daf4cd85138ae445583e33f23f6218c6cfe83bd3988ea82d7151555)
2023-06-28T17:22:42.004485Z  INFO slothunter::hunter: block(#2, 0x8674d0f60e1804ffbb22c4c9d8cfd85729d94ab305484100a169f544a03f9196)

@AurevoirXavier AurevoirXavier merged commit b9341a8 into main Jun 28, 2023
@AurevoirXavier AurevoirXavier deleted the xavier/r branch June 28, 2023 17:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant