on 2023 Jul 13 8:13 AM
Dear all,
I got this error when I execute SLDAPICUST for creating ABAP API between Abap and SLD SAP PI.
Caught an Exception while processing a JCO request. com.sap.conn.jco.AbapException: (126) SLD_CLIENT_EXCEPTION: AbapSLDRequestHandler.getObjectServer(): CIM_ERR_FAILED: IO error: Connection reset
Can see more log => jco20230713-104145933.txt
Anybody can help ?
Best Regard,
Parinya
Request clarification before answering.
Hi Parinya,
I think there is no problem with JCo here. According to the trace, the problem rather seems to be:
So for solving this problem, you will need to take a closer look at the Java code that implements the FM SLD_CLIENT_EXCEPTION. Looks like the error happens in class "AbapSLDRequestHandler" in a method named "getObjectServer()". But this is speculation on my part. All we can see about the error on JCo level, is this:
JCoServerThread-80 [13:46:26:686]: [JCoRFC] dispatchRequest caught an application ABAP exception: Caught an Exception while processing a JCO request.
com.sap.conn.jco.AbapException: (126) SLD_CLIENT_EXCEPTION: AbapSLDRequestHandler.getObjectServer(): CIM_ERR_FAILED: IO error: Connection reset
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, as I said: has nothing to do with JCo... 🙂
Probably this "AbapSLDRequestHandler" is using plain HTTP, so when it tried to connect to an HTTPS port on the SLD, that port was expecting an SSL handshake and not plain-text data and was therefore simply aborting the HTTP connection... "Connection reset":
Well, JCo doesn't know anything about this port and about the HTTP connection which this "AbapSLDRequestHandler" is trying to open. The only reason we see anything about this in the JCo log, is because AbapSLDRequestHandler is throwing an exception from within a JCo dispatchRequest() method...
So basically you were looking at the wrong logs. More details about the true reason of the error would (hopefully) be available in the logs of the SLD system (showing some errors that someone is trying to connect to an SSL port with a plain-text connection) and/or in the logs of this AbapSLDRequestHandler application (which is started by an RFC request via JCo). But I'm not familiar with this application, so I don't know, whether it writes any logs.
Hi Parinya,
connection reset means that the network connection was interrupted by either the communication partner or by some intermediate component. You need to check traces/logs of network components between JCo and the target ABAP system
Best regards,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Markus,
Thank you for answering.
I attached JCo log => jco20230713-104145933.txt
Can you see something wrong?
Best Regard,
Parinya
User | Count |
---|---|
47 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.