Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

status 413 Payload Too Large does not show error message #10785

Closed
Redsandro opened this issue Aug 21, 2018 · 4 comments
Closed

status 413 Payload Too Large does not show error message #10785

Redsandro opened this issue Aug 21, 2018 · 4 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@Redsandro
Copy link

Steps to reproduce

  1. Go to Files
  2. Create new folder, go to new empty folder
  3. Drag-drop upload big file

Expected behaviour

Show error message that file is too big.

Actual behaviour

Upload seems to freeze

image

But when opening the developer console, we learn that:

Failed to load resource: the server responded with a status of 413 ()
https://drive.example.com/remote.php/dav/uploads/redsandro/web-file-upload-7a7e11b3322ec3b17b45f03cab2f2524-1534874359025/0
Uncaught TypeError: Cannot read property 'message' of undefined
    at HTMLInputElement.fail (merged-index.js?v=b76b23a7-0:1318)
    at e.(/apps/files/anonymous function).(anonymous function)._trigger (https://drive.example.com/core/vendor/core.js?v=b76b23a7-0:13:10075)
    at e.(/apps/files/anonymous function).(anonymous function)._onFail (https://drive.example.com/js/files/merged-index.js?v=b76b23a7-0:2683:18)
    at e.(/apps/files/anonymous function).(anonymous function)._onFail (https://drive.example.com/core/vendor/core.js?v=b76b23a7-0:13:5077)
    at merged-index.js?v=b76b23a7-0:2717
    at j (core.js?v=b76b23a7-0:2)
    at Object.fireWith [as rejectWith] (core.js?v=b76b23a7-0:2)
    at Object.<anonymous> (merged-index.js?v=b76b23a7-0:2614)
    at j (core.js?v=b76b23a7-0:2)
    at Object.fireWith [as rejectWith] (core.js?v=b76b23a7-0:2)

DevTools failed to parse SourceMap: https://drive.example.com/core/vendor/purify.min.js.map

Server configuration

Operating system: Linux 4.9.0-4-amd64 #1 SMP Debian 4.9.65-3+deb9u1 (2017-12-23) x86_64

Webserver: nginx/1.15.2 (fpm-fcgi)

Database: mysql 10.3.9

PHP version: 7.2.8
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, ctype, curl, dom, fileinfo, filter, ftp, hash, iconv, json, mbstring, SPL, PDO, session, posix, readline, Reflection, standard, SimpleXML, pdo_sqlite, Phar, tokenizer, xml, xmlreader, xmlwriter, mysqlnd, cgi-fcgi, apcu, exif, gd, intl, ldap, memcached, pcntl, pdo_mysql, pdo_pgsql, redis, sodium, zip, Zend OPcache

Nextcloud version: 13.0.5 - 13.0.5.2

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: docker-compose

List of activated apps
Enabled:
 - activity: 2.6.1
 - bruteforcesettings: 1.1.0
 - comments: 1.3.0
 - dav: 1.4.7
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_sharing: 1.5.0
 - files_texteditor: 2.5.1
 - files_trashbin: 1.3.0
 - files_versions: 1.6.0
 - files_videoplayer: 1.2.0
 - firstrunwizard: 2.2.1
 - gallery: 18.0.0
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - nextcloud_announcements: 1.2.0
 - notifications: 2.1.2
 - oauth2: 1.1.1
 - password_policy: 1.3.0
 - provisioning_api: 1.3.0
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - survey_client: 1.1.0
 - systemtags: 1.3.0
 - theming: 1.4.5
 - twofactor_backupcodes: 1.2.3
 - updatenotification: 1.3.0
 - workflowengine: 1.3.0
Disabled:
 - admin_audit
 - encryption
 - files_external
 - files_pdfviewer
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "dbtype": "mysql",
    "version": "13.0.5.2",
    "dbport": "",
    "dbtableprefix": "",
    "installed": true,
    "mail_smtpmode": "php",
    "mail_smtpauthtype": "LOGIN",
}

Are you using external storage, if yes which one: docker volume

Are you using encryption: no

Client configuration

Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3521.2 Safari/537.36

Operating system: Linux Mint 19 AKA Ubuntu 18.04

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #10005 (show error message when group exists), #459 (Encoding error in error messages), #6010 (Show LDAP lock out message), #7543 (Files not shown, error with IPWhitelist), and #3279 (user_external should log error message if authentication over imap does not work).

@krishnaguragain
Copy link

+1

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@metaMMA
Copy link

metaMMA commented Jun 21, 2019

I know OP is not using encryption, but for others who may be seeing the 413 error, I found a solution that worked for me.

The usual fixes of increasing the values in nginx.conf and php.ini didn't help me. The issue was with the letsencrypt container. See the solution here:

nextcloud/docker#762 (comment)

@szaimen
Copy link
Contributor

szaimen commented May 26, 2021

I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

@szaimen szaimen closed this as completed May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

No branches or pull requests

6 participants