Skip to content

java.net.SocketTimeoutException: Read timed out #2

@heinrichheine

Description

@heinrichheine

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)
´´´

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions