View Single Post
10-31-22, 10:21 AM   #3
Dolby
PPAP
 
Dolby's Avatar
WoWInterface Admin
Join Date: Feb 2004
Posts: 2,341
The error suggest that curl has an issue with the ssl cert. Which is strange because it works for me and we've gotten hundreds of updates via our API recently.

What do you get if you run this command?
Code:
curl https://api.wowinterface.com -vI
It should look something like this...
Code:
$ curl https://api.wowinterface.com -vI
*   Trying 104.25.39.63...
* TCP_NODELAY set
* Connected to api.wowinterface.com (104.25.39.63) 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):
* TLSv1.2 (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-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: Jun  2 00:00:00 2022 GMT
*  expire date: Jun  1 23:59:59 2023 GMT
*  subjectAltName: host "api.wowinterface.com" matched cert's "*.wowinterface.com"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  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 0x7f961280d600)
> HEAD / HTTP/2
> Host: api.wowinterface.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 403
HTTP/2 403
< date: Mon, 31 Oct 2022 16:19:53 GMT
date: Mon, 31 Oct 2022 16:19:53 GMT
< content-type: text/html; charset=iso-8859-1
content-type: text/html; charset=iso-8859-1
< vary: Accept-Encoding
vary: Accept-Encoding
< cf-cache-status: DYNAMIC
cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=h3%2BGzoeKCDgC5asRucvJJJ1BWb%2B9FmnZzCAtPmILUXtMQQGOrEYpw8CUtiJFpUfPnVqswKn0HIGwFxQovgfl%2B963gInbFyQN%2B7%2BJkWogfw1Y0wX%2Bh7E14A4s%2BNqfyCQRvmLo88gj"}],"group":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=h3%2BGzoeKCDgC5asRucvJJJ1BWb%2B9FmnZzCAtPmILUXtMQQGOrEYpw8CUtiJFpUfPnVqswKn0HIGwFxQovgfl%2B963gInbFyQN%2B7%2BJkWogfw1Y0wX%2Bh7E14A4s%2BNqfyCQRvmLo88gj"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
server: cloudflare
< cf-ray: 762db705fa47e26c-ORD
cf-ray: 762db705fa47e26c-ORD
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400

<
* Connection #0 to host api.wowinterface.com left intact
* Closing connection 0
  Reply With Quote