cancel
Showing results for 
Search instead for 
Did you mean: 

Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1 ICM_HTTP_TIMEOUT

Former Member
0 Kudos

Hi

We are trying to connect an external 3rd party HTTP content server which is a DMS itself.

We are trying to connect using SAP AL HTTP 4.5 interface. This is for enabling optical archiving (storing image on content server) and viewing image.We are using our content server for file system storage.

I have configured a repository named FD in tcode OAC0 also defined category in OACT.

when i click on test connection or CSADMIN it gives me error as Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1 ICM_HTTP_TIMEOUT.

we have increased HTTP timeout parameter to 180 sec still it gives me same error

ICM trace:

Thr 4 IcmWriteToConn(id=1/18076): prepared to write data to partner (len

Thr 4 NiIWrite: hdl 25 sent data (wrt=162,pac=1,RAW_IO)

Thr 4 IcmWriteToConn(id=1/18076): wrote data to partner (len = 162)

Thr 4 IcmNetBufFree: free netbuf: 0x100c1d0e0 out of 1 used

Thr 4 MPI<7de>2#8 FreeInbuf#1 0 18e928 0 -> 0

Thr 4 IcmConnRollInWP: no need to roll in WP status: ROLLED IN

Thr 4 IcmReadFromConn(id=1/18076): request new MPI (0/0)

Thr 4 MPI<7dd>0#4 GetOutbuf -1 18e928 65536 (0) -> 0xffffffff6d58e948 0

Thr 4 NiIRead: hdl 25 recv would block (errno=EAGAIN)

Thr 4 NiIRead: raw read for hdl 25 timed out (500ms)

Thr 4 IcmReadFromConn: read failed with timeout: 500 -> roll out

Thr 4 IcmSendMpiOOBData: send ICM_OOB_TYPE_TIMEOUT

Thr 4 MPI<7dd>0#5 WriteOOB 00000000 00000002 00000001 00

Thr 4 MPI<7de>2#11 ReadOOB 00000001 00000001 00000015 00 -> 0

Thr 4 IcmHandleOOBData: Received data on 1st MPI (seqno: 1, type=1, reas

Thr 4 MPI<7dd>0#10 ReadOOB 00000001 00000001 00000015 00 -> 0

Thr 4 IcmHandleOOBData: Received data on 2nd MPI (seqno: 1, type=1, reas

Thr 4 IcmHandleOOBData: Received context key (type=1, reason=1): 21/769/

Thr 4 IcmConnRollOut: connection (id=1/18076) rolled out:

Thr 14 NiSelISelectInt: 1 handles selected (0 buffered)

Thr 4 CONNECTION (id=1/18076):

used: 1, type: 1, role: 2, stateful: 0

NI_HDL: 25, protocol: HTTP(1)

local host: 172.16.0.110:40675 ()

remote host: 10.36.1.41:9025 ()

status: READ_RESPONSE

connect time: 19.10.2010 09:52:58

WP-status: ROLLED OUT (Context: 2, Role: 2)

tid: 21, mode: 0, uid: 769, roll-reason: ICM_ROLL_NETTIMEOUT

MPI request: <7de> MPI response: <7dd>

request_buf_size: 0 response_buf_size: 65464

request_buf_used: 0 response_buf_used: 0

request_buf_offset: 0 response_buf_offset: 0

Thr 4 IcmWorkerThread: Thread 0: Waiting for event

Thr 14 NiHsLGetHostName: found address 127.0.0.1 in cache

Thr 14 NiHsLGetHostName: retrying to get hostname for '127.0.0.1'

Thr 14 NiIWakeupReceive: hdl 3 received 1 bytes from 127.0.0.1:44623

Thr 14 IcmWatchDogUpdateRollQueue(id=1/18076): insert fe-nihdl 25, flags=.

Please suggest me some solution.

Thanks

Sandeep

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Receiver side content server was not accessible

JPReyes
Active Contributor
0 Kudos

I'll start by checking Note 794919 - Error Analysis : ICM_HTTP_TIMEOUT and Internal error

Regards

Juan

fjhernanz
Contributor
0 Kudos

Hi Sandeep,

This Error usually indicates a problem with the HTTP plugin. To ensure that you are using the lates version of the plugin, please apply the latest kernel patch to your system.

Please also try creating the following entry in the SDOKPROF table via se16:

NAME: USEHTTPPLG

VALUE: OFF

Keep all the remaining fields blank and save your changes. Please also ensure that you have the latest version of SAPHTTP on all frontends as per SAP note 164203.

Br,

Javier

Former Member
0 Kudos

Hi Franscisco/Juan Reyes

thanks for the reply, i will do these changes and will get back to you.

Mean while please let me know the reason of these errors which i got in DEV_ICM trace

REQUEST:
 CLOSE_CONNECTION    Index = 15885
CONNECTION (id=2/15804):
 1, type: 1, role: 2, stateful: 0
L: 26, protocol: HTTP(1)
 host:  172.16.0.110:65534 ()
e host: 10.36.1.41:9025 ()
s: READ_RESPONSE
ct time: 18.10.2010 15:29:12
atus: ROLLED IN (Context: 1, Role: 2)
     tid: 19, mode: 1, uid: 641, roll-reason: *ICM_ROLL_NONE*

Thr  8] CONNECTION (id=2/16201):
    used: 1, type: 1, role: 2, stateful: 0
    NI_HDL: 26, protocol: HTTP(1)
    local host:  172.16.0.110:34031 ()
    remote host: 10.36.1.41:9025 ()
    status: READ_RESPONSE
    connect time: 18.10.2010 18:19:07
    WP-status: ROLLED OUT (Context: 1, Role: 2)
              tid: 18, mode: 0, uid: 682, roll-reason: *ICM_ROLL_NETTIMEOUT*
    MPI request:        <7c6>    MPI response:        <7c5>
    request_buf_size:   0        response_buf_size:   65464
    request_buf_used:   0        response_buf_used:   0
    request_buf_offset: 0        response_buf_offset: 0
try the SAP notes 631790 and 301352, this will help you.


NiIRead: raw read for hdl 26 timed out (500ms)
IcmReadFromConn: read failed with timeout: 500 -> roll out
IcmSendMpiOOBData: send *ICM_OOB_TYPE_TIMEOUT*

please clarify me these error codes ICM_ROLL_NETTIMEOUT, ICM_ROLL_NONE,ICM_OOB_TYPE_TIMEOUT

thanks

sandeep