Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
edoardolunardi opened this issue Oct 22, 2024 · 5 comments
Open

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

edoardolunardi opened this issue Oct 22, 2024 · 5 comments

Comments

@edoardolunardi
Copy link

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
Copy link
Member

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

@edoardolunardi
Copy link
Author

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
Copy link
Member

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
Copy link
Author

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
Copy link
Member

Still unable to reliably replicate this, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants