Good Morning
I am getting misleading TIMEOUT Message.
What I am doing: I have transaction, run 24*7*365, calls COBOL program which in turn calls API using RMNet.
Initially, when transaction is started RESPONSE-STATUS from RMNet functions [NETINIT, HttpSetConnectTimeout, HttpSetTimeout, HTTPPOST] is 0. And NetGetError gave Message = "no error, don't panic!".
After sometime RESPONSE-STATUS from RMNet functions is 0. But at same time, NetGetError gave Message = "Timeout was reached".
Response is proper but getting misleading message. Using CONNECITON TIMEOUT =1 sec and RESPONSE timeout = 1 SEC.
Am I doing something wrong ? Something missed in coding.
Log
INITIALLY
20210921-07063002 ENDPOINT=http://xxx:nnnn/performapicall
20210921-07063002 RESPONSE CODE FOR NETINIT=000
20210921-07063002 RESPONSE MESSAGE FOR NETINIT=no error, don't panic!===> from NetGetError
20210921-07063002 HTTPSETCONNECTTIMEOUT=000
20210921-07063002 RESPONSE MESSAGE FOR HTTPSETCONNECTTIMEOUT=no error, don't panic!===> from NetGetError
20210921-07063002 HTTPSETTIMEOUT=000
20210921-07063002 RESPONSE MESSAGE FOR HTTPSETTIMEOUT=no error, don't panic!===> from NetGetError
20210921-07063036 HTTPPOST=000
20210921-07063036 RESPONSE MESSAGE FOR HTTPPOST=no error, don't panic!===> from NetGetError
20210921-07063036 HTTP-RESPONSE CODE: 200
AFTER SOMETIME
|
|
20210921-12031415 ENDPOINT=http://xxx:nnnn/performapicall
20210921-12031415 RESPONSE CODE FOR NETINIT=000
20210921-12031415 RESPONSE MESSAGE FOR NETINIT=Timeout was reached===> from NetGetError
20210921-12031415 HTTPSETCONNECTTIMEOUT=000
20210921-12031415 RESPONSE MESSAGE FOR HTTPSETCONNECTTIMEOUT=Timeout was reached===> from NetGetError
20210921-12031415 HTTPSETTIMEOUT=000
20210921-12031415 RESPONSE MESSAGE FOR HTTPSETTIMEOUT=Timeout was reached===> from NetGetError
20210921-12031422 HTTPPOST=000
20210921-12031422 RESPONSE MESSAGE FOR HTTPPOST=Timeout was reached===> from NetGetError
20210921-12031422 HTTP-RESPONSE CODE: 200
|
|