cancel
Showing results for 
Search instead for 
Did you mean: 

Guests cannot able to log in on my site!

Guests cannot able to log in on my site!

 

I am using Magento 2.2.2. A few days ago, several guests (not all guests) could not log in to my website. After entering the username and password, the guest has been waiting for about 10 minutes. Then there was a 503 error. How can I solve this problem, thank you

 

M7JTG.jpg

--

dwPn7.jpg

12 REPLIES 12

Re: Guests cannot able to log in on my site!

HI @louzhiming 

503 Service Unavailable error.

It looks like vernish server issue. May be it is not properly configured. 

check once after disable the vernish cache.  

I hope it will help you!

Re: Guests cannot able to log in on my site!

Yes, looks like issue with cashe. Agree with comment above.

Re: Guests cannot able to log in on my site!

Hello @louzhiming ,

 

 This error is caused because the length of cache tags is more than 8192 characters. You can fix this error by increasing http_resp_hdr_len value in varnish configuration file.

 

Please refer the following url for more information.

https://devdocs.magento.com/guides/v2.3/config-guide/varnish/tshoot-varnish-503.html

https://magentoexplorer.com/magento-2-error-503-backend-fetch-failed-how-to-fix

If my answer is useful, please Accept as Solution & give Kudos

Re: Guests cannot able to log in on my site!

HI,

Thank you for your reply, but still can't solve this problem, from the log always shows zend_mm_heap corrupted.

 

666.png

Re: Guests cannot able to log in on my site!

hi,

Thank you for your reply,

I tried to close varnish but still can't solve some guests can't log in, from the log always shows zend_mm_heap corrupted.

666.png

Re: Guests cannot able to log in on my site!

Hello @louzhiming ,

 

You can run following command from terminal :

 

php bin/magento setup:upgrade;

php bin/magento setup:di:compile;

php -dmemory_limit=4G bin/magento setup:static-content:deploy -f;

php bin/magento c:c;

php bin/magento c:f;

If my answer is useful, please Accept as Solution & give Kudos

Re: Guests cannot able to log in on my site!

Hello @Binod Yadav 

thank you very much for your help.

I have now closed varnish and continued the test, still can't solve the problem. If the guest (not all guests can't log in) try to log in, then nothing will happen, about half an hour later is a whiteboard.

https://gyazo.com/71673cfe750814ceaf1c30b9810a3284 

https://gyazo.com/18a21607bfb752f9e9f066597e234d69 

https://gyazo.com/5984822e79579d6278422cd61e875aaf 

Re: Guests cannot able to log in on my site!

Hello @louzhiming 

 

Please set Var/cache permission. Please refer this url.

https://mirasvit.com/knowledge-base/magento-2-correct-permissions.html

OR
You can send private email for further solution.

If my answer is useful, please Accept as Solution & give Kudos

Re: Guests cannot able to log in on my site!

Hi,

 

Are you using any email related custom extension ?

I have seen this kind of scenario where some extension validates email address on login/signup so that if you enter any non-existent email address, it would throw 500 or 503 errors after a few minutes.