I have this really weird error.
I used Caddy on multiple VPS but I’ve never experiences something like this.
After a certain amount of uptime, Caddy will serve a previous request.
An example to illustrate this weird behavior:
- You request /index.php - Response: empty
- You request /blog.php - Response empty
- You request /contact.php - Response index.php
- You go back to /index.php - It will show blog.php
Most of the times it will actually just show you the contents of a JS file or CSS file.
My stack is as followed:
- Caddy 0.9.2
- PHP-FPM (7.0)
- PHP 7.0.11
- MariaDB
The only error I can see that happens before this behavior is:
01/Oct/2016:10:46:38 +0200 [ERROR 502 /index.php] fcgi: invalid header version
After that many errors like these happen:
01/Oct/2016:10:46:40 +0200 [ERROR 502 /index.php] malformed MIME header line:</div><!-- END .wrap -->
PHP-FPM shows no errors.
The error vanishes when Caddy is restarted.
Does anyone have an idea how to debug this further?