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

IPFS HTTP gateway timeout issues #21

Open
mikeshultz opened this issue Nov 2, 2018 · 1 comment
Open

IPFS HTTP gateway timeout issues #21

mikeshultz opened this issue Nov 2, 2018 · 1 comment
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@mikeshultz
Copy link
Owner

The current way HTTP requests are handled by the IPFS gateway(ipfs.io right now), timeouts never happen. IIRC, it has something to do how the HTTP request is handled(malformed), but I don't have a reference right now.

Either way, it's causing a big issue with sb install commands that can infinitely hang. Will probably need to run the ipfs fetch as a subcommand, an entirely separate process. That way, we can snag the PID, run our own timeout counter, then kill it if necessary. Threading won't work, and no other methods I've tried in the past will work.

Perhaps worth checking into other gateways.

@mikeshultz mikeshultz added bug Something isn't working enhancement New feature or request labels Nov 2, 2018
@mikeshultz mikeshultz added this to the 1.0 milestone Mar 8, 2019
@mikeshultz mikeshultz modified the milestones: 1.0, 1.1 Mar 15, 2019
@mikeshultz
Copy link
Owner Author

Moved to v1.1 since this is EthPM related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant