Skip to content

fix: retry file upload on 404 for network propagation delays#274

Closed
odesenfans wants to merge 1 commit into
mainfrom
od/retry-file-upload-on-404
Closed

fix: retry file upload on 404 for network propagation delays#274
odesenfans wants to merge 1 commit into
mainfrom
od/retry-file-upload-on-404

Conversation

@odesenfans
Copy link
Copy Markdown
Contributor

CCNs now return 404 after 30s if unable to stat a file on IPFS (instead of 50x after 5s). Since the SDK knows the file was just uploaded (it just did), retry with exponential backoff (1s, 2s, 4s) to handle propagation delays.

CCNs now return 404 after 30s if unable to stat a file on IPFS (instead
of 50x after 5s). Since the SDK knows the file was just uploaded (it
just did), retry with exponential backoff (1s, 2s, 4s) to handle
propagation delays.
@github-actions
Copy link
Copy Markdown

Failed to retrieve llama text: POST 503:

503 Service Unavailable


No server is available to handle this request.

@odesenfans
Copy link
Copy Markdown
Contributor Author

This doesn't seem to be actually needed. The server is the one who should retry and return a 500 if it fails to stat the file, actually.

@odesenfans odesenfans closed this Jan 13, 2026
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.

1 participant