[ERROR CODE: -1] The host did not accept the connection within timeout of 10000 *

Girishmayi
Tera Contributor

I am getting the error in outbound log, So we are trying to increase the "Response time" for Service Graph connector workspace one. I am not sure how to modify the Response time. the respective properties are not even available in the sys_properties table.

glide.http.outbound.max_timeout.enabled
glide.http.outbound.max_timeout

How can i able to change the response time without affecting globally.

Girishmayi_0-1757940851605.png

 

 



2 REPLIES 2

M Iftikhar
Mega Sage

Hi @Girishmayi

 

 

By following the given method, you can isolate the timeout setting to only the Workspace ONE integration, leaving the global default intact:

  • Navigate to Connections & Credentials > Connections & Credentials Aliases.

  • Open the Alias record that is used by your Service Graph Connector for Workspace ONE.

  • Go to the Connection Attributes related list at the bottom of the form.

MIftikhar_0-1757942814368.png

  • Click New.

MIftikhar_1-1757942888422.png

 

  • Create a new attribute with the following values:

    • Name: http_timeout

    • Value: Enter the desired timeout in milliseconds. The default is 10000 (10 seconds), so you should set it to something higher, like 30000 (for 30 seconds) or 60000 (for 60 seconds).

  • Submit the new attribute record.

That's it. The next time the Service Graph Connector runs, it will use this new timeout value for all outbound HTTP requests made using this alias, resolving the error without affecting any other integration in your instance.

 

Hope this helps!

 

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Ankur Bawiskar
Tera Patron
Tera Patron

@Girishmayi 

if you are using Connection and Credential alias then you can update the timeout in that table

Create an HTTP(s) connection 

AnkurBawiskar_0-1757944552147.png

 

If you are using REST Message then you can use waitForResponse() and pass the value

Resolving ECCResponseTimeoutException: How to Increase REST API Timeout in ServiceNow 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader