Nextcloud not working in firefox

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.03
Operating system and version (eg, Ubuntu 20.04): almalinux 8.6
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.56
PHP version (eg, 7.4): 8.1.16

The issue you are facing:
Cannot upload files over something like 10mb on firefox web browser whilst safari and chrome work fine

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

The output of your Nextcloud log in Admin > Logging:

Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 45786994 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.		2023-04-03T14:12:57-0600
Error	richdocuments	GuzzleHttp\Exception\ClientException: Client error: `GET https://cloud.stashport.com/home/apps/richdocumentscode/proxy.php?req=/hosting/capabilities` resulted in a `404 Not Found` response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found (truncated...)		2023-04-03T14:10:02-0600
Error	richdocuments	GuzzleHttp\Exception\ClientException: Client error: `GET https://cloud.stashport.com/home/apps/richdocumentscode/proxy.php?req=/hosting/capabilities` resulted in a `404 Not Found` response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found (truncated...)		2023-04-03T14:10:02-0600
Error	richdocuments	GuzzleHttp\Exception\ClientException: Client error: `GET https://cloud.stashport.com/home/apps/richdocumentscode/proxy.php?req=/hosting/capabilities` resulted in a `404 Not Found` response: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found (truncated...)		2023-04-03T14:10:01-0600
Error	no app in context	Sabre\DAV\Exception\BadRequest: Expected filesize of 45786994 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 0 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'PASSWORD’,
  'passwordsalt' => 'PASSWORD',
  'secret' => 'PASSWORD',
  'trusted_domains' => 
  array (
    0 => 'URL',
  ),
  'datadirectory' => '/encZFS,
  'dbtype' => 'mysql',
  'maintenance' => false,
  'version' => '25.0.3.2',
  'overwrite.cli.url' => ‘URL’,
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => ‘DBUSER,
  'dbpassword' => 'PASSWORD',
  'installed' => true,
  'mail_from_address' => 'noreply',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_domain' => ‘WEBSITE’,
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.sendgrid.net',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'apikey',
  'mail_smtppassword' => ‘PASSWORD’,
  'allow_local_remote_servers' => true,
  'quota_include_external_storage' => true,
  'default_phone_region' => 'CA',
  'default_locale' => 'en_US',
  'force_locale' => 'en_US',
  'default_language' => 'en',
  'force_language' => 'en',
  'simpleSignUpLink.shown' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'htaccess.RewriteBase' => '/home',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'theme' => '',
  'loglevel' => 2,
  'filelocking.enabled' => true,
  'memcache.locking' => '\\OC\\Memcache\\APCu',
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\Movie',
    1 => 'OC\\Preview\\MKV',
    2 => 'OC\\Preview\\MP4',
    3 => 'OC\\Preview\\AVI',
    4 => 'OC\\Preview\\Image',
    5 => 'OC\\Preview\\HEIC',
    6 => 'OC\\Preview\\TIFF',
  ),
  'memories.vod.ffmpeg' => '/bin/ffmpeg',
  'memories.vod.ffprobe' => '/bin/ffprobe',
  'memories.vod.path' => '/var/www/nextcloud/apps/memories/exiftool-bin/go-vod-amd64',
  'memories.vod.disable' => false,
  'memories.gis_type' => 1,
  'debug' => true,
  'tempdirectory' => '/var/www/tmpSP',
)```

The output of your Apache/nginx/system log in `/var/log/____`:

IP - - [03/Apr/2023:14:15:38 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:40 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 243 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:15:22 -0600] "GET /index.php/apps/logreader/poll?lastReqId=ZCszxTikgS3KcaEemDkgpAAAAIk HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:15:43 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:46 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:15:48 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:52 -0600] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 - "-" "Mozilla/5.0 (Macintosh) mirall/3.8.0git (build 14589) (Nextcloud, osx-22.4.0 ClientArchitecture: arm64 OsArchitecture: arm64)"

IP - - [03/Apr/2023:14:15:52 -0600] "PROPFIND /remote.php/dav/files/admin@URL.com/ HTTP/1.1" 207 245 "-" "Mozilla/5.0 (Macintosh) mirall/3.8.0git (build 14589) (Nextcloud, osx-22.4.0 ClientArchitecture: arm64 OsArchitecture: arm64)"

IP - - [03/Apr/2023:14:15:52 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:15:53 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:58 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:15:59 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:59 -0600] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:15:42 -0600] "GET /index.php/apps/logreader/poll?lastReqId=ZCszxTikgS3KcaEemDkgpAAAAIk HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:16:02 -0600] "GET /index.php/apps/files/ajax/getstoragestats?dir=%2FDocuments HTTP/1.1" 200 232 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:16:04 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 259 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:16:04 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:16:09 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 258 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:16:10 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 242 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

URL - - [03/Apr/2023:14:16:14 -0600] "GET / HTTP/1.1" 200 156 "-" "Uptime-Kuma/1.18.5"

IP - - [03/Apr/2023:14:16:14 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 258 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:16:16 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 243 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:16:20 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 258 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"

IP - - [03/Apr/2023:14:16:22 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 243 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:16:02 -0600] "GET /index.php/apps/logreader/poll?lastReqId=ZCszxTikgS3KcaEemDkgpAAAAIk HTTP/1.1" 200 22 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"

IP - - [03/Apr/2023:14:16:22 -0600] "PROPFIND /remote.php/dav/files/admin@URL.com/ HTTP/1.1" 207 245 "-" "Mozilla/5.0 (Macintosh) mirall/3.8.0git (build 14589) (Nextcloud, osx-22.4.0 ClientArchitecture: arm64 OsArchitecture: arm64)"

IP - - [03/Apr/2023:14:16:25 -0600] "POST /index.php/apps/text/session/sync HTTP/1.1" 200 258 "-" "Mozilla/5.0 (X11; Ubuntu; Linux aarch64; rv:109.0) Gecko/20100101 Firefox/110.0"```

It’s not a problem native to Firefox because I can upload files over 1GB by drag and drop in the browser.

What version do you have? Any plugins or extensions?

Should be the latest one, the issue may be related to the OS of Ubuntu. Dont know what could be causing the issue however

Hey,

i have the same problem! And I found out, that it is related to HTTP/2: