TCP_REFRESH_FAIL_ERR/502 sometime access wp-admin?



  • Hi There,

    I have enabled squid proxy for my interface it's working. but when I access wp-admin page sometime I got a error page when hit refresh page it's work again. I looking access.log and found "TCP_REFRESH_FAIL_ERR/502"

    How can I fix it.

    Please advice,

    Thank you.
    ![Screen Shot 2017-09-05 at 11.07.02 AM.png](/public/imported_attachments/1/Screen Shot 2017-09-05 at 11.07.02 AM.png)
    ![Screen Shot 2017-09-05 at 11.07.02 AM.png_thumb](/public/imported_attachments/1/Screen Shot 2017-09-05 at 11.07.02 AM.png_thumb)



  • Coffee time…


  • Banned

    Get your webhosting fixed.



  • It's not a hosting side. When I stop using squid all access is well. I focused on squid issue?

    Thank you.


  • Banned

    Just because you are getting a message from Squid when using Squid doesn't mean it's a Squid problem. Squid got a connection reset from the server (or from something else in the way). That's all. Go figure why the server is resetting the connections. Perhaps they use some "helpful" IDS/IPS in place doing this when someone accesses WP admin via a proxy (yes, I have seen those).

    Squid isn't doing anything here. It simply received RST before it expected that to happen.

    Another example: https://wiki.squid-cache.org/SquidFaq/TroubleShooting#What_does_.22sslReadClient:_FD_14:read_failure:.28104.29_Connection_reset_by_peer.22_mean.3F