cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP receive: Communication failure with connectionOCDAPIS

former_member950787
Discoverer
0 Kudos

Hi,

Cannot download SAP Best Practices for SAP S/4HANA. Solution manager 7.2 SP10.

We got:

Response status 500: Check HTTP connection to external server "OCDAPIS"
HTTP receive: Communication failure with connectionOCDAPIS

Both connections of OCDAPIS and OCDSTORE are configured according to https://launchpad.support.sap.com/#/notes/2194123 and both shows 200 OK on Tests.

Below is the trace for the connection

[Thr 139929970906880] Mon Apr 20 12:21:39:358 2020
[Thr 139929970906880] IcmIConnConnect: direct connect to rapid.sap.com:443
[Thr 139929970906880] NiHLGetNodeAddr: found hostname 'rapid.sap.com' in cache (valid-address/name)
[Thr 139929970906880] NiIGetNodeAddr: hostname 'rapid.sap.com' = addr 155.56.96.99
[Thr 139929970906880] NiIGetServNo: servicename '443' = port 443
[Thr 139929970906880] NiICreateHandle: hdl 156 state NI_INITIAL_CON
[Thr 139929970906880] NiIInitSocket: set default settings for new hdl 156/sock 39 (I4; ST)
[Thr 139929970906880] NiIBlockMode: set blockmode for hdl 156 FALSE
[Thr 139929970906880] NiICheckPendConnection: connection of hdl 156 to 155.56.96.99:443 established
[Thr 139929970906880] NiIConnect: hdl 156 took local address <private_ip>:40948
[Thr 139929970906880] NiIConnect: state of hdl 156 NI_CONNECTED
[Thr 139929970906880] IcmIConnConnect: Connect to host: rapid.sap.com, service: 443, SAP_O_K(0)
[Thr 139929970906880] <<- SapSSLSessionInit()==SAP_O_K
[Thr 139929970906880]      in: args = "role=1 (CLIENT), auth_type=3 (USE_CLIENT_CERT)"
[Thr 139929970906880]     out: sssl_hdl = 7f43c401d380
[Thr 139929970906880]   SSL NI-hdl 156: local=<private_ip>:40948  peer=155.56.96.99:443
[Thr 139929970906880] <<- SapSSLSetNiHdl(sssl_hdl=7f43c401d380, ni_hdl=156)==SAP_O_K
[Thr 139929970906880] IcmConnInitClientSSL: using pse /usr/sap/SDA/DVEBMGS26/sec/SAPSSLA.pse, show client certificate if available
[Thr 139929970906880]   ROLE_ANON_CLIENT cred_hdl forces AUTH_NO_CLIENT_CERT session
[Thr 139929970906880] <<- SapSSLSetSessionCredHdl(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]      in: sssl_hdl = 7f43c401d380
[Thr 139929970906880]      in: cred_hdl = 7f43d80622a0
[Thr 139929970906880] <<- SapSSLSetTargetHostname(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]      in: hostname = "rapid.sap.com"
[Thr 139929970906880]   SSL:SiSend(sock=  39)== 0 (SI_OK)       (out=157 of 157)
[Thr 139929970906880]   SSL:SiRecv(sock=  39)==13 (SI_ETIMEOUT) (in=0, max=16)
[Thr 139929970906880]   --> SSL:SiPoll(sock=39, evt=R, timeout=80000 ms)
[Thr 139929970906880]   <-- SSL:SiPoll(sock=39, evt=R, slept  =  17 ms) Ready
[Thr 139929970906880]   SSL:SiRecv(sock=  39)== 0 (SI_OK)       (in=16, max=16)
[Thr 139929970906880]   SSL:SiRecv(sock=  39)== 0 (SI_OK)       (in=96, max=96)
[Thr 139929970906880]   SSL:SSL_read(netin=   92) handshake, processed=   92
[Thr 139929970906880]   SSL:SSL_read(netin=    6) handshake, processed=    6
[Thr 139929970906880]   SSL:SiRecv(sock=  39)== 0 (SI_OK)       (in=31, max=48)
[Thr 139929970906880]   SSL:SSL_read(netin=   45) handshake, processed=   45
[Thr 139929970906880]   SSL:SiSend(sock=  39)== 0 (SI_OK)       (out=51 of 51)
[Thr 139929970906880]   Subject Alt Names: dNSName=rapid.sap.com
[Thr 139929970906880]   MatchTargetName("rapid.sap.com", dNSName="rapid.sap.com") == EXACT match
[Thr 139929970906880]   SapSSLISessionStartFin(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]  in/out: status = "resumed SSL session,TLSv1.2,TLS_ECDHE_RSA_WITH_AES256_GCM_SHA384"
[Thr 139929970906880]   Subject DN = "CN=rapid.sap.com, O=SAP, L=Walldorf, SP=Baden-Württemberg, C=DE"
[Thr 139929970906880]   Issuer  DN = "CN=DigiCert SHA2 Secure Server CA, O=DigiCert Inc, C=US"
[Thr 139929970906880] Mon Apr 20 12:21:39:394 2020
[Thr 139929970906880] <<- SapSSLSessionStartNB(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]  in/out: ... = "fl=00000000, timeout=80000, io=idle"
[Thr 139929970906880] IcmPlCheckRetVal: Next status: WRITE_REQUEST(3)
[Thr 139929970906880] IcmReadFromPartner(id=7/229): read with maximum timeout 500
[Thr 139929970906880] IcmMpiWatchInsert: MPI watch entry <b8>, number 0 inserted.
[Thr 139929970906880] MPI<b8>10#7 GetInbuf -1 215bd0 329 (1) -> MPI_EOS: End Of Stream
[Thr 139929970906880] IcmMpiWatchRemove: MPI watch entry <b8>, number 0 removed (wakeup was not sent).
[Thr 139929970906880] IcmReadFromPartner: IcmMpiGetInbuf returned rc=MPI_EOS: End Of Stream/6, wakeup not sent
[Thr 139929970906880] BINDUMP of content denied
[Thr 139929970906880] PlugInHandleServData(rqid=7/229/1): role: Client(2), status: 3
[Thr 139929970906880] 	content-length: 0/0, buf_len: 249, buf_offset: 0, buf_status: 6
[Thr 139929970906880] ICT: IctIHttpOpenMessage: 7f43c402a970 typ=1
[Thr 139929970906880] IctCheckIfValidHostname: Check [rapid.sap.com] len 13
[Thr 139929970906880] HttpParseRequestHeader: no content length set
[Thr 139929970906880] HttpParseRequestHeader: no transfer-encoding set
[Thr 139929970906880] HttpParseRequestHeader: Version: 1000
[Thr 139929970906880] HttpParseRequestHeader: Keep-Alive: 0
[Thr 139929970906880] HttpParseRequestHeader: no server port set
[Thr 139929970906880] IcmPlSetParam: Setting trace level declined
[Thr 139929970906880] HttpParseRequestHeader: SAP TRACE=>>2<<
[Thr 139929970906880] HTTP request (raw) [7/229/1]:
[Thr 139929970906880]   GET /ocd/api/packageversions?_fields=packageVersionId HTTP/1.0
[Thr 139929970906880]   user-agent: SAP NetWeaver Application Server (1.0;740)
[Thr 139929970906880]   host: rapid.sap.com
[Thr 139929970906880]   accept-encoding: gzip
[Thr 139929970906880]   sap-language: E
[Thr 139929970906880]   sap-trace: 2
[Thr 139929970906880]   authorization: XXX
[Thr 139929970906880] Connection Info: role=Client, local=s1dapp028.lg.lan:44426, peer=rapid.sap.com, protocol=HTTPS
[Thr 139929970906880] PlugInHandleServData: method: 1; path: /ocd/api/packageversions
[Thr 139929970906880] IcmNetBufWrapBuf: allocated netbuf: 55f6db17f010, blocks used: 1
[Thr 139929970906880] IcmNetBufWrapBuf: allocated netbuf: 55f6db17f010
[Thr 139929970906880] IcmPlCheckRetVal: Next status: READ_RESPONSE(2)
[Thr 139929970906880] IcmHandleReadFromPartner(id=7/229): HandleServData returned: 2
[Thr 139929970906880] BINDUMP of content denied
[Thr 139929970906880] IcmWriteToConn(id=7/229): prepared to write data to partner (len = 249, timeout = 2000)
[Thr 139929970906880]   SSL:SiSend(sock=  39)== 0 (SI_OK)       (out=278 of 278)
[Thr 139929970906880] <<- SapSSLWriteNB(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]  in/out: ... = "buf= 7f4401485c40, written= 249 of 249 (all) io=idle"
[Thr 139929970906880] IcmWriteToConn(id=7/229): wrote data to partner (len = 249)
[Thr 139929970906880] IcmNetBufFree: free netbuf: 55f6db17f010 out of 1 used
[Thr 139929970906880] Mon Apr 20 12:21:39:395 2020
[Thr 139929970906880] MPI<b8>10#8 FreeInbuf#1 0 215bd0  0 -> MPI_OK
[Thr 139929970906880] <<- SapSSLReadPendingNB(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]  in/out: ... = "pendlen=0, more=N, io=idle"
[Thr 139929970906880] IcmReadFromConn(id=7/229): request new MPI (0/0)
[Thr 139929970906880] IcmLowOnBlocks: mpi buffer space free (cur/limit/unreserved): 0/1522/1903)
[Thr 139929970906880] MPI<b7>f#4 GetOutbuf 0 215bd0 65536 (0) -> 7f4401485bf0 44564480 MPI_OK
[Thr 139929970906880] IcmMpiGetOutbuf: Set MPI Header with type 1 at 7f4401485bf0, len=80
[Thr 139929970906880] IcmMpiSetHeaderData: Set MPI Header with type 1 at 7f4401485bf0, len=80
[Thr 139929970906880] <<- SapSSLReadPendingNB(sssl_hdl=7f43c401d380)==SAP_O_K
[Thr 139929970906880]  in/out: ... = "pendlen=0, more=N, io=idle"
[Thr 139929970906880] Mon Apr 20 12:21:39:895 2020
[Thr 139929970906880] IcmReadFromConn(id=7/229): no SSL data available
[Thr 139929970906880] IcmReadFromConn: read failed with timeout: 500 -> roll out
[Thr 139929970906880] MPI<b7>f#6 DiscardOutbuf 3 0 0 215bd0 0 0 -> 7f4401485bd0 MPI_OK
[Thr 139929970906880] IcmConnRollOut: roll out connection (id=7/229):
[Thr 139929970906880]   reason:ICM_ROLL_NETTIMEOUT role:2 timeout:600 flags:1
[Thr 139929970906880] CONNECTION (id=7/229):
    used: 1, type: default, role: Client(2), stateful: 0
    NI_HDL: 156, protocol: HTTPS(2)
    local host:  <private_ip>:40948 ()
    remote host: 155.56.96.99:443 ()
    status: READ_RESPONSE
    connect time: 20.04.2020 12:21:39
(Context Role: 2)
     tid: 5, mode: 0, uid: 2566
    MPI request:        <b8>     MPI response:        <b7>    MPI next: <0>   
    request_buf_size:   0        response_buf_size:   0     
    request_buf_used:   0        response_buf_used:   0     
    request_buf_offset: 0        response_buf_offset: 0     


[Thr 139929970906880] REQ TRACE END: 7/229/1

Any ideas what might be wrong?

View Entire Topic
Antonio_leites
Participant
0 Kudos

I am getting the same error... did you fix it?

Best regards

Antonio_leites
Participant
0 Kudos

The issue is not in the communication, but in the ST plug-in. Apply the SAP Note 2949070 - Can not import SAP Best Practice Packages from SOLADM