Page MenuHomePhabricator

Intermittent Apple Pay timeouts when testing locally
Closed, DeclinedPublic

Description

I was seeing timeouts in the logs when trying to donate with Apple Pay, preventing the process from completing. This might have been a temporary blip as it seemed to work 10 minutes later, but it timed out a bunch of times, so I figured it's worth logging in to see if we are getting similar failures on production.

Screenshot 2022-09-28 at 14.32.17.png (1×2 px, 1 MB)

2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: adyen::15147:15147.1  | cURL transaction to https://apple-pay-gateway-cert.apple.com/paymentservices/startSession failed: (28) Operation timed out after 7001 milliseconds with 0 bytes received. cURL verbose logging: *   Trying 17.171.85.7:443...
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Connected to apple-pay-gateway-cert.apple.com (17.171.85.7) port 443 (#0)
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering h2
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * successfully set certificate verify locations:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CAfile: /etc/ssl/certs/ca-certificates.crt
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CApath: /etc/ssl/certs
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, server accepted to use http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Server certificate:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=California; serialNumber=C0806592; C=US; ST=California; L=Cupertino; O=Apple Inc.; OU=management:idms.group.560948; CN=apple-pay-gateway-cert.apple.com
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  start date: Feb 16 12:29:45 2022 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  expire date: Mar 18 12:29:44 2023 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subjectAltName: host "apple-pay-gateway-cert.apple.com" matched cert's "apple-pay-gateway-cert.apple.com"
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  issuer: C=US; O=Apple Inc.; CN=Apple Public EV Server RSA CA 1 - G1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  SSL certificate verify ok.
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: > POST /paymentservices/startSession HTTP/1.1\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Host: apple-pay-gateway-cert.apple.com\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: User-Agent: SmashPig\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Accept: */*\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Length: 162\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Type: application/x-www-form-urlencoded\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: \x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * upload completely sent off: 162 out of 162 bytes
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Operation timed out after 7000 milliseconds with 0 bytes received
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Closing connection 0
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Hostname apple-pay-gateway-cert.apple.com was found in DNS cache
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *   Trying 17.171.85.7:443...
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Connected to apple-pay-gateway-cert.apple.com (17.171.85.7) port 443 (#1)
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering h2
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * successfully set certificate verify locations:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CAfile: /etc/ssl/certs/ca-certificates.crt
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CApath: /etc/ssl/certs
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * SSL re-using session ID
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, server accepted to use http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Server certificate:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=California; serialNumber=C0806592; C=US; ST=California; L=Cupertino; O=Apple Inc.; OU=management:idms.group.560948; CN=apple-pay-gateway-cert.apple.com
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  start date: Feb 16 12:29:45 2022 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  expire date: Mar 18 12:29:44 2023 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subjectAltName: host "apple-pay-gateway-cert.apple.com" matched cert's "apple-pay-gateway-cert.apple.com"
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  issuer: C=US; O=Apple Inc.; CN=Apple Public EV Server RSA CA 1 - G1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  SSL certificate verify ok.
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: > POST /paymentservices/startSession HTTP/1.1\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Host: apple-pay-gateway-cert.apple.com\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: User-Agent: SmashPig\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Accept: */*\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Length: 162\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Type: application/x-www-form-urlencoded\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: \x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * upload completely sent off: 162 out of 162 bytes
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Operation timed out after 7000 milliseconds with 0 bytes received
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Closing connection 1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Hostname apple-pay-gateway-cert.apple.com was found in DNS cache
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *   Trying 17.171.85.7:443...
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Connected to apple-pay-gateway-cert.apple.com (17.171.85.7) port 443 (#2)
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering h2
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, offering http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * successfully set certificate verify locations:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CAfile: /etc/ssl/certs/ca-certificates.crt
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  CApath: /etc/ssl/certs
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * SSL re-using session ID
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * ALPN, server accepted to use http/1.1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Server certificate:
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subject: businessCategory=Private Organization; jurisdictionC=US; jurisdictionST=California; serialNumber=C0806592; C=US; ST=California; L=Cupertino; O=Apple Inc.; OU=management:idms.group.560948; CN=apple-pay-gateway-cert.apple.com
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  start date: Feb 16 12:29:45 2022 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  expire date: Mar 18 12:29:44 2023 GMT
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  subjectAltName: host "apple-pay-gateway-cert.apple.com" matched cert's "apple-pay-gateway-cert.apple.com"
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  issuer: C=US; O=Apple Inc.; CN=Apple Public EV Server RSA CA 1 - G1
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: *  SSL certificate verify ok.
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: > POST /paymentservices/startSession HTTP/1.1\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Host: apple-pay-gateway-cert.apple.com\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: User-Agent: SmashPig\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Accept: */*\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Length: 162\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: Content-Type: application/x-www-form-urlencoded\x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: \x0d
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * upload completely sent off: 162 out of 162 bytes
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Operation timed out after 7001 milliseconds with 0 bytes received
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: * Closing connection 2
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen:  |  | 
2022-09-28T13:25:20+00:00 67c12c840196 SmashPig-Adyen: adyen::15147:15147.1  | cURL transaction to https://apple-pay-gateway-cert.apple.com/paymentservices/startSession failed 3 times! Please see previous warning-level logs for details. |  |

Event Timeline

greg triaged this task as Low priority.Nov 15 2022, 10:03 PM
Aklapper added a subscriber: XenoRyet.

@XenoRyet: Please associate at least one active team/codebase project tag with a task, so people can find a task when looking at project workboards or searching for tasks in certain projects. Thanks.