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

IPv6 https timeout is too long. #1658

Open
Firstyear opened this issue Nov 6, 2024 · 2 comments
Open

IPv6 https timeout is too long. #1658

Firstyear opened this issue Nov 6, 2024 · 2 comments
Labels

Comments

@Firstyear
Copy link
Contributor

If osc can resolve a remote service with an ipv6 address, but the ipv6 endpoint is not accessible (fails to connect), osc hangs for large periods at a time. The timeout for each connection is in minutes rather than seconds.

This means on a host with ipv6, that for some reason fails to connect to https://api.opensuse.org, each connection takes 60 - 120 seconds to fail, causing osc to take forever to achieve anything.

osc should have a faster timeout for connection failures. I'm sure 5 seconds would be reasonable. Or at least something configurable.

@Firstyear Firstyear added the Bug label Nov 6, 2024
@dmach
Copy link
Contributor

dmach commented Nov 11, 2024

Osc has 3 retries by default with backoff factor 2.
That means it usually fails in about 12 seconds.

Are you sure the endpoint is not really accessible?
Isn't the connection only extremely slow?
If the connection gets established and data is flowing (even at a minimal rate), the timeout doesn't trigger, I think.

@Firstyear
Copy link
Contributor Author

I see more than 60 seconds to timeout. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants