intermittent java.net.SocketTimeoutException requesting external app
Asked by David Torres:

we are using Confluence 6.12.1, SDK 6.3.10 and Java 1.8.0_191

Intermittently, we get [java.net](http://java.net/).SocketTimeoutException. any suggestions?

```
[INFO] [talledLocalContainer] java.net.SocketTimeoutException: Read timed out

[INFO] [talledLocalContainer] at java.net.SocketInputStream.socketRead0(Native Method)

[INFO] [talledLocalContainer] at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

[INFO] [talledLocalContainer] at java.net.SocketInputStream.read(SocketInputStream.java:171)

[INFO] [talledLocalContainer] at java.net.SocketInputStream.read(SocketInputStream.java:141)

[INFO] [talledLocalContainer] at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)

[INFO] [talledLocalContainer] at sun.security.ssl.InputRecord.read(InputRecord.java:503)

[INFO] [talledLocalContainer] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)

[INFO] [talledLocalContainer] at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933)

[INFO] [talledLocalContainer] at sun.security.ssl.AppInputStream.read(AppInputStream.java:105)

[INFO] [talledLocalContainer] at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)

[INFO] [talledLocalContainer] at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)

[INFO] [talledLocalContainer] at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)

[INFO] [talledLocalContainer] at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)

[INFO] [talledLocalContainer] at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)

[INFO] [talledLocalContainer] at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)

[INFO] [talledLocalContainer] at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)

[INFO] [talledLocalContainer] at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)

[INFO] [talledLocalContainer] at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)

[INFO] [talledLocalContainer] at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)

[INFO] [talledLocalContainer] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)

[INFO] [talledLocalContainer] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)

[INFO] [talledLocalContainer] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)

[INFO] [talledLocalContainer] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)

[INFO] [talledLocalContainer] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)

[INFO] [talledLocalContainer] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)

[INFO] [talledLocalContainer] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)

[INFO] [talledLocalContainer] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)

```


Answers:
author: Shannon S
body: Hello,

What are you trying to do when there is a timeout exactly? If you can determine which pages or actions are causing it, we can help to narrow down the issue.

I would start by increasing your timeout settings, however:

* [Configuring HTTP Timeout Settings](https://confluence.atlassian.com/doc/configuring-http-timeout-settings-184033.html?_ga=2.171160166.737905535.1542029591-372196427.1536227950)

Regards,

Shannon


Tags: developer