Skip to content

fix(sdk): retry network client creation failures #2174

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

mattstam
Copy link
Member

Fixes this error that can occur during client creation:

thread 'tokio-runtime-worker' panicked at script/src/main.rs:309:77:
failed to generate compressed proof: transport error
Caused by:
0: dns error: failed to lookup address information: nodename nor servname provided, or not known
1: dns error: failed to lookup address information: nodename nor servname provided, or not known
2: failed to lookup address information: nodename nor servname provided, or not known
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
Error: JoinError::Panic(Id(52), "failed to generate compressed proof: transport error\n\nCaused by:\n 0: dns error: failed to lookup address information: nodename nor servname provided, or not known\n 1: dns error: failed to lookup address information: nodename nor servname provided, or not known\n 2: failed to lookup address information: nodename nor servname provided, or not known", ...)

We just need to add retrying to client creation / connection.

@mattstam mattstam merged commit 6ff15dd into dev Mar 25, 2025
12 checks passed
@mattstam mattstam deleted the mattstam/retry-create-client branch March 25, 2025 17:50
ultraspicy pushed a commit to ultraspicy/sp1 that referenced this pull request Jun 1, 2025
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