525 SSL Handshake Failed

Cloudflare: TLS handshake with origin failed.

Status code
525
Reason phrase
SSL Handshake Failed
Class
5xx Server errors
Source
Cloudflare (non-standard)

What does 525 SSL Handshake Failed mean?

Cloudflare-specific: the SSL/TLS handshake between Cloudflare and the origin failed.

Common causes

How to fix it

525 and webhooks

Retried by providers.

Test how your client handles 525

In the webhook tester you can add a response rule that answers 525 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 525 mean?

Cloudflare: TLS handshake with origin failed. Cloudflare-specific: the SSL/TLS handshake between Cloudflare and the origin failed.

Is 525 an error?

Yes — a server error: the request may succeed if retried later.

Other 5xx codes

500 Internal Server Error · 501 Not Implemented · 502 Bad Gateway · 503 Service Unavailable · 504 Gateway Timeout · 505 HTTP Version Not Supported · 507 Insufficient Storage · 508 Loop Detected · 511 Network Authentication Required · 520 Web Server Returned an Unknown Error · 521 Web Server Is Down · 522 Connection Timed Out · 523 Origin Is Unreachable · 524 A Timeout Occurred · 526 Invalid SSL Certificate

← 524   All status codes   526 →

About HTTP 525

The status line “HTTP/1.1 525 SSL Handshake Failed” belongs to the 5xx family — server errors, where the request may be fine but the server failed.

A 525 is usually safe to retry with exponential backoff; most payment providers retry webhooks that got a 525.

When debugging, compare the 525 with server logs at the same timestamp and check proxies or CDNs in between — they can generate a 525 before your app is reached.