[ERROR CODE: -1] The host did not accept the connection within timeout of 10000 *
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2025 05:54 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2025 06:29 AM
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.
Click New.
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.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hi @M Iftikhar ,
Thank you for your response.
I have a few questions regarding the creation of "Connection Attributes":
Why do we need to create them? It seems like I have to define a custom label—will this actually affect the response time?
Do I need to select a specific type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
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.
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2025 06:56 AM
if you are using Connection and Credential alias then you can update the timeout in that table
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader