Define what 'occasionally' and 'unable to connect' actually mean
Both words hide the information that determines which layer to look at. Going to the logs before pinning this down means searching an unbounded space, and it is the difference between a ten-minute investigation and a two-day one.
- Ask for the exact client-side error: connection refused, connection timeout, TLS handshake failure, DNS resolution failure, or an HTTP response code. A refused connection and a 503 have almost nothing in common.
- Get timestamps with timezones, and request or trace identifiers if the partner has them.
- Get the failure rate: one in ten requests, or a five-minute window once a day. A steady low rate and a periodic burst are different problems.
- Ask what their client does on failure — whether it retries, how many times, and with what backoff.
- Establish when it started, and whether anything changed on their side.
What this narrows: A transport-level error (refused, timeout, TLS, DNS) points at network, load balancer or capacity. An HTTP status code points at the application or a gateway, and the code itself usually identifies which. A periodic burst suggests a scheduled job or a resource cycling; a steady rate suggests something proportional to traffic.