verbb / zen

A Craft CMS plugin to manage content across multiple environments with ease.
Other
3 stars 0 forks source link

AxiosError: Request failed with status code 502 on export #18

Open edoardolunardi opened 3 weeks ago

edoardolunardi commented 3 weeks ago

Describe the bug

I get this error when I try to export pretty much anything with the plugin

AxiosError: Request failed with status code 502
AxiosError: Request failed with status code 502 at https://kindred-motorworks-cms.test/cpresources/3652203d/axios.js?v=1729598578:1:11859 at XMLHttpRequest.d (https://kindred-motorworks-cms.test/cpresources/3652203d/axios.js?v=1729598578:1:12004)
Screenshot 2024-10-22 at 14 19 52

Steps to reproduce

Any export fails with that error

Craft CMS version

4.12.7

Plugin version

1.0.5

Multi-site?

No

Additional context

I also have "craftcms/commerce": "4.7.0", installed

engram-design commented 3 weeks ago

Anything in your /storage/logs/zen.log file? Could be related to https://github.com/verbb/zen/issues/14

edoardolunardi commented 2 weeks ago

Anything in your /storage/logs/zen.log file? Could be related to #14

There is no such file in the logs. Now I'm getting another error (looks like the one in #14), even when trying to export 5 entries (so not even commerce products)

Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes)
/Users/edoardolunardi/Documents/Work/Wild/Code/kindred-motorworks-cms/vendor/craftcms/cms/src/elements/db/ElementQuery.php:2596AxiosError: Request failed with status code 500 at https://kindred-motorworks-cms.test/cpresources/3652203d/axios.js?v=1729598578:1:11859 at XMLHttpRequest.d (https://kindred-motorworks-cms.test/cpresources/3652203d/axios.js?v=1729598578:1:12004)
engram-design commented 2 weeks ago

Thanks for letting me know, I've been trying to replicate that issue, as it happened to myself once, but then went away suddenly. Certainly something to do with a recursion.

Will update ASAP.

edoardolunardi commented 6 days ago

Thanks for letting me know, I've been trying to replicate that issue, as it happened to myself once, but then went away suddenly. Certainly something to do with a recursion.

Will update ASAP.

Any updates? 👀

engram-design commented 6 days ago

Still unable to reliably replicate this, sorry!