Designinfo.in Posted September 18, 2022 Share Posted September 18, 2022 (edited) Front End Problem On loading any product page, the customer is auto logged out. The Auto Log out is not on happeneing on any other page. Tried to delete, var/cache , browser cookies, tried incognito mode Problem in classic theme and Zone theme Check Cookie also disabled Php 7.4 Pls Note: Rest of the website working fine. Manual log in and log out also working fine. Product page only auto log out for customer. Debug mode - no errors, server logs - no error Tried disabling overrides and third part modules also Edited September 18, 2022 by Designinfo.in adding details (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted September 18, 2022 Share Posted September 18, 2022 Can you share url? Link to comment Share on other sites More sharing options...
Designinfo.in Posted September 18, 2022 Author Share Posted September 18, 2022 www.designinfo.in thanks in advance Link to comment Share on other sites More sharing options...
artixweb Posted September 22, 2022 Share Posted September 22, 2022 (edited) Hello, I see you are using nginx reverse proxies (checked with wappalyzer extension). I ran into something somewhat similar on product pages, except that I would get a 502 bad gateway error from nginx, which wasn't very helpful. The problem might be that your nginx proxy header buffer is too small. The header contains metadata that is sent with every HTTP request, this metadata includes cookies, which are used for the customer's login session, keeping them logged in. If you have SSH access to your server, you can check the proxy error log for the "upstream sent too big header" error. A path to the error log file might be: /var/www/vhosts/designinfo.in/logs/proxy_error_log or something similar. You can use the tail command to check the last few lines in the log file: $ tail /var/www/vhosts/designinfo.in/logs/proxy_error_log If the error is there, try to search it on google for a fix. An article I found with a potential fix: https://www.cyberciti.biz/faq/nginx-upstream-sent-too-big-header-while-reading-response-header-from-upstream/ The fix in the article requires that you add directives to the nginx proxy config that will increase the default buffer size. Naturally, you will need to restart the server when you change its configuration. If you are using plesk or cpanel to manage your server, I would recommend editing the nginx config from there instead as they usually restart the server for you. In plesk, it should be in the Apache & nginx settings section. I hope this was helpful. Edited September 22, 2022 by artixweb (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now