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

TLS and timeouts for endpoints when fetching genesis data #439

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

limemloh
Copy link
Contributor

Purpose

Fix issue when fetching genesis information from node endpoint depending on TLS.

Changes

We already handle TLS, but not until the main indexer start running, so this PR move the handling earlier so it applies for the genesis data fetching as well.

backend-rust/src/indexer.rs Show resolved Hide resolved
@DOBEN
Copy link
Member

DOBEN commented Jan 29, 2025

Suggestion: we could add some clarification to the error that the connection error is from the node and not the databsae.

Error: transport error

Caused by:
    0: error trying to connect: tls handshake eof
    1: tls handshake eof

@limemloh limemloh force-pushed the fix-tls-genesis-issue branch from 5e4955d to 0153cd2 Compare January 29, 2025 09:22
@limemloh limemloh merged commit c8b95e4 into main Jan 29, 2025
3 checks passed
@limemloh limemloh deleted the fix-tls-genesis-issue branch January 29, 2025 09:35
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