Skip to main content

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: cErrno 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. 

Hi @AdamK 

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

```
/rest/v1/system/info
```

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.


Reply