Something went wrong

Hello,

Today I made the production installation according to the guide, but when I go to mi store I get the following error:

Something went wrong …

We’ve noticed Internal Server Error while rendering this request.
If you need an assistance you can drop us a line on …

I made a Inspection with google and the error is the following:
Failed to load resource: the server responded with a status of 502 () > api/cart/create?token=:100

nginx error.log:
2019/12/17 01:50:27 [error] 1041#1041: *1094 connect() failed (111: Connection refused) while connecting to upstream, client: 190.72.99.225, server: mitienditaenlinea.com, request: “POST /api/cart/create?token= HTTP/2.0”, upstream: “http://127.0.0.1:8080/api/cart/create?token=”, host: “mitienditaenlinea.com”, referrer: “https://mitienditaenlinea.com/error

Please help.

Regards,
Raul.

Hi there! Seemingly VSF-API is not runnig and it’s not accessible on 8080 port which results in nginx error. Please check your setup and the state of vue-storefront-api process. You can check it using yarn pm2 monit if you’re using our default process manager.

Tutorial to follow: https://docs.vuestorefront.io/guide/installation/production-setup.html#nginx

Thanks for your help, we did It.