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

fix(firehose): Add a firehose connect_timeout #3810

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Aug 3, 2022

No description provided.

Copy link
Contributor

@sduchesneau sduchesneau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it correctly times out after 10s in my local tests and tries reconnecting.

┃ Aug 03 12:13:42.300 ERRO Unable to connect to endpoint: status: Unavailable, message: "error trying to connect: deadline has elapsed", details: [], metadata: MetadataMap { headers: {} }
┃ Caused by:
┃     0: transport error
┃     1: error trying to connect: deadline has elapsed
┃     2: deadline has elapsed, sgd: 1, subgraph_id: QmPEwDBUNXSF7T17KaLQpnQNHmLfBN4WtfEm8ybKvrRYkJ, component: FirehoseBlockStream
┃ Aug 03 12:13:43.302 INFO Blockstream disconnected, connecting, cursor: JpFbgGKUF0YPsmgikTnJUKWwLpcyAlxpXQrtKxRL192l8SbB35qmVTVzPUuBwqr3jhfrQlKl2ovOFSou-8IB6dfpwrxgv3U_FCp4lIi8-Le-eaLyOV8SJ-hrDejaN9LfXTrfYwL6f7tStobmbvfbYEJnNsFzejfhjDgDoIVdeKoV7XA0l2n0cZ  6H1viX9YYTq-V3FbCmlHmgBGR8fU9aaMXUNPvNvWh1, start_block: 46677658, endpoint_uri: https://mainnet.near.streamingfast.io/, sgd: 1, subgraph_id: QmPEwDBUNXSF7T17KaLQpnQNHmLfBN4WtfEm8ybKvrRYkJ, component: FirehoseBlockStream
┃ Aug 03 12:13:52.302 ERRO Unable to connect to endpoint: status: Unavailable, message: "error trying to connect: deadline has elapsed", details: [], metadata: MetadataMap { headers: {} }```

@leoyvens leoyvens merged commit 0bce8c8 into master Aug 3, 2022
@leoyvens leoyvens deleted the leo/firehose-connect-timeout branch August 3, 2022 16:34
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

Successfully merging this pull request may close these issues.

2 participants