• Resolved strarsis

    (@strarsis)


    On a development site that uses data of a production site I get the following error after a very long loading time:
    Allowed memory size of 4294967296 bytes exhausted (tried to allocate 3429080 bytes) {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\FatalError(code: 0): Allowed memory size of 4294967296 bytes exhausted (tried to allocate 3429080 bytes) at [...]/plugins/woocommerce-germanized/vendor/defuse/php-encryption/src/Crypto.php:365)
    Automattic\\WooCommerce\\Pinterest\\Logger::log: Could not decrypt key value
    As a workaround, deactivating the plugin fixes the issue and the site loads.
    What is the underlying issue? Is the key encrypted differently on each site, and transferring the database from production to development results in the key being undecryptable?

    • This topic was modified 3 years, 1 month ago by strarsis.
    • This topic was modified 3 years, 1 month ago by strarsis.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @strarsis

    Hope you are doing well!

    did you try to deactivate all the other plugins except WooCommerce and Pinterest for WooCommerce?

    Best,
    Christian

    Thread Starter strarsis

    (@strarsis)

    Yes, I deactivated all plugins except for WooCommerce and Pinterest for WooCommerce and the issue persists. After a long waiting time I get either a Gateway timeout, memory exhaustion with an extremely long stack trace due to a recursive loop.
    The underlying issue appears to be the failing decryption (different server/salts?) – but instead of just logging the error and maybe showing a warning/error on backend there is a loop happening until memory exhaustion (several GBs in a test run).

    Thread Starter strarsis

    (@strarsis)

    @christian1983: It would be great if this can be fixed. I have to restart WSL 2 + Docker + the containers of the WordPress site each time I accidentally encounter this issue.
    Then I have to deactivate the plugin and hopefully the loop doesn’t occur. Also the system memory is filling up really quick and everything becomes sluggish.
    Restarting everything takes quite some time, 5 to 10 minutes.
    This also means that I currently can’t have parity between production and development environments as I can’t have the plugin enabled in development.
    This bug is really disruptive to me ??

    • This reply was modified 3 years, 1 month ago by strarsis.
    Plugin Support Christian

    (@christian1983)

    Hey @strarsis

    Hope you are doing well!

    please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.
    Please include a link to this forum thread, so that we can keep track of what’s already been done.
    We will be able to help you further there.

    Best,
    Christian

    Thread Starter strarsis

    (@strarsis)

    Hi Christian,

    a new issue was created on WooCommerce.com for that plugin.
    I referenced this issue as you recommended.

    Thanks and with best regards

    Plugin Support Christian

    (@christian1983)

    Hey there,

    Since we haven’t heard back from the OP in a while, I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Best,
    Christian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Infinite loop (with memory exhaustion): `Could not decrypt key value`’ is closed to new replies.