[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Brittle downloads

Henrik Lindberg wrote:
Hi,
I worked on timeout for connect recently, and I know that connect has a timeout of 120 seconds. Without actually testing read timeout, I know that it is setup to be 120 seconds as well. This was done because of discussion in https://bugs.eclipse.org/bugs/show_bug.cgi?id=266246.
(This is when using httpClient).


I don't think there are any retries.
There is a retry mechanism in the FileReader. Its initialized in the constructor.

connectionRetryCount = RepositoryPreferences.getConnectionRetryCount();
connectionRetryDelay = RepositoryPreferences.getConnectionMsRetryDelay();


what are those values set to by default? The Buckminster predecessor of the FileReader use a retry count of 3 and it works reasonably well.

Don't know if the problem is because you are hitting a bad mirror, but it does not look like it because the exception message is showing the full URL to the artifact (as opposed to just the repository URL) - but I am not 100% sure.


No, I don't think it's a bad mirror either. It's just good old build.eclipse.org being very busy or something.

- thomas