outbound REST, MID server, timeout despite result in the ECC Queue

steven carty
Kilo Explorer

On Kingston, I have an outbound REST service going through a MID server. Although I can see the result in the ECC Queue within a few seconds, request.execute() (and executeAsync) timeout:

com.glide.ecc.ECCResponseTimeoutException: No response for ECC message request with sysid=03f4d5b1dbf713004a36f81d0f961988 after waiting for 60 seconds in ECC Queue

find_real_file.png

The service  works using Background Scripts and On Demand  scheduled jobs, but not from a business rule. How can I prevent the timeout?  The ECC response only takes 2 seconds.

Thanks.

9 REPLIES 9

Varsha21
Giga Guru
Hi  steven carty,
 
As Question it seems that you are trying to consume REST web service? m i right??
 
if yes then check your third party tool is cloud based application then no need to use MID-Server here
 
and if it is not cloud  based then you can use MID-Server....so it may couse 
 
I checked jakartha, whatever Topic Rest-probe that is not available for mi in my ecc_queue table.
 
if any doubt reply for same..
 
 
 
Regards,
Varsha.
 
 
 

 

Thanks Varsha. I am consuming a 3rd party REST service, but it is on a private cloud so must go through a MID server. The proper result comes back in the ECC Queue quickly, but request.execute() eventually times out. Ideas?

Hi  steven carty,

all-right, you must get something with following tables,

sysrule_quota_list

v_cluster_transaction_list

syslog_transaction_list (in this table check the details about)transaction

v_transaction_list

just type transaction you will get all the tables..

 

also check MID-Server logs and monitor mid server

 

https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/product/mid-server/task/t_Acces...

 

https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/product/mid-server/task/t_Monit...

 

Regards,

Varsha

 

 

Suhas9
ServiceNow Employee
ServiceNow Employee

Hi Steven,

I am facing the same issue, how did you resolve it ?