GithubHelp home page GithubHelp logo

Unknown http code 413 about gsb4u HOT 4 CLOSED

 avatar commented on July 22, 2024
Unknown http code 413

from gsb4u.

Comments (4)

client9 avatar client9 commented on July 22, 2024

Hi, you appear to have a very fragmented set of "chunks" and the request to get new chunks is very large causing the 413 ( request too big ). Have you been running gsb for a long time? or just starting up?

You could just let this run for a day $gsblists = array('googpub-phish-shavar'), then add the other one back in, or zap all the data and start over. I'll have to take a look at what the GSB max request length is (if specified) and adjust the request accordingly.

thanks for the report

nickg

from gsb4u.

 avatar commented on July 22, 2024

I'm running system about 2 month. And all bases is up to date.

Now I created cron1.sh and cron2.sh and which first is updating goog-malware-shavar and second is updating googpub-phish-shavar. And all bases is up to date, but anyway I cannot run normal cron.sh

from gsb4u.

 avatar commented on July 22, 2024

I tried to remember my PHP knowledge )

So my sub-list was really fragmented - over 400 ranges.
I change function list2range from
return implode(',', $ranges);
to
return implode(',', array_slice($ranges, 0, 100));

from gsb4u.

 avatar commented on July 22, 2024

My last fix failed. Somehow chankes didn't process. When I ran update a many times every time the same sub-chunks from goog-malware-shavar processed, but that changes wasnt fixed in database. And because that happend I got very fragmented database. That's how I understand situation.

So I just erase database with erase_database.php and now gsb4u is working excellent.

Thank you for gsb4u. It's great product.

from gsb4u.

Related Issues (2)

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.