# UNIMPLEMENTED: grpc: Decompressor is not installed for algorithm gzip

- **ID:** `grpc/compression-algorithm-not-installed`
- **Domain:** grpc
- **Category:** encoding_error
- **Verification:** ai_generated
- **Fix Rate:** 85%

## Root Cause

The gRPC client or server received a message compressed with an algorithm for which no decompressor is registered, often due to missing build of compression library.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| gRPC C++ 1.62.0 | active | — | — |
| gRPC Python 1.64.0 | active | — | — |
| gRPC Go 1.65.0 | active | — | — |

## Workarounds

1. **Rebuild gRPC with compression support: In C++, set `-DgRPC_BUILD_CODEC=ON` and `export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt` then recompile** (85% success)
   ```
   Rebuild gRPC with compression support: In C++, set `-DgRPC_BUILD_CODEC=ON` and `export GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=/etc/ssl/certs/ca-certificates.crt` then recompile
   ```
2. **In gRPC Python, install with extra compression: `pip install grpcio[compression]` or explicitly import `grpc._compression` and register `grpc.Compression.Gzip`** (90% success)
   ```
   In gRPC Python, install with extra compression: `pip install grpcio[compression]` or explicitly import `grpc._compression` and register `grpc.Compression.Gzip`
   ```

## Dead Ends

- **Reinstall gRPC without any compression flags** — Default install may not include gzip support; need explicit build flag. (70% fail)
- **Disable compression on the server only** — Client may still send compressed messages if not configured to avoid it. (60% fail)
- **Set environment variable to force plain text mode** — gRPC compression is negotiated per call; env vars don't override protocol. (80% fail)
