• Hi there, thank you for this great plugin.
    I encounter an issue: while logging out I get an Error 502 Bad Gateway response.
    This seems strange since other than this issue it works great.
    I made sure that “Force cache bypassing for backend with an additional Cloudflare page rule” is enabled.
    Any thoughts on how to solve this?
    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Huh! I have never seen such issues. But you generally don’t need to enable the Force cache bypassing for backend with an additional Cloudflare page rule. Without it, the system will work fine.

    502 issue generally happens when the browser is unable to connect with the origin server. So, you should check the server log for why the 502 is happening.

    Thread Starter Chris

    (@christof15)

    True, normally I don’t enable this force option either. Since my website is normally working (front+back-end) I get confused. Also, when I disable the plugin there is no issue logging out whatsoever…

    Plugin Contributor iSaumya

    (@isaumya)

    Huh! But the plugin does nothing that can lead to this 502. This is very wired. Maybe the cloudflare IPs are blocked in your server or something cause the requests are coming via cloudflare so if cloudflare getting 502 then you will get 502. Or maybe it’s cloudflare firewall settings? Hard to say from here but it is definitely not from the plugin.

    Thread Starter Chris

    (@christof15)

    Ok, I’m on apache + nginx proxy server. It turns out that when I enable nginx caching this problem occurs. If I disable the nginx caching there is no issue (still with proxy enabled). Not sure why this happens though..

    Plugin Contributor iSaumya

    (@isaumya)

    Cause you cannot use more than one page caching system on a site. Nginx cache is a server level page caching system. You have to choose between one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logout gives Bad Gateway 502’ is closed to new replies.