Git Product home page Git Product logo

Comments (4)

shopware-issue-bot avatar shopware-issue-bot commented on June 3, 2024

We found the following existing issues which may help or are related to your topic:

from shopware.

KaiOnGitHub avatar KaiOnGitHub commented on June 3, 2024

+1
PHP 8.1.22
Shopware 6.5.7.4

from shopware.

KaiOnGitHub avatar KaiOnGitHub commented on June 3, 2024

@5imun
I was having a look at this and it looks to me as if the problem is caused by excessive logging. The fileExists method is only called twice per ProductExportPartialGeneration message but there were also 30k lines of deprecation logs per message.
We have the fingers_crossed handler active, which means these messages only get logged if there is an error in the application.

My suspicion: In our case directory permissions were set incorrecty after the cache was cleared which caused the actual error and likely also triggered logging of the deprecation warnings and that probably caused the rate limit error from GCP. This was the actual error in the context of the rate limit errors:

messenger.CRITICAL: Error thrown while handling message 
Shopware\Core\Content\ProductExport\ScheduledTask\ProductExportPartialGeneration. Removing from transport after 3 retries. Error: "Handling "Shopware\Core\Content\ProductExport\ScheduledTask\ProductExportPartialGeneration" failed: Unable to create the cache directory (/sw6/var/cache/prod_h9258d60f2814c4607b74fb896fd831cf/twig/string-template-renderer/23)

These are the deprecation warnings:

User Deprecated: Since shopware/core : Method "Shopware\Core\Framework\Log\LoggerFactory::Shopware\Core\Framework\Log\LoggerFactory::createRotating()" is deprecated and will be removed in createRotating.

User Deprecated: Since shopware/core : Method "Shopware\Core\Content\Media\Pathname\UrlGenerator::Shopware\Core\Content\Media\Pathname\UrlGenerator::getRelativeMediaUrl()" is deprecated and will be removed in v6.6.0.0. Use "Use AbstractUrlGenerator instead" instead.

User Deprecated: Since shopware/core : Method "Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::generateMd5Path()" is deprecated and will be removed in v6.6.0.0.

User Deprecated: Since shopware/core : Method "Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::generatePathCacheBuster()" is deprecated and will be removed in v6.6.0.0.

User Deprecated: Since shopware/core : Method "Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::Shopware\Core\Content\Media\Pathname\PathnameStrategy\AbstractPathNameStrategy::generatePhysicalFilename()" is deprecated and will be removed in v6.6.0.0.

from shopware.

5imun avatar 5imun commented on June 3, 2024

@KaiOnGitHub This specific issue was solved in this PR, PR was closed but relevant commit was cherrypicked to shopware:trunk so you should not have this problem anymore if you are using newer version.

This issue should be closed

from shopware.

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.