Git Product home page Git Product logo

Comments (7)

Seedmanc avatar Seedmanc commented on June 8, 2024

Great, now I'll never know which one of the recent updates caused the bug if at all.

request entity too large

You sure you're not hitting the booru limit on file size here? Were you able to upload similar files before?

from booru-mass-uploader.

pokeball99 avatar pokeball99 commented on June 8, 2024

i mean, i am able to upload it ok sometimes, its when its hits a already uploaded file or gets the "too large" error when this happens wait i just reread what you said, let me talk to the booru admin and ask him to see what the file limit is

from booru-mass-uploader.

antonizoon avatar antonizoon commented on June 8, 2024

To clarify, this is just a non-public instance of Moebooru, so the local ip address isn't all that useful.

I feel like I may have set an Nginx rule that limits the size of the content being sent, as is standard. Don't know if Moebooru has its own limits to be tweaked.

from booru-mass-uploader.

Seedmanc avatar Seedmanc commented on June 8, 2024

Uncaught SyntaxError: Unexpected token <

This probably means the server returns an error page instead of expected JSON message. I changed uploader.js a bit to support HTML responses. Try again and see what console tells you.

It's unexpected that it would fail on duplicates, but if you have a non-standard moebooru config that doesn't return JSON like the rest does, it might fail on any error.

from booru-mass-uploader.

pokeball99 avatar pokeball99 commented on June 8, 2024

hmm... ok, not sure what exactly happened, but after seeing that script had not been updated in at least 21 days (according to tampermonkey), i reinstalled it using the compiled one made 7 days ago on the repo(according to github commits), and now it is working

from booru-mass-uploader.

pokeball99 avatar pokeball99 commented on June 8, 2024

the following is a log of uploading ~100 images to the server
`helpers.min.js:6
uploader.js:328 Refused to set unsafe header "Content-Length"SendFile.reader.onloadend @ uploader.js:328
http://redacted.example/post/create.json Failed to load resource: the server responded with a status of 423 (Locked)
uploader.js:328 Refused to set unsafe header "Content-Length"SendFile.reader.onloadend @ uploader.js:328
http://redacted.example/post/create.json Failed to load resource: the server responded with a status of 413 (Request Entity Too Large)
uploader.js:294

<title>413 Request Entity Too Large</title>
413 Request Entity Too Large

nginx/1.6.3

from booru-mass-uploader.

Seedmanc avatar Seedmanc commented on June 8, 2024

Glad it got fixed (?), although the most work is done "server-side", since the uploader.js and helper.js are loaded from github, the .user.js doesn't change much and only affects the Mass Uploader link placement and initial engine detection.

You probably didn't have to include entire log seeing how it's all the same messages over. On another note I didn't know Github renders HTML in comments.
Να προσέχεις.

from booru-mass-uploader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.