asigno Posted Thursday at 12:14 AM Posted Thursday at 12:14 AM Hi all, hoping someone can help with this as I'm puzzled and can't think of what to check. Since upgrading to 4.7.19 I've had multiple instances of my server crashing and the site giving 5xx errors. All the errors in my log are related to the CSRF key e.g.: 2024/12/18 23:55:57 [error] 16028#16028: *699897 upstream prematurely closed connection while reading response header from upstream, client: 47.76.209.138, server: yamahaclub.com, request: "GET /discover/?csrfKey=02e0b4f57a4db6bd01f3fa0a72e46880&view=condensed HTTP/1.1", upstream: "http://127.0.0.1:8080/discover/?csrfKey=02e0b4f57a4db6bd01f3fa0a72e46880&view=condensed", host: "yamahaclub.com" 2024/12/18 23:55:57 [error] 16027#16027: *699900 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 47.76.209.138, server: yamahaclub.com, request: "GET /discover/?csrfKey=063866981e7d0d37e38148ab0a58c773&view=condensed HTTP/1.1", upstream: "http://127.0.0.1:8080/discover/?csrfKey=063866981e7d0d37e38148ab0a58c773&view=condensed", host: "yamahaclub.com" If I restart the server it works fine again for a day or two then the same issue occurs. Nothing has knowingly changed on the server for the last six months so I'm really not sure the best place to start with this. I'm using Ubuntu 24.04, 4gb ram, and CloudPanel 2 PHP 8.1.29 Redis 7.0.15 Cloudflare No issues in the 'Get Support' tab. IPB Error logs blank (Level 3) Please let me know if you have any ideas on what the next steps should be. Cheers
Marc Posted Thursday at 08:37 AM Posted Thursday at 08:37 AM I would contact your hosting company on this. If its working as soon as you restart the server, then the only thing that has changed there is your environment. The message there is essentially saying your server isnt providing a response
asigno Posted Thursday at 11:09 AM Author Posted Thursday at 11:09 AM Thanks, the disadvantage of self-hosting...
Miss_B Posted Thursday at 11:13 AM Posted Thursday at 11:13 AM (edited) 7 minutes ago, asigno said: Thanks, the disadvantage of self-hosting... Have you sonsidered Cloud? These kind of issues will be a thing of the past there. https://invisioncommunity.com/buy Edited Thursday at 11:16 AM by Miss_B Marc 1
Recommended Posts