Unable to sync Jenkins repository to Foreman

Problem:
I am not able to sync the Jenkins repository to Foreman

I get following error:

Request timed out for https ://get.jenkins.io/redhat. Increasing the total_timeout value on the remote might help.

Connectivity test with curl works fine:

curl -v https ://get.jenkins.io/redhat

  • Trying 20.7.178.24:443…
  • Connected to get.jenkins.io (20.7.178.24) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • CAfile: /etc/pki/tls/certs/ca-bundle.crt
  • TLSv1.0 (OUT), TLS header, Certificate Status (22):
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.2 (IN), TLS header, Certificate Status (22):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.2 (IN), TLS header, Unknown (23):
  • Connection #0 to host get.jenkins.io left intact
    .
    .
  • TLSv1.2 (IN), TLS header, Unknown (23):
  • Connection #0 to host get.jenkins.io left intact

Expected outcome:
rpm’s synced to yum repository

Foreman and Proxy versions:
foreman-3.14.0-1.el9.noarch

Foreman and Proxy plugin versions:
katello-4.16.1-1.el9.noarch

Distribution and version:
RHEL9.6 - 5.14.0-570.17.1.el9_6.x86_64

Other relevant data:
2025-06-17T15:07:52 [E|bac|44be4448] Request timed out for https ://get.jenkins.io/redhat. Increasing the total_timeout value on the remote might help. (Katello::Errors::Pulp3Error)

Please let me know if more information is needed, thanks for helping …

Regards
Jan

Hi @jr71 ,

I would try increasing the timeout values here for a start:

These settings live under the Content tab on the Settings page.

I think this is the wrong URL as there is no repodata/repomd.xml behind this one, based on there documentation can you try https://pkg.jenkins.io/redhat-stable/ or https://pkg.jenkins.io/redhat/ depending on your preference.

And as a side-note I have to say I hate it when vendor have forbidden directory listing on their repositories as it makes debugging so much harder!

2 Likes

Thanks a lot Dirk!

I have had to wait a few days for the Firewalls to open, but eventually:

https: //pkg.jenkins.io/redhat-stable/ did the trick