WebDAV (Mail.ru Cloud): tag parsing fails for all files > 16 MiB — "Invalid range response" on Content-Range: bytes=

App version

Production

Issue description

Symfonium 15.1.0 (127812), Samsung S21 (SM-G991B), Android 15. WebDAV provider: https://webdav.cloud.mail.ru

Tag parsing fails for every new/changed file larger than 16 MiB (“No extracted tags”). Smaller files parse fine, cached files keep their tags. These files were scanned from the same provider in May 2026 on 14.1.0 without issues. Playback and seeking work fine, only the tag parser is affected.

Cause: for the tail read Symfonium sends a range request. Mail.ru answers 206 with the correct body (131072 bytes, correct range) but a non-standard separator in the header (“=” instead of a space, RFC 9110):
Content-range: bytes=38910940-39042011/39042012
Symfonium rejects it:
Error/UriStreamDataReadWrapper: Invalid range response: requestedStart=38910940 expectedTotal=39042012 responseCode=206 contentRange=bytes=38910940-39042011/39042012
Error/UriStreamDataReadWrapper: Seek: Unable to update roaming
Error/TagParserWorker: No extracted tags for /…/03. Confess (ft. Killer Mike).flac (application/octet-stream - flac)
Start, end and total all match the request. Only the separator differs.

Device type

Phone

Media provider

WebDAV

Steps to reproduce

  1. Add a WebDAV provider for https://webdav.cloud.mail.ru (Mail.ru Cloud, app password).(I can provide credentials if necessary.)
  2. Put FLAC files larger than 16 MiB (and some smaller ones) into a library folder.
  3. Run a full sync / rescan.
  4. Observe: all files > 16 MiB get “No extracted tags” (preceded by “Invalid range response”); files ≤ 16 MiB parse fine.

Additional information

Size threshold from a full rescan: 95 files ≤ 16,717,791 bytes parsed OK (single 200 GET, no range request). 283 files ≥ 16,842,318 bytes all failed (200 + 206 tail request → rejected). The threshold is exactly 16 MiB: files that fit in the initial read never issue a range request.

Server side, reproduced with curl:

HTTP/1.1 206 Partial Content
Server: nginx/1.20.2
Content-Length: 131072
Content-range: bytes=38910940-39042011/39042012
X-Host: cld-webdav6

30 requests hit 6 backend nodes (cld-webdav3…8), all returned the same format. This looks like long-standing Mail .ru behavior, so the stricter range validation in 15.x is likely what changed.

Request: could the tag parser’s range check accept “bytes=” (or trust the 206 when start/end/total parse correctly)? The playback stack already tolerates this header. Only UriStreamDataReadWrapper in the tag parser rejects it

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

MhtHCYrFT9CUWc5g7RFu2H6k4

Thank you for the detailed report. I can confirm that your logs show the 206 tail response being rejected because the header uses bytes=. The requested start and total match. This also explains the 16 MiB boundary: larger files need a separate tail request, while smaller files can be read through the initial buffered stream.

The compatibility change needed is to accept this separator while keeping the response-code and numeric range checks. I have enough information for this finding; I don’t need your credentials.

Thanks for the quick confirmation! I’ll test once the fix is out and report back