2

I'm trying to build my new environment but I'm receiving error 502 every time. When I check the logs in the Magento Cloud panel I don't have the end of the file, it seems to be too long to show.

Magento Cloud error 502

Do you know how can I debug it?

2 Answers 2

0

you can use the command tail to check the last lines of the files created by Magento Cloud.

magento-cloud ssh -e staging
tail var/log/cloud.log # if the error is in the setup:install or setup:upgrade
tail var/log/instal-upgrade.log
0

By default, Magento cloud will provide http://URI/ or https://URI/ like this. and you are accessing the integration environment with www.URI/ if you access this with HTTP or HTTPS then it will work directly(without www).

If you want to access your web application using www.URI/ then you need to add it in routes.yaml file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.