IBM Support

Reports run using Cognos SDK failing with "java.net.SocketTimeoutException: Read timed out" error

Troubleshooting


Problem

A Cognos Analytics report, run with the SDK script (based on SDK sample, 'runreport') and executing for a duration longer than the socket timeout of 5 mins, fails with the Read timed out error.

Symptom

Reports that can complete execution in less than 5 mins runs successfully.
Only the long running reports fail.
Logs show reports failed with: java.net.SocketTimeoutException: Read timed out.
Complete error trace looks as shown:
ERROR com.lemc.cognos.services.ReportService - SOAP exception!
org.apache.axis.AxisFault: ; nested exception is: 
	java.net.SocketTimeoutException: Read timed out
	at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) ~[axis.jar:?]
	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) ~[axis.jar:?]
	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) ~[axis.jar:?]
	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) ~[axis.jar:?]
	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) ~[axis.jar:?]
	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) ~[axis.jar:?]
	at org.apache.axis.client.Call.invokeEngine(Call.java:2784) ~[axis.jar:?]
	at org.apache.axis.client.Call.invoke(Call.java:2767) ~[axis.jar:?]
	at org.apache.axis.client.Call.invoke(Call.java:2443) ~[axis.jar:?]
	at org.apache.axis.client.Call.invoke(Call.java:2366) ~[axis.jar:?]
	at org.apache.axis.client.Call.invoke(Call.java:1812) ~[axis.jar:?]
	at com.cognos.developer.schemas.bibus._3.ReportServiceStub.run(ReportServiceStub.java:8093) ~[axisCognosClient.jar:]
	at com.lemc.cognos.services.ReportService.generateReport(ReportService.java:139) ~[main/:?]
	at com.lemc.cognos.report.OSReport.runOsReport(OSReport.java:126) ~[main/:?]
	at com.lemc.cognos.CognosReport.main(CognosReport.java:62) ~[main/:?]
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:127) ~[?:1.8.0]
	at java.net.SocketInputStream.read(SocketInputStream.java:182) ~[?:1.8.0]
	at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[?:1.8.0]
	at com.ibm.jsse2.ak.a(ak.java:71) ~[?:8.0 build_20220909--560]
	at com.ibm.jsse2.ak.g(ak.java:115) ~[?:8.0 build_20220909--560]
	at com.ibm.jsse2.ak.d(ak.java:32) ~[?:8.0 build_20220909--560]
	at com.ibm.jsse2.bj.a(bj.java:444) ~[?:8.0 build_20220909--560]
	at com.ibm.jsse2.bj.access$300(bj.java:374) ~[?:8.0 build_20220909--560]
	at com.ibm.jsse2.bj$b.read(bj$b.java:72) ~[?:8.0 build_20220909--560]
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:257) ~[?:1.8.0]
	at java.io.BufferedInputStream.read(BufferedInputStream.java:276) ~[?:1.8.0]
	at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:593) ~[axis.jar:?]
	at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143) ~[axis.jar:?]
	... 13 more
00:20:58.383 [main] ERROR com.lemc.cognos.services.ReportService - Message:   ; nested exception is: 
	java.net.SocketTimeoutException: Read timed out

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m500000008d7DAAQ","label":"SDK"},{"code":"a8m3p000000hBNFAA2","label":"Troubleshooting"}],"ARM Case Number":"TS012623114","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
15 January 2026

UID

ibm17007799