How can I extend default timeout value?

  • 1 September 2023
  • 2 replies

Hi, I’m using StreamsetsSDK in version 3.12.1.

In my code which is run on Teamcity agent when I’m publishing changes to pipeline using publish_pipeline() method I’m getting the following error:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='******', port=******): Max retries exceeded with url: /rest/v1/system/info (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f95dca34820>: Failed to establish a new connection: [Errno 110] Connection timed out'))

This might be caused by firewall settings because code works fine when run locally.

Is there a way to extend timeout limit?


On the other hand doing imports using import_jobs() work fine. 

2 replies

Userlevel 4

Hi @AdamK 

Based on the error description and the failure of the API call to:


It appears that the issue is related to the connection with the authoring data collector, rather than Control Hub. The reason why import jobs might work is because that might not require a connection to the SDC 

This problem seems to be associated with your network or firewall settings in your environment. I'm uncertain whether increasing the timeout will resolve this particular issue.

Thank you @Rishi for your reply. I will check that with my support team.