Troubleshooting failed network connections to origin

Sometimes Cloudflare has trouble connecting to our origin. Our team often wishes to know the source IP of the failed request.

In our logpush, we have EdgeServerIp but the value is provided only when the requests are successful. If we are receiving 522 because the origin is not reachable, we can’t use logpush to tell the source IP of the colo that can’t reach us.

It would be nice to include the EdgeServerIp in the logpush on requests that failed to connect to origin.

The health monitors also detect the problem. It would be nice if the health check would report the EdgeServerIp that attempted the check. There is an export option on the Health Check Analytics dashboard where JSON is provided. EdgeServerIp could be provided here.

{
    "sampleInterval": 1,
    "datetime": "2023-05-19T20:40:27Z",
    "failureReason": "httpTimeout",
    "fqdn": "",
    "healthChanged": 0,
    "healthCheckId": "*snip*",
    "healthCheckName": "*snip*",
    "healthStatus": "unhealthy",
    "originIP": "*snip*",
    "originResponseStatus": 0,
    "expectedResponseCodes": "404",
    "region": "NEAS",
    "tcpConnMs": 0,
    "tlsHandshakeMs": 0,
    "timeToFirstByteMs": 0,
    "rttMs": 3000,
    "scope": "region"
  },
1 Like

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