The CreatorCon Call for Content is officially open! Get started here.

[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

 

 



6 REPLIES 6

M Iftikhar
Giga 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.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Hi @M Iftikhar ,
Thank you for your response.

I have a few questions regarding the creation of "Connection Attributes":

  1. Why do we need to create them? It seems like I have to define a custom label—will this actually affect the response time?

  2. Do I need to select a specific type?

Girishmayi_0-1758003197011.png

 

Hi @Girishmayi

 

You create Connection Attributes to override default system behavior for a specific integration.

Think of it this way: ServiceNow has global settings (in the sys_properties table) for things like a default timeout. If you change that global setting, you risk breaking every other integration in your instance.

Connection Attributes provide a safe, isolated way to apply a special setting, like a longer timeout only to the connection that needs it. You are essentially saying, "For this specific connection to Workspace ONE, wait 60 seconds, but for everything else, use the normal 10-second default."

This prevents you from making risky global changes and is a critical best practice for managing integrations.

 

your second question's answer is:

For most common, predefined attributes like http_timeout, the Type field is not critical and you can safely leave it as the default, which is String.

 

hope this helps!

 

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

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