You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After opening a file from an external storage location (all SMB in my case), the file fails to load in the webapplication (e.g. pdf: An error occurred while loading the PDF. ) , in the Android client (Failed to download) or in Collabora ( loadComponentFromURL returned an empty reference). The fpm container log states "upstream prematurely closed FastCGI request while reading upstream"
Version of Collabora Online
6.4.7.5
collabora/code:6.4.7.5 docker image
Logs
[PHP] Error: Error: fread(): Icewind\SMB\Native\NativeReadStream::stream_read - read 5409 bytes more data than requested (13601 read, 8192 max) - excess data will be lost at /var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php#55 at <<closure>>
0. <<closure>>
OC\Log\ErrorHandler::onError(2, "fread(): Icewin ... t", "/var/www/html/a ... p", 55, {count: 8192})
1. /var/www/html/apps/files_external/3rdparty/icewind/streams/src/Wrapper.php line 55
fread(null, 8192)
2. /var/www/html/apps/files_external/3rdparty/icewind/streams/src/CallbackWrapper.php line 96
Icewind\Streams\Wrapper->stream_read(8192)
3. <<closure>>
Icewind\Streams\CallbackWrapper->stream_read(8192)
4. /var/www/html/3rdparty/sabre/http/lib/Sapi.php line 112
stream_copy_to_stream(null, null, 4194304)
5. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 490
Sabre\HTTP\Sapi::sendResponse(Sabre\HTTP\Response {})
6. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod(Sabre\HTTP\Request {}, Sabre\HTTP\Response {})
7. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
8. /var/www/html/apps/dav/lib/Server.php line 332
Sabre\DAV\Server->exec()
9. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
10. /var/www/html/remote.php line 167
require_once("/var/www/html/a ... p")
GET /remote.php/dav/files/path/file.pdf
from x.x.x.x by xxx at 2021-05-10T08:04:56+00:00
The text was updated successfully, but these errors were encountered:
Describe the bug
After opening a file from an external storage location (all SMB in my case), the file fails to load in the webapplication (e.g. pdf: An error occurred while loading the PDF. ) , in the Android client (Failed to download) or in Collabora ( loadComponentFromURL returned an empty reference). The fpm container log states "upstream prematurely closed FastCGI request while reading upstream"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Open/download file
Client details:
Server details
Operating system:
Debian GNU/Linux 10 (buster)/Linux 4.19.0-14-amd64 x86_64/Docker version 20.10.5, build 55c4c88
Web server:
nginx:1.19.7-alpine docker image
Database:
PostgreSQL 13.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.2.1_pre1) 10.2.1 20201203, 64-bit
postgres:13.2-alpine docker image
PHP version:
7.4.16
Nextcloud version:
21.0.1
nextcloud:21.0.1-fpm docker image
Version of the richdocuments app
4.0.4
Version of Collabora Online
6.4.7.5
collabora/code:6.4.7.5 docker image
Logs
The text was updated successfully, but these errors were encountered: