Unable to download larger files from SMB share

When I try to download files bigger than approx. 200kb from a SMB (windows server 2016) share the browser shows a HTTP 503 error. The nc log shows nothing, even in debug mode, the only hint is in the error.log of apache:
[core:notice] [pid 425] AH00052: child pid 3075 exit signal Segmentation fault (11)
This happens only on a SMB storage. Smaller files are no problem, bigger files are also no problem if I have uploaded it with nextcloud.

Does anyone have a hint for solving this problem?

Thanks

Nextcloud version (eg, 12.0.2): 13.0.0 RC1 and RC2, but happened also in 12.0.4 and earlier
Operating system and version (eg, Ubuntu 17.04): Debian 9.3
Apache or nginx version (eg, Apache 2.4.25): 2.4.25
PHP version (eg, 7.1): 7.0.27

I think I was able to find a reason for the error - but no solution. It seems to have to do with smbclient. If I connect with smblient on CLI to the server I am able to download small files via ‘get xy’ on the smbclient console, but bigger files end with the error “parallel_read returned NT_STATUS_NOT_SUPPORTED”.

Has anyone hints for a solution, Google didn’t help me :frowning:

Thanks

Finally found a solution by myself :grinning:
The problem was smbclient using the SMB3 protocol. So I forced smbclient to use SMB2 by adding
client max protocol = SMB2
to the [global] section of the smb.conf file and voilá, it works! :clap:

1 Like