java.net.SocketTimeoutException: Read timed out

JIRA | Esther Hentrich | 1 year ago
  1. 0

    We are experience a timeout issue that is reproducible every time. When we start an export on the commandline of a bigger space to pdf we always run into a timeout and are presented with the following error: {code:java} java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.pdfexport.PdfexportSoapBindingStub.exportSpace(PdfexportSoapBindingStub.java:240) at org.swift.confluence.cli.ConfluencePdfService.exportSpace(ConfluencePdfService.java:135) at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:6211) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:922) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ... 16 more {code} We started the commandline export with these parameters: {code:java} java -jar `dirname $0`/lib/confluence-cli-4.4.0.jar --server http://confluenceservername:20666 --user "confluenceuser" --password "confluenceuserpassword" "--connectionTimeout 0 --action exportSpace --space "TA" --exportType "PDF" --file /opt/atlassian_cli/exportedTA.pdf --debug" {code} I will attach the debug output of this command. Can you please give us a hint where this timeout is set even though we start the export with "connectionTimeout 0" ? We are using Confluence in version 5.5.3. Thanks a lot in advance and kind regards, Tess

    JIRA | 1 year ago | Esther Hentrich
    java.net.SocketTimeoutException: Read timed out
  2. 0

    We are experience a timeout issue that is reproducible every time. When we start an export on the commandline of a bigger space to pdf we always run into a timeout and are presented with the following error: {code:java} java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at org.swift.common.soap.pdfexport.PdfexportSoapBindingStub.exportSpace(PdfexportSoapBindingStub.java:240) at org.swift.confluence.cli.ConfluencePdfService.exportSpace(ConfluencePdfService.java:135) at org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:6211) at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:922) at org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285) at org.swift.common.cli.CliClient.doWork(CliClient.java:414) at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171) Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:152) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read(BufferedInputStream.java:254) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ... 16 more {code} We started the commandline export with these parameters: {code:java} java -jar `dirname $0`/lib/confluence-cli-4.4.0.jar --server http://confluenceservername:20666 --user "confluenceuser" --password "confluenceuserpassword" "--connectionTimeout 0 --action exportSpace --space "TA" --exportType "PDF" --file /opt/atlassian_cli/exportedTA.pdf --debug" {code} I will attach the debug output of this command. Can you please give us a hint where this timeout is set even though we start the export with "connectionTimeout 0" ? We are using Confluence in version 5.5.3. Thanks a lot in advance and kind regards, Tess

    JIRA | 1 year ago | Esther Hentrich
    java.net.SocketTimeoutException: Read timed out
  3. 0

    Axis Fault:Read Time Out Exception | Jaspersoft Community

    jaspersoft.com | 1 year ago
    java.net.SocketTimeoutException: Read timed out
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    BufferedInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:152)
    3. java.net.SocketInputStream.read(SocketInputStream.java:122)
    4. java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
    5. java.io.BufferedInputStream.read(BufferedInputStream.java:254)
    5 frames
  3. Axis Web Services
    Call.invoke
    1. org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
    2. org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
    3. org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    4. org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    5. org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    6. org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    7. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    8. org.apache.axis.client.Call.invoke(Call.java:2767)
    9. org.apache.axis.client.Call.invoke(Call.java:2443)
    10. org.apache.axis.client.Call.invoke(Call.java:2366)
    11. org.apache.axis.client.Call.invoke(Call.java:1812)
    11 frames
  4. org.swift.common
    PdfexportSoapBindingStub.exportSpace
    1. org.swift.common.soap.pdfexport.PdfexportSoapBindingStub.exportSpace(PdfexportSoapBindingStub.java:240)
    1 frame
  5. org.swift.confluence
    ConfluenceClient.handleRequest
    1. org.swift.confluence.cli.ConfluencePdfService.exportSpace(ConfluencePdfService.java:135)
    2. org.swift.confluence.cli.ConfluenceClient.exportSpace(ConfluenceClient.java:6211)
    3. org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:922)
    3 frames
  6. org.swift.common
    CliClient.doWork
    1. org.swift.common.cli.AbstractRemoteClient.process(AbstractRemoteClient.java:285)
    2. org.swift.common.cli.CliClient.doWork(CliClient.java:414)
    2 frames
  7. org.swift.confluence
    ConfluenceClient.main
    1. org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:171)
    1 frame