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

java.net.SocketTimeoutException: Read timed out #2

Open
heinrichheine opened this issue Oct 19, 2012 · 0 comments
Open

java.net.SocketTimeoutException: Read timed out #2

heinrichheine opened this issue Oct 19, 2012 · 0 comments

Comments

@heinrichheine
Copy link

Hi,

i am using kipeto to download some software packages during installation process of a software bundle. Sometimes i get this kind of error when downloading a package of about 140MB. Do you have any idea why this is happening? Strange thind about this is, it works fine from hostA, but fails on hostB all the time, couple of minutes after. HostA and hostB are cloned virtual maschines running centOS Server and are located in the same subnet.

Kipeto Server: CentOS with apache
Kipeto Client: CentOS

java.net.SocketTimeoutException: Read timed out
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at org.apache.http.impl.io.AbstractSessionInputBuffer.read(AbstractSessionInputBuffer.java:187)
    at org.apache.http.impl.io.ContentLengthInputStream.read(ContentLengthInputStream.java:164)
    at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:138)
    at java.io.FilterInputStream.read(FilterInputStream.java:116)
    at de.ecclesia.kipeto.common.util.CountingInputStream.read(CountingInputStream.java:60)
    at java.io.FilterInputStream.read(FilterInputStream.java:116)
    at de.ecclesia.kipeto.common.util.CountingInputStream.read(CountingInputStream.java:60)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
    at java.io.FilterInputStream.read(FilterInputStream.java:90)
    at de.ecclesia.kipeto.common.util.Streams.copyBufferedStream(Streams.java:50)
    at de.ecclesia.kipeto.common.util.Streams.copyStream(Streams.java:75)
    at de.ecclesia.kipeto.repository.FileRepositoryStrategy.store(FileRepositoryStrategy.java:91)
    at de.ecclesia.kipeto.repository.WritingRepositoryStrategy.storeStream(WritingRepositoryStrategy.java:67)
    at de.ecclesia.kipeto.repository.CachedReadingStrategy.load(CachedReadingStrategy.java:53)
    at de.ecclesia.kipeto.job.UpdateJob.updateCache(UpdateJob.java:281)
    at de.ecclesia.kipeto.job.UpdateJob.run(UpdateJob.java:134)
    at de.ecclesia.kipeto.tui.TUI.run(TUI.java:62)
    at de.ecclesia.kipeto.KipetoApp.run(KipetoApp.java:113)
    at de.ecclesia.kipeto.KipetoApp.main(KipetoApp.java:68)
´´´
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

No branches or pull requests

1 participant