> ## Documentation Index
> Fetch the complete documentation index at: https://docs.t3planet.de/en/latest/llms.txt
> Use this file to discover all available pages before exploring further.

# Known Problems

> Known problems and workarounds for AI Search (T3AS), including streaming gzip issues on older versions.

## Streaming search response does not work (T3AS 14.2.2 or older)

**Affected versions:** T3AS **14.2.2 or older** (and the matching T3CS base package), on **TYPO3 v12 / v13**.

On these versions, the search answer may stay empty, appear only after a long delay, or fail in the browser with a content-decoding error. In the Network panel, the streaming request often shows:

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
Content-Encoding: gzip
```

instead of an uncompressed event stream.

### Cause

TYPO3 frontend compression is still enabled in `settings.php`:

```php theme={"theme":{"light":"github-light","dark":"github-dark"}}
$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 5;
```

When this value is `1`–`9`, TYPO3 gzip-compresses the full frontend response and adds `Content-Encoding: gzip`. Search streaming needs incremental Server-Sent Events. Gzip waits for the complete body before sending it, so the live response cannot be delivered.

This is TYPO3 core frontend compression, not a search configuration error.

### Workaround (14.2.2 or older)

1. Open `config/system/settings.php`.
2. Find:

```php theme={"theme":{"light":"github-light","dark":"github-dark"}}
$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 5;
```

3. **Remove** that line, or set:

```php theme={"theme":{"light":"github-light","dark":"github-dark"}}
$GLOBALS['TYPO3_CONF_VARS']['FE']['compressionLevel'] = 0;
```

4. Flush all TYPO3 caches.
5. Run a search again. The streaming response should work, and `Content-Encoding: gzip` should no longer be applied to that request.

<Note>
  Setting `compressionLevel` to `0` disables TYPO3 application-level gzip for **all** frontend pages. HTML compression can still be handled by the web server (Apache `mod_deflate`, nginx `gzip`).
</Note>

<Tip>
  **Newer T3AS releases** disable gzip only for search streaming requests. After you update past 14.2.2, you can keep `compressionLevel = 5` for normal pages.
</Tip>

## Report a Problem

Facing trouble while using the T3AS extension?

We're here to help! Please report your issues through our support portal:
[https://t3planet.de/support](https://t3planet.de/support)
