# Auth0 api returns errors due to cloudfare server?

**URL:** <https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641>\
**Category:** Get Help\
**Tags:** connection-provisioning-flows, connections\
**Created:** [November 18, 2025, 3:39pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641 "2025-11-18T15:39:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prashanth9](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashanth9/32/71147_2.png) [@prashanth9](https://community.auth0.com/u/prashanth9)\
**Post date:** [November 18, 2025, 3:39pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641/1 "2025-11-18T15:39:20Z")

</div>

curl -v -H “User-Agent: Python-urllib/3.12” `https://auth0.ourdomain.com/.well-known/jwks.json`

- Trying 104.18.43.182:443…
- Connected to `auth0.ourdomain.com` (104.18.43.182) port 443 (#0)
- ALPN: offers h2
- ALPN: offers http/1.1
- CAfile: /Users/prashanth9/opt/anaconda3/ssl/cacert.pem
- CApath: none
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
- TLSv1.3 (IN), TLS handshake, Certificate (11):
- TLSv1.3 (IN), TLS handshake, CERT verify (15):
- TLSv1.3 (IN), TLS handshake, Finished (20):
- TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.3 (OUT), TLS handshake, Finished (20):
- SSL connection using TLSv1.3 / TLS\_AES\_256\_GCM\_SHA384
- ALPN: server accepted h2
- Server certificate:
- subject: `CN=auth0.ourdomain.com`
- start date: Nov 4 07:26:24 2025 GMT
- expire date: Feb 2 07:26:23 2026 GMT
- subjectAltName: host “`auth0.ourdomain.com`” matched cert’s “`auth0.ourdomain.com`”
- issuer: C=US; O=Let’s Encrypt; CN=E7
- SSL certificate verify ok.
- Using HTTP2, server supports multiplexing
- Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
- h2h3 [:method: GET]
- h2h3 [:path: /.well-known/jwks.json]
- h2h3 [:scheme: https]
- h2h3 [:authority: `auth0.ourdomain.com`]
- h2h3 [accept: _/_]
- h2h3 [user-agent: Python-urllib/3.12]
- Using Stream ID: 1 (easy handle 0x7fe93e015c00)

> GET /.well-known/jwks.json HTTP/2  
> Host: `auth0.ourdomain.com`  
> accept: _/_  
> user-agent: Python-urllib/3.12

- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- old SSL session ID is stale, removing  
\< HTTP/2 403  
\< date: Tue, 18 Nov 2025 15:27:27 GMT  
\< content-type: text/plain; charset=UTF-8  
\< content-length: 16  
\< x-frame-options: SAMEORIGIN  
\< referrer-policy: same-origin  
\< cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0  
\< expires: Thu, 01 Jan 1970 00:00:01 GMT  
\< x-content-type-options: nosniff  
\< server: cloudflare  
\< cf-ray: 9a087df21cdb5e60-EWR  
\< alt-svc: h3=“:443”; ma=86400  
\<
- Connection #0 to host `auth0.ourdomain.com` left intact  
error code: 1010%

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [November 18, 2025, 3:40pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641/3 "2025-11-18T15:40:58Z")

</div>

Hi @prashanth9 and welcome to the Auth0 Community!

Cloudflare is currently having an outage that is affecting multiple sites. I believe this will get resolved once their status is available again.

Thank you for your understanding!  
Teodor.

---

<div class="post-metadata">

**Author:** ![wingersoll](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/wingersoll/32/60540_2.png) [@wingersoll](https://community.auth0.com/u/wingersoll)\
**Post date:** [November 18, 2025, 3:47pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641/4 "2025-11-18T15:47:49Z")

</div>

I reported this same issue earlier.

Maybe related to Cloudflare outage, but I found that if I override the User-Agent header to something other than “Python-urllib/3.12”, it worked again.

```python
+ uaheader = {"User-Agent": "Something"}

+ key = jwt.PyJWKClient(jwks_uri, headers=uaheader).\

+ get_signing_key_from_jwt(token)

```

---

<div class="post-metadata">

**Author:** ![prashanth9](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashanth9/32/71147_2.png) [@prashanth9](https://community.auth0.com/u/prashanth9)\
**Post date:** [November 18, 2025, 4:04pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641/5 "2025-11-18T16:04:22Z")

</div>

Yes, this solution works and we’ve made our auth0 user-agent a configurable env var for future.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 2, 2025, 4:04pm UTC](https://community.auth0.com/t/auth0-api-returns-errors-due-to-cloudfare-server/194641/6 "2025-12-02T16:04:49Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
