Jira (PUP-11839) PDK Downloads Erroring

11 views
Skip to first unread message

Daniel Milnes (Jira)

unread,
Apr 17, 2023, 10:04:04 AM4/17/23
to puppe...@googlegroups.com
Daniel Milnes created an issue
 
Puppet / Bug PUP-11839
PDK Downloads Erroring
Issue Type: Bug Bug
Assignee: Unassigned
Components: Docs
Created: 2023/04/17 7:03 AM
Priority: Normal Normal
Reporter: Daniel Milnes

The download links on https://www.puppet.com/downloads/puppet-development-kit currently take you to pages which display a 500 error.

Desired Behavior: PDK should begin downloading.

Actual Behavior:

 

$ curl -vS 'https://pm.puppet.com/cgi-bin/pdk_download.cgi?dist=fedora&rel=36&arch=x86_64&ver=latest'
*   Trying 44.240.186.48:443...
* Connected to pm.puppet.com (44.240.186.48) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
*  CApath: none
* 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, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: CN=pm.puppet.com
*  start date: Feb  7 00:00:00 2023 GMT
*  expire date: Jul  1 23:59:59 2023 GMT
*  subjectAltName: host "pm.puppet.com" matched cert's "pm.puppet.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET /cgi-bin/pdk_download.cgi?dist=fedora&rel=36&arch=x86_64&ver=latest HTTP/1.1
> Host: pm.puppet.com
> User-Agent: curl/7.85.0
> Accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/html; charset=iso-8859-1
< Date: Mon, 17 Apr 2023 13:58:47 GMT
< Server: Apache/2.4.38 (Debian)
< Content-Length: 531
< Connection: keep-alive
<
 
 
 
 
Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
 [no address given] to inform them of the time this error occurred,
 and the actions you performed just before this error.
More information about this error may be available
in the server error log.
 
* Connection #0 to host pm.puppet.com left intact 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Marty Ewings (Jira)

unread,
Apr 17, 2023, 10:21:03 AM4/17/23
to puppe...@googlegroups.com
Marty Ewings commented on Bug PUP-11839
 
Re: PDK Downloads Erroring

can you try with:

curl -JLOv ‘https://pm.puppet.com/cgi-bin/pdk_download.cgi?dist=fedora&rel=36&arch=x86_64&ver=latest

there is a 302 redirect in there and i think you need the L to follow it

Daniel Milnes (Jira)

unread,
Apr 17, 2023, 10:39:04 AM4/17/23
to puppe...@googlegroups.com
Daniel Milnes commented on Bug PUP-11839
 
Re: PDK Downloads Erroring

Still a HTTP 500 I'm afraid.

Marty Ewings (Jira)

unread,
Apr 17, 2023, 10:43:03 AM4/17/23
to puppe...@googlegroups.com
Marty Ewings commented on Bug PUP-11839
 
Re: PDK Downloads Erroring

interesting im not able to replicate:

❯ curl -JLOv  https://pm.puppet.com/cgi-bin/pdk_download.cgi\?dist\=fedora\&rel\=36\&arch\=x86_64\&ver\=latest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 54.201.237.179:443...
* Connected to pm.puppet.com (54.201.237.179) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [227 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [89 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4961 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [333 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [70 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: CN=pm.puppet.com
*  start date: Feb  7 00:00:00 2023 GMT
*  expire date: Jul  1 23:59:59 2023 GMT
*  subjectAltName: host "pm.puppet.com" matched cert's "pm.puppet.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0> GET /cgi-bin/pdk_download.cgi?dist=fedora&rel=36&arch=x86_64&ver=latest HTTP/1.1
> Host: pm.puppet.com
> User-Agent: curl/7.77.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Moved
< Content-Disposition: attachment; filename=pdk-2.7.1.0-1.fc36.x86_64.rpm
< Content-Type: text/html
< Date: Mon, 17 Apr 2023 14:40:51 GMT
< Location: https://yum.puppet.com/puppet-tools/fedora/36/x86_64/pdk-2.7.1.0-1.fc36.x86_64.rpm
< Server: Apache/2.4.38 (Debian)
< Content-Length: 27
< Connection: keep-alive
<
* Ignoring the response-body
{ [27 bytes data]
100    27  100    27    0     0     23      0  0:00:01  0:00:01 --:--:--    23
* Connection #0 to host pm.puppet.com left intact
* Issue another request to this URL: 'https://yum.puppet.com/puppet-tools/fedora/36/x86_64/pdk-2.7.1.0-1.fc36.x86_64.rpm'
*   Trying 13.224.132.72:443...
* Connected to yum.puppet.com (13.224.132.72) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [228 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4966 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=yum.puppet.com
*  start date: Feb 24 00:00:00 2023 GMT
*  expire date: Jul  1 23:59:59 2023 GMT
*  subjectAltName: host "yum.puppet.com" matched cert's "yum.puppet.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fb3e180de00)
> GET /puppet-tools/fedora/36/x86_64/pdk-2.7.1.0-1.fc36.x86_64.rpm HTTP/2
> Host: yum.puppet.com
> user-agent: curl/7.77.0
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< content-type: application/x-redhat-package-manager
< content-length: 169847719
< date: Mon, 17 Apr 2023 13:55:16 GMT
< last-modified: Mon, 27 Mar 2023 08:20:35 GMT
< x-amz-version-id: ehdiWscrPm7heu2ndg9I6hs8AeSq2PH0
< etag: "b4504edb2a1c85b600be3d9dbffda08e-21"
< server: AmazonS3
< x-cache: Hit from cloudfront
< via: 1.1 d96c6a517450b169095d23aff6d646a4.cloudfront.net (CloudFront)
< x-amz-cf-pop: LHR3-C2
< alt-svc: h3=":443"; ma=86400
< x-amz-cf-id: GIxiYbzPHrhJgoWpEwHWzG16oV8EOPMQzNhodYc1fhfzB3xkqiNh9w==
< age: 2736
<
{ [15987 bytes data]
  9  161M    9 15.5M    0     0  4521k      0  0:00:36  0:00:03  0:00:33 7947k
100  161M  100  161M    0     0  7693k      0  0:00:21  0:00:21 --:--:-- 8750k
* Connection #1 to host yum.puppet.com left intact

Tony Vu (Jira)

unread,
Apr 18, 2023, 4:26:02 PM4/18/23
to puppe...@googlegroups.com
Tony Vu commented on Bug PUP-11839
 
Re: PDK Downloads Erroring

Isaac Hammes do you know what project this might be more appropriate for?

Eric Griswold (Jira)

unread,
Apr 25, 2023, 4:45:01 PM4/25/23
to puppe...@googlegroups.com
Eric Griswold commented on Bug PUP-11839
 
Re: PDK Downloads Erroring

We saw multiple reports of this but we cannot reproduce it. Please report back if its still a problem please post the complete output.

Reply all
Reply to author
Forward
0 new messages