Downloading preview in MUC: HTTPRequestError.CONTENT_OVERFLOW: 4
Versions
- OS: openSUSE TW
- Gajim version: 1.7.3+gajim@e145689e
- GTK version: 3.24.38
- Python-nbxmpp version: 4.2.2
Steps to reproduce the problem
- In the public Linux & FLOSS MUC someone* shared an XML file
- Click on "Download"
- simon on May 16, 09:01 am (UTC)
Actual behavior
Gajim fails to download the image. The log says
05/16/2023 21:31:15 (I) gajim.c.preview Start downloading: https://upload.wiuwiu.de/share.php/817f5e65-7f3a-47cd-b1e2-9fb87651c4d8/google.com%21meinedomain.de%211684108800%211684195199.xml
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Created
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Request sent, method: GET, uri: https://upload.wiuwiu.de/share.php/817f5e65-7f3a-47cd-b1e2-9fb87651c4d8/google.com%21meinedomain.de%211684108800%211684195199.xml
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Sniffed: content-type: application/xml, content-length: 609
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Request response received
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Start downloading response body
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Finished reading
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Set Failed: 4
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Message finished
05/16/2023 21:31:15 (W) gajim.c.preview Download failed: https://upload.wiuwiu.de/share.php/817f5e65-7f3a-47cd-b1e2-9fb87651c4d8/google.com%21meinedomain.de%211684108800%211684195199.xml - <HTTPRequestError.CONTENT_OVERFLOW: 4>
05/16/2023 21:31:15 (I) nbxmpp.http Request(140015253475456): Run cleanup
Downloading works fine with Conversations. The issue was reproducible in Gajim with 1.7.2 and git master.
Edited by mesonium