# h11._util.LocalProtocolError: can't handle event type ConnectionClosed when role=SERVER and state=SEND_RESPONSE

- **ID:** `python/starlette-uvicorn-h11-incomplete-read`
- **Domain:** python
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The client disconnected before uvicorn finished sending the response (e.g., browser navigation or timeout), leaving h11 in an inconsistent state.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 0.29+ | active | — | — |

## Workarounds

1. **** (85% success)
   ```
   pip install -U uvicorn h11
   ```
2. **** (75% success)
   ```
   uvicorn app:app --timeout-keep-alive 30
   ```

## Dead Ends

- **** — The error occurs in the protocol layer below the ASGI app; middleware never sees it. (80% fail)
- **** — The protocol behavior is correct; downgrading only changes the error text. (70% fail)
