Getting "I/O read time out" error
See original GitHub issuei have an error. I/O read time out. when i trying to make mapping.
15:33:01.929 [main] DEBUG org.apache.http.wire[86] - http-outgoing-0 << "[read] I/O error: Read timed out"
15:33:01.929 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "PUT /test_localhost_819954_1421649178439/playlist/1421649181464349000_1421649181 HTTP/1.1[\r][\n]"
i want to know why occured this error… “I/O read timed out”
somebody teach me ? please thank you.
full - raw log
15:33:01.370 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "PUT /test_localhost_819954_1421649178439/playlist/_mapping HTTP/1.1[\r][\n]"
15:33:01.370 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "Content-Length: 1637[\r][\n]"
15:33:01.370 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "Content-Type: text/plain; charset=UTF-8[\r][\n]"
15:33:01.371 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "Host: 10.99.199.131:10201[\r][\n]"
15:33:01.371 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "Connection: Keep-Alive[\r][\n]"
15:33:01.371 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "User-Agent: Apache-HttpClient/4.3.3 (java 1.5)[\r][\n]"
15:33:01.372 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:33:01.372 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "[\r][\n]"
15:33:01.372 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "{[\n]"
15:33:01.372 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "properties": {[\n]"
15:33:01.373 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "id": {[\n]"
15:33:01.373 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.373 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.373 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.373 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "trackIds": {[\n]"
15:33:01.374 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.374 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "analyzed",[\n]"
15:33:01.374 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "analyzer": "my_whitespace_analyzer"[\n]"
15:33:01.374 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.375 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "ownerId": {[\n]"
15:33:01.375 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "long",[\n]"
15:33:01.375 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.375 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.375 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "imageInfo": {[\n]"
15:33:01.376 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.376 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "no"[\n]"
15:33:01.376 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.376 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "modified": {[\n]"
15:33:01.376 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "date",[\n]"
15:33:01.377 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed",[\n]"
15:33:01.377 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "format": "yyyy-MM-dd HH:mm:ss"[\n]"
15:33:01.377 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.377 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "created": {[\n]"
15:33:01.378 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "date",[\n]"
15:33:01.378 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed",[\n]"
15:33:01.378 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "format": "yyyy-MM-dd HH:mm:ss"[\n]"
15:33:01.378 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.378 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "privacyOpen": {[\n]"
15:33:01.379 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "boolean",[\n]"
15:33:01.379 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.379 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.379 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "searchAccessTotCount": {[\n]"
15:33:01.380 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "long",[\n]"
15:33:01.380 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.380 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.380 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "searchAccessWeeklyCount": {[\n]"
15:33:01.381 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "long",[\n]"
15:33:01.381 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.381 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.381 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "searchUpdated": {[\n]"
15:33:01.382 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "date",[\n]"
15:33:01.382 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed",[\n]"
15:33:01.382 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "format": "yyyy-MM-dd HH:mm:ss"[\n]"
15:33:01.382 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.383 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "title": {[\n]"
15:33:01.383 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.383 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.383 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.383 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "trackCount": {[\n]"
15:33:01.384 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "integer",[\n]"
15:33:01.384 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.384 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.384 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "typeCode": {[\n]"
15:33:01.384 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.385 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.385 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.385 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "externalId": {[\n]"
15:33:01.385 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.386 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.386 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.386 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "playlistFindEntityId": {[\n]"
15:33:01.386 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.386 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.387 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.387 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "subscriberCount": {[\n]"
15:33:01.387 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "integer",[\n]"
15:33:01.387 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "not_analyzed"[\n]"
15:33:01.388 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.388 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "indexTitle": {[\n]"
15:33:01.388 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "type": "string",[\n]"
15:33:01.388 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "index": "analyzed",[\n]"
15:33:01.388 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "analyzer": "my_ngram_analyzer"[\n]"
15:33:01.389 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " },[\n]"
15:33:01.389 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "_all": {[\n]"
15:33:01.389 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " "enabled": "false"[\n]"
15:33:01.389 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " }[\n]"
15:33:01.389 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> " }[\n]"
15:33:01.390 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 >> "}[\n]"
15:33:01.428 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 << "HTTP/1.1 200 OK[\r][\n]"
15:33:01.428 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 << "Content-Type: application/json; charset=UTF-8[\r][\n]"
15:33:01.428 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 << "Content-Length: 21[\r][\n]"
15:33:01.429 [main] DEBUG org.apache.http.wire[72] - http-outgoing-1 << "[\r][\n]"
15:33:01.429 [main] DEBUG org.apache.http.wire[86] - http-outgoing-1 << "{"acknowledged":true}"
15:33:01.429 [main] INFO SEARCH_LOG[115] - response data -
{
"acknowledged":true
}
15:33:01.923 [main] INFO SEARCH_LOG[109] - Uri - PUT [Ljava.lang.Object;@4c4b63b9[
{http://10.99.199.131:10200,http://10.99.199.131:10201}
] / test_localhost_819954_1421649178439/playlist/1421649181464349000_1421649181
15:33:01.929 [main] DEBUG org.apache.http.wire[86] - http-outgoing-0 << "[read] I/O error: Read timed out"
15:33:01.929 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "PUT /test_localhost_819954_1421649178439/playlist/1421649181464349000_1421649181 HTTP/1.1[\r][\n]"
15:33:01.930 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "Content-Length: 596[\r][\n]"
15:33:01.930 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "Content-Type: text/plain; charset=UTF-8[\r][\n]"
15:33:01.930 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "Host: 10.99.199.131:10200[\r][\n]"
15:33:01.930 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
15:33:01.930 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.3.3 (java 1.5)[\r][\n]"
15:33:01.931 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
15:33:01.931 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 >> "[\r][\n]"
15:33:01.931 [main] DEBUG org.apache.http.wire[86] - http-outgoing-0 >> "{"id":"1421649181464349000_1421649181","ownerId":1421649181485668000,"privacyOpen":false,"searchAccessTotCount":0,"searchAccessWeeklyCount":0,"searchUpdated":"2015-01-19 15:33:01","title":"playlisttitle1421649181471164000","trackCount":10,"typeCode":"N","playlistFindEntityId":"cu13bab665f9ad96a0","subscriberCount":18,"imageInfo":"{\"thumbnailId\":\"lc145_3450.13122018\",\"sourceImageUrl\":\"lc145_3450.13122018\"}","created":"2015-01-19 15:33:01","modified":"2015-01-19 15:33:01","indexTitle":"playlisttitle1421649181471164000","externalId":"up1421649181464349000_1421649181","trackIds":"123"}"
15:33:01.943 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 << "HTTP/1.1 201 Created[\r][\n]"
15:33:01.943 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 << "Content-Type: application/json; charset=UTF-8[\r][\n]"
15:33:01.943 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 << "Content-Length: 134[\r][\n]"
15:33:01.944 [main] DEBUG org.apache.http.wire[72] - http-outgoing-0 << "[\r][\n]"
15:33:01.944 [main] DEBUG org.apache.http.wire[86] - http-outgoing-0 << "{"_index":"test_localhost_819954_1421649178439","_type":"playlist","_id":"1421649181464349000_1421649181","_version":1,"created":true}"
15:33:01.945 [main] INFO SEARCH_LOG[115] - response data -
{
"_index":"test_localhost_819954_1421649178439",
"_type":"playlist",
"_id":"1421649181464349000_1421649181",
"_version":1,
"created":true
}
Issue Analytics
- State:
- Created 9 years ago
- Comments:23 (17 by maintainers)
Top Results From Across the Web
Apache Http Client prints "[read] I/O error: Read timed out"
I am using apache http client v4.5 and using it as a REST client. In some cases I recognize an error "[read] I/O...
Read more >JDBCService.restore Error: Io exception: Connection timed out
This error can be due to the message between the App and DB are dropping. Due to this Oracle might be closing the...
Read more >ReadTimeout error · Issue #150 · intercom/python ... - GitHub
I have since updated everything to use the PAT, but I am now getting the below error. ReadTimeout: HTTPSConnectionPool(host='api.intercom.io', ...
Read more >Webservice Callout Exception: IO Exception: Read timed out
I am randomly getting "(IO Exception: Read timed out)" exception. ... The webservice works most of the time but the timeout issue happens ......
Read more >IO Exception: Read timed out Error - Salesforce Developers
My web service is returning only one value thus not taking much time to execute. But still while running the code, I am...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m talking about the multi threading setting in the builder:
If you are calling jest client from multiple threads you should set it to true/enabled; so that multiple connections to server is possible. If you don’t enable it but still call from multiple threads then your threads will basically synchronize at the client level as they will be waiting for a single connection to be available.
If you are calling jest from a single thread it (the
multiThreaded
setting) does not have any performance effect.Any updates on this ?
I am facing the same issue, after no. of request it gives “[read] I/O error: Read timed out”.
I am using below configurations.
_private static synchronized void startClient(String url){ if(clients==null){ clients = new ConcurrentHashMap<String,JestClient>(); } boolean discovery = true;
Am I doing something wrong here ?