Aborting with incomplete response error

1. Output of caddy version:

2.5.2

2. How I run Caddy:

a. System environment:

Ubuntu 20.04

b. Command:

systemctl start caddy

I have also tried:

./caddy run --watch

c. Service/unit/compose file:

[Unit]
Description=Caddy Service
After=network-online.target

[Service]
ExecStart=/root/caddy/start.sh

[Install]
WantedBy=multi-user.target

d. My complete Caddy config:

{
    storage redis {
        host          redis.private.com
        port          6379
        address       redis.private.com:6379
        username
        password      password
        db            1
        key_prefix    caddytls
        value_prefix  caddy-storage-redis
        timeout       5
        tls_enabled   false
        tls_insecure  true
    }
}

domain {
    root * /var/www/domain/public
    file_server
    php_fastcgi unix//run/php/php-fpm.sock

3. The problem Iā€™m having:

After about 10-15 minutes of starting Caddy, I am getting the following error:
2022/08/29 17:17:51.661 ERROR http.handlers.reverse_proxy aborting with incomplete response {"error": "http2: stream closed"}

The website becomes completely unresponsive and continuously loads.

4. Error messages and/or full log output:

2022/08/29 17:17:51.661 ERROR   http.handlers.reverse_proxy     aborting with incomplete response       {"error": "http2: stream closed"}

5. What I already tried:

6. Links to relevant resources:

That error usually means either the backend or the client have closed the connection before it was done streaming.

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.