Flaky API since about 1 week

Hi awork,

since about 1 week we receive multiple errors per day that the API is not responding correctly.

This only happens for a short amount of time, CF is reporting a 521 (web server is down):

{
  "response": null,
  "raw": "error code: 521",
  "headers": {
    "Date": [
      "Mon, 03 Feb 2025 17:20:23 GMT"
    ],
    "Content-Type": [
      "text/plain; charset=UTF-8"
    ],
    "Content-Length": [
      "15"
    ],
    "Connection": [
      "keep-alive"
    ],
    "Report-To": [
      "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=IvFDL1Rss9fhUBHWhtWi4SxN%2BytKuAEFTr%2F4g9j57SLTTetj5%2BrIwpW9LGcrm6aTstn6QRMOZT8frW%2BHkTb1Ohkr6qs2ZtUvEhUmLZh0RKm072U4AIZvH4Yi7mFA3325isCsuRoN1PFZr8A%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"
    ],
    "NEL": [
      "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"
    ],
    "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"
    ],
    "Server": [
      "cloudflare"
    ],
    "CF-RAY": [
      "90c417613bef99ed-CDG"
    ],
    "server-timing": [
      "cfL4;desc=\"?proto=TCP&rtt=13371&min_rtt=13233&rtt_var=5061&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2835&recv_bytes=1513&delivery_rate=305599&cwnd=252&unsent_bytes=0&cid=e768a10c7378b8cc&ts=53&x=0\""
    ]
  }
}

Is this something you know about and can be fixed?

Hi @tk1, we are seeing some edge errors at the time you reported and we’re looking into it. I don’t have any more details now but I’ll keep you posted.

Great, thank you.
If it helps, we just experienced multiple errors at around 15:45.

LMK if you need the logs for exact timestamps :+1: