cancel
Showing results for 
Search instead for 
Did you mean: 

Error 503 Backend fetch failed Varnish cache server

Error 503 Backend fetch failed Varnish cache server

Hi I'm new in Magento, I use Bitnami and I have this problem.

When I try to load my web I get this error:

-----------------------

Error 503 Backend fetch failed

Backend fetch failed

Guru Meditation:
XID: 65567

Varnish cache server

------------------------

I have put this commands:

cd /opt/bitnami/apps/magento/htdocs
php bin/magento cache:enable
php bin/magento cache:clean
rm -rf var/cache/*
sudo /opt/bitnami/ctlscript.sh restart varnish

 

I have read other post and I have put in /opt/bitnami/varnish/scripts in the VARNISH_OPTIONS:

-p http_resp_hdr_len=65000 -p http_resp_size=98000

 

I have restarted all services.

I hope that you can help me.

Thank you,

Carlos

2 REPLIES 2

Re: Error 503 Backend fetch failed Varnish cache server

@carlos_ortiz2

 

can you please try to reboot server or you can follow below link seems same issue:

 

https://community.magento.com/t5/Magento-2-x-Programming/how-to-fix-Error-503-Backend-fetch-failed/t...

Manish Mittal
https://www.manishmittal.com/

Re: Error 503 Backend fetch failed Varnish cache server

@Manish Mittal

I have followed these steps.

Now I get a new error. 

The VANISH_OPTION is:

VARNISH_OPTIONS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_PORT} -f ${VARNISH_CONFIG_FILE} -s ${VARNISH_STORAGE} -P $VARNISH_PIDFILE -n $VARNISH_WORKING_DIR -p vmod_dir=/opt/bitnami/varnish/lib/varnish/vmods -p thread_pools=4 -p thread_pool_max=1500 -p connect_timeout=300 -p http_resp_hdr_len=65536 -p http_resp_size=98304 -s malloc,2G"

 

I have restarted the server, I have stoped and started VM Instance too.

Thank you again,

 Carlos.

New errorNew errorerror.log in apache foldererror.log in apache folder/opt/bitnami/varnish/scripts/ctl.sh/opt/bitnami/varnish/scripts/ctl.sh