Posit Package Manager 500 Errors

Hi -

The public package manager is currently giving 500 errors when trying to install some packages, or takes a long time. The status page is reporting no issues, so I'm starting this thread here. https://status.posit.co/

Here are example calls to URL's that are failing in our CI/CD pipelines:

❯ wget https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz
--2025-03-17 15:49:52--  https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz
Resolving packagemanager.posit.co (packagemanager.posit.co)... 13.59.42.131, 13.59.153.61, 3.139.250.123
Connecting to packagemanager.posit.co (packagemanager.posit.co)|13.59.42.131|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2025-03-17 15:50:02 ERROR 500: Internal Server Error.

Using curl hangs for a while and then returns a HTTP 500:

❯ curl --connect-timeout 5 -v https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz
* Host packagemanager.posit.co:443 was resolved.
* IPv6: (none)
* IPv4: 3.139.250.123, 13.59.42.131, 13.59.153.61
*   Trying 3.139.250.123:443...
* Connected to packagemanager.posit.co (3.139.250.123) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=p3m.posit.it
*  start date: May  6 00:00:00 2024 GMT
*  expire date: Jun  4 23:59:59 2025 GMT
*  subjectAltName: host "packagemanager.posit.co" matched cert's "packagemanager.posit.co"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M03
*  SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: packagemanager.posit.co]
* [HTTP/2] [1] [:path: /cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz]
* [HTTP/2] [1] [user-agent: curl/8.7.1]
* [HTTP/2] [1] [accept: */*]
> GET /cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz HTTP/2
> Host: packagemanager.posit.co
> User-Agent: curl/8.7.1
> Accept: */*
>
* Request completely sent off
* Request completely sent off
< HTTP/2 500
< date: Mon, 17 Mar 2025 19:54:02 GMT
< content-type: text/html;charset=utf-8
< content-length: 808
< request-id: e15a981a-9290-481e-aad6-0d5ff92483b0
< server: Posit Package Manager v2024.11.0-7
< x-content-type-options: nosniff
< x-frame-options: DENY
< x-repository-type: RSPM
<
<!DOCTYPE html>
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Error</title>
    <style type="text/css">
        body {
        font-family: Helvetica, Arial, sans-serif;
        }
        pre, tt, code, .code, #detail {
        font-family: 'Consolas', 'Courier New', 'Courier', monospace;
        }
        h1 {
        font-size: 40px;
        }
        #message {
        font-size: 18px;
        }
        #detail {
        font-size: 14px;
        }
        #console {
        white-space: pre;
        background-color: #2A2A2A;
        color: #4F4;
        padding: 12px;
        border-radius: 4px;
        overflow: auto;
        }
    </style>
</head>
<body>
<h1>An error has occurred</h1>

<p id="message">See server logs for more information</p>

The docker build step has this in the logs from the renv::restore() step:

#12 654.5 - Downloading paws.analytics from CRAN ...      	ERROR [curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500]
#12 1073.0 - Downloading paws from CRAN ...                OK [file is up to date]
#12 1074.4 - Downloading paws.application.integration from CRAN ... 	ERROR [curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500]
#12 1493.1 Warning: failed to find source for 'paws.analytics 0.8.0' in package repositories
#12 1493.1 Warning: error downloading 'https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.analytics/paws.analytics_0.8.0.tar.gz' [curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500]
#12 1493.1 Warning: failed to find source for 'paws.analytics 0.8.0' in package repositories
#12 1493.1 Warning: failed to find source for 'paws.application.integration 0.8.0' in package repositories
#12 1493.1 Warning: error downloading 'https://packagemanager.posit.co/cran/__linux__/jammy/latest/src/contrib/Archive/paws.application.integration/paws.application.integration_0.8.0.tar.gz' [curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500curl: (22) The requested URL returned error: 500]
#12 1493.1 Error: failed to retrieve package 'paws@0.8.0'
1 Like

Thanks for the report, we are looking into this now. There seems to be an issue with installing archived versions for a handful of CRAN packages.

1 Like

@Lmendy We've identified the issue and should have resolved it. paws.analytics 0.8.0 now installs successfully for me, but can you try the installation again to confirm?

@greg I can confirm our CI/CD pipelines are succeeding again. Thanks for the fix!

1 Like