TL;DR: if the Fauna Node driver intermittently fails with `FetchError: request to https://db.fauna.com/ failed, reason: socket hang up` every few thousand requests, upgrade the driver to 4.1.1 or newer. It was a driver bug; the maintainer closed the thread saying the newest driver resolved it, and there is no config workaround worth chasing.

```text
FetchError: request to https://db.fauna.com/ failed, reason: socket hang up
```

## Steps

1. Upgrade the driver to at least 4.1.1.

2. Run your normal request volume.

   Expected: the intermittent hang-ups stop. Success check: thousands of requests complete without the FetchError.

## When to use this

- Intermittent socket hang up with no pattern, from a long-lived server (not a lambda thaw issue).
- Driver 4.0.3 or similar older version.

## When NOT to use this

- Every request fails; check network and auth.
- You are already on a current driver and still see it; report it fresh.

## Compatibility

- Fauna Node driver 4.1.1+ (thread closed April 2021).

## Variant phrasings

- "fauna socket hang up node driver"
- "faunadb-js intermittent FetchError"

## Root cause

A driver-side bug dropped connections intermittently under sustained request volume.

## Edge cases

- Retry logic can mask this but not fix it; upgrade instead.

Source: https://github.com/fauna/faunadb-js/issues/377