Skip to content

java.net.SocketTimeoutException: Read timed out while downloading libraries. #1003

Answered by KS-HTK
KS-HTK asked this question in Q&A
Discussion options

You must be logged in to vote

OK, I finally figured this Issue out.

After playing around with the network-test container a bit more I found a error establishing an ssl connection.
This lead me to an article regarding the network mtu. https://mlohr.com/docker-mtu/
And this was the problem causing all the issues.
So what might have caused the issue is that the server provider changed the mtu on the physical link in the datacenter and this caused the issue with docker. Docker does not set the mtu of its bridge networks according to the mtu of the actual link.
Setting this manually according to the linked article solved the connectivity issues.

Why this was only an issue on some downloads is unclear to me, but it might be…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KS-HTK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1002 on August 15, 2021 19:32.