# UNIMPLEMENTED: grpc: Decompressor is not installed for gzip

- **ID:** `grpc/compressor-not-installed`
- **Domain:** grpc
- **Category:** encoding_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The gRPC client or server does not have the required compression library registered to handle gzip-encoded messages.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| grpc-go v1.56.0 | active | — | — |
| grpc-java v1.58.0 | active | — | — |
| grpc-python v1.60.0 | active | — | — |

## Workarounds

1. **Register the gzip decompressor in gRPC options: for Python, use `grpc.insecure_channel('target', options=[('grpc.enable_decompression', True)])` and ensure `grpc` is installed with compression support.** (75% success)
   ```
   Register the gzip decompressor in gRPC options: for Python, use `grpc.insecure_channel('target', options=[('grpc.enable_decompression', True)])` and ensure `grpc` is installed with compression support.
   ```
2. **Disable compression on the client side by setting `grpc.default_compression_algorithm` to 'identity' in channel options: `options=[('grpc.default_compression_algorithm', 0)]`.** (85% success)
   ```
   Disable compression on the client side by setting `grpc.default_compression_algorithm` to 'identity' in channel options: `options=[('grpc.default_compression_algorithm', 0)]`.
   ```

## Dead Ends

- **Reinstall grpc package with pip install --upgrade grpcio** — The issue is not package version but missing compression registration; reinstalling doesn't register the decompressor. (90% fail)
- **Set environment variable GRPC_DEFAULT_SSL_ROOTS_FILE_PATH** — This env var controls SSL roots, not compression codecs; completely unrelated. (95% fail)
