---
title: "Known limitations"
---

> Documentation Index
> Fetch the complete documentation index at: https://kmworks.date/llms.txt
> Use this file to discover all available pages before exploring further.

# Known limitations

Places where KMServer does not match the Java version and does not plan to — accepted gaps. Improvements and intentional behavior differences are listed under [Enhancements](/server/enhancements).

## Out of scope

These are excluded on purpose rather than gaps:

- Actuator endpoints and metrics that only expose JVM/Spring internals (beans, conditions, env, configprops, loggers, mappings, heapdump, threaddump, `system.*`/`http.server.requests` meters, `jvm.*` beyond `jvm.memory.used` and the like).

## Media formats

- HEIF, HEIC and AVIF pages are decoded by libheif, as in the Java version, but only its HEVC and AV1 decoders are built in. Rare files with other payloads, such as AVC or JPEG, are still served as-is but get no thumbnail or conversion.
- PDF support requires a runtime libpdfium, looked up in `KOMGA_PDFIUM_PATH`, next to the executable, then system paths; when unavailable, every PDF operation returns `Unsupported`. The Java version bundles PDFBox. The Docker image, macOS app, and Windows packages include libpdfium; Linux release archives require a separate library, as described in [Installation](/server/installation).
- JPEG output is not byte-identical to ImageIO (different encoder), an accepted deviation that affects byte-level comparisons of thumbnails and page hashes.

## Search

- The full-text query syntax is a deliberate subset of Komga's Lucene syntax: whitespace-ANDed terms plus `field:` scoping (including `field:(a OR b)` groups). Boolean operators, fuzzy `~`, wildcards, phrases, boosts and `[a TO b]` ranges are searched as literal text, not interpreted as operators — see [Search](/server/search).
- `komga.lucene.index-analyzer.*` and `komga.lucene.commit-delay` are ignored (warned and dropped during Java config migration); the analyzer is fixed to the multilingual ngram chain.

## API

- Request JSON is parsed strictly: property names and search-condition operator tags are case-sensitive (`oneShot`, `isNot`). The Java version accepts any casing (Jackson `ACCEPT_CASE_INSENSITIVE_PROPERTIES` / `ACCEPT_CASE_INSENSITIVE_VALUES`), so payloads spelled `oneshot` or `isnot` work there. Here a wrong-case operator tag or enum value gets a 422, but a wrong-case property name is silently ignored as an unknown field: `PATCH /api/v1/settings` with `{"TaskPoolSize": 3}` returns 204 and changes nothing. Send the documented camelCase forms.
- `server.context-path` only prefixes generated links (OPDS/WebPub/Kobo); routes are not mounted under it, so the server cannot answer under the prefix itself — put it behind a reverse proxy that strips the prefix. The Java version mounts the whole application under it.

## HTTP connections

KMServer does not limit the number of client connections, and it has no timeout for a connection that is waiting for request headers or sitting idle between requests. A client that stops partway through its headers can also keep a graceful shutdown waiting indefinitely. Put public instances behind a reverse proxy and configure connection and header timeouts there.

Direct LAN use can be affected too, without an attack. In a measured KMReader setup, an iPhone that lost its network shortly after a request left six connections open indefinitely. A launchd-started server with a soft limit of 256 open files had room for only about 120 connections after its ordinary open files, so repeated disconnects can eventually prevent new connections. A reverse proxy with suitable upstream timeouts bounds this; restarting KMServer releases the connections it is holding.

## Database / migrations

- Deprecated BCP47 aliases (e.g. `iw` → `he`) are not normalized by the language-code migration for pre-2023-08 libraries, an accepted deviation.

## Ignored Java configuration keys

Warned about and dropped during `application.yml` migration:

- `server.error.*`
- `komga.database.batch-chunk-size`, `komga.tasks-db.batch-chunk-size`
- `komga.database.check-local-filesystem`, `komga.tasks-db.check-local-filesystem`

Ignored but behavior-equivalent (not limitations): `server.tomcat.*` (tomcat-specific), `server.forward-headers-strategy` (always `framework`, except that `X-Forwarded-For` is honored only from [`server.trusted-proxies`](/server/enhancements#security-and-authentication)), shutdown handling (always graceful).

Source: https://kmworks.date/server/limitations/index.mdx
