I've a new server on the internet and since 2? wee...
# forge-modules
b
I've a new server on the internet and since 2? weeks r10k cannot update modules from the forge anymore:
Copy code
---
pool_size: 1
deploy:
  generate_types: true
  exclude_spec: true
cachedir: "/opt/puppetlabs/puppet/cache/r10k"
sources:
  puppet:
    basedir: "/etc/puppetlabs/code/environments"
    remote: <https://github.com/voxpupuli/controlrepo.git>
Copy code
r10k deploy environment production --modules --verbose=debug2 --incremental
Copy code
[2024-09-06 11:31:06 - INFO] Deploying module to /etc/puppetlabs/code/environments/production/modules/postgresql
[2024-09-06 11:32:06 - ERROR] Module postgresql failed to synchronize due to Unable to connect to <https://forgeapi.puppet.com> (for request /v3/modules/puppetlabs-postgresql): Failed to open TCP connection to <http://forgeapi.puppet.com:443|forgeapi.puppet.com:443> (execution expired)
[2024-09-06 11:32:06 - ERROR] Error during concurrent deploy of a module: Unable to connect to <https://forgeapi.puppet.com> (for request /v3/modules/puppetlabs-postgresql): Failed to open TCP connection to <http://forgeapi.puppet.com:443|forgeapi.puppet.com:443> (execution expired)
[2024-09-06 11:32:06 - ERROR] Unable to connect to <https://forgeapi.puppet.com> (for request /v3/modules/puppetlabs-postgresql): Failed to open TCP connection to <http://forgeapi.puppet.com:443|forgeapi.puppet.com:443> (execution expired)
two weeks ago there was a bug in the r10k.yml and it had a pool size of 96 which might resulted in some denial of service on the forge API. Does it have any rate limits/filters? Or maybe an r10k problem? Because curl works:
Copy code
# curl -I <https://forgeapi.puppet.com/v3/modules/puppetlabs-postgresql>
HTTP/2 200
content-type: application/json
content-length: 325688
date: Fri, 06 Sep 2024 11:37:37 GMT
server: nginx
cache-control: public, must-revalidate
last-modified: Wed, 04 Sep 2024 21:16:44 GMT
etag: "53b0015436ea99cb033c367d990235ba"
x-content-type-options: nosniff
vary: Origin,Accept-Encoding
x-cache: Hit from cloudfront
via: 1.1 <http://8fd16721c32269f6a38b6515e2acebe8.cloudfront.net|8fd16721c32269f6a38b6515e2acebe8.cloudfront.net> (CloudFront)
Copy code
# r10k version
r10k 4.1.0