2

we have an AWS hosting, suddenly we got this below issue.

Error 503 Backend fetch failed Backend fetch failed

Guru Meditation: XID: 65561

Varnish cache server

we cant understand what's causing this issue. it is from AWS hosting or from project config.

please help with this.

asked Feb 22, 2021 at 9:28

3 Answers 3

2

As the error message states Varnish cannot communicate with the content (Magento2) server.

If you are using health checks in your Varnish VCL, varnish will also show this error if the content server is "unhealthy".

To check your content server status login to the varnish server and enter varnish admin with the varnishadm command.

Enter backend.list

varnish> backend.list
200
Backend name Admin Probe Health Last change
magento2_php_apache_1 probe 10/10 healthy 2021年2月22日

If you are not using the health probe check network communications between varnish and the magento 2 server (if they are seperate servers.)

answered Feb 22, 2021 at 10:41
0

Please have a look at https://magento.stackexchange.com/a/316381/86404 for a more detailed answer. It uses the varnishlog binary to get more insight in why an HTTP/503 is returned.

answered Feb 22, 2021 at 12:46
0

Thanks, guys but I resolved this issue there was nginx.config.sample file was missing from project directory, so replaced it and restarted the server. it resolved this issue. but really thanks for your support.

answered Feb 24, 2021 at 7:15

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.