Problem:
I get “There was an issue with the backend service pulp3: Timed out connecting to serverThere was an issue with the backend service pulp3: Timed out connecting to server” by syncing Foreman to smart proxy to other long range location. How can I increase Pulp Timeout Settings and where? Expected outcome:
Foreman and Proxy versions:
Foreman and Proxy plugin versions:
foreman-3.12.0-1.el8.noarch
katello-4.14.0-1.el8.noarch Distribution and version:
RHEL 8.10 Other relevant data:
For Pulp API timeouts, you can use the installer option --katello-rest-client-timeout. The default is 3600, which I believe is in seconds, so I wonder if it’s really an API timeout that you’re hitting.
If there are sync timeouts, you can use the Sync Total Timeout, Sync Connect Timeout, Sync Sock Connect Timeout, and Sync Sock Read Timeout options in the UI settings.
If it’s not clear what is timing out, we may need to look into the logs more.
One related consideration – is there any chance this content is on some mirror available closer to your smart proxy? Alternate Content Sources could help with the slow connection to Pulp, at least for downloading content to the smart proxy. The repodata would still need to be downloaded and the API still needs to be accessed, however.