Log errors but everything works...?!

hello guys

i just set up Caddy with a Caddyfile on Ubuntu 20.04. It’s Caddy v2.
ufw is enabled and port 8384 opened. port forwarding in router menu as well.

i get log errors when checking the status, but both my servers work good.

● caddy.service - Caddy
     Loaded: loaded (/lib/systemd/system/caddy.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-04-03 11:31:18 CEST; 1h 36min ago
       Docs: https://caddyserver.com/docs/
    Process: 11518 ExecReload=/usr/bin/caddy reload --config /etc/caddy/Caddyfile (code=exited, status=0/SUCCESS)
   Main PID: 1639 (caddy)
      Tasks: 11 (limit: 38074)
     Memory: 48.4M
     CGroup: /system.slice/caddy.service
             └─1639 /usr/bin/caddy run --environ --config /etc/caddy/Caddyfile

Apr 03 13:02:29 mmeiraserv caddy[1639]: {"level":"error","ts":1617447749.6018765,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:8384: connect: connection re>
Apr 03 13:02:40 mmeiraserv caddy[1639]: {"level":"error","ts":1617447760.6536393,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:8384: connect: connection re>
Apr 03 13:02:42 mmeiraserv caddy[1639]: {"level":"error","ts":1617447762.32911,"logger":"http.log.error","msg":"dial tcp 127.0.0.1:8384: connect: connection refu>
Apr 03 13:07:42 mmeiraserv caddy[1639]: {"level":"error","ts":1617448062.8984017,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response">
Apr 03 13:08:01 mmeiraserv systemd[1]: Reloading Caddy.
Apr 03 13:08:01 mmeiraserv caddy[11518]: {"level":"info","ts":1617448081.4382784,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","confi>
Apr 03 13:08:01 mmeiraserv caddy[1639]: {"level":"info","ts":1617448081.439481,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:20>
Apr 03 13:08:01 mmeiraserv caddy[1639]: {"level":"info","ts":1617448081.4395893,"logger":"admin.api","msg":"config is unchanged"}
Apr 03 13:08:01 mmeiraserv caddy[1639]: {"level":"info","ts":1617448081.4395945,"logger":"admin.api","msg":"load complete"}
Apr 03 13:08:01 mmeiraserv systemd[1]: Reloaded Caddy.

this is my Caddyfile:

# The Caddyfile is an easy way to configure your Caddy web server.
#
# Unless the file starts with a global options block, the first
# uncommented line is always the address of your site.
#
# To use your own domain name (with automatic HTTPS), first make
# sure your domain's A/AAAA DNS records are properly pointed to
# this machine's public IP, then replace the line below with your
# domain name.

jellymmeirolas.ddnss.de {
        reverse_proxy localhost:8096
}

syncmmeirolas.ddnss.de {
        reverse_proxy localhost:8384 {
                header_up Host localhost
        }
}

# Set this path to your site's directory.
#root * /usr/share/caddy

# Enable the static file server.
#file_server

# Another common task is to set up a reverse proxy:
# reverse_proxy localhost:8080

# Or serve a PHP site through php-fpm:
# php_fastcgi localhost:9000

# Refer to the Caddy docs for more information:
# https://caddyserver.com/docs/caddyfile

can somebody help me sort this out please?
thx in advance

now i restarted the server and i get a totally different output:

 caddy.service - Caddy
     Loaded: loaded (/lib/systemd/system/caddy.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-04-03 13:23:02 CEST; 18s ago
       Docs: https://caddyserver.com/docs/
   Main PID: 1653 (caddy)
      Tasks: 10 (limit: 38074)
     Memory: 38.2M
     CGroup: /system.slice/caddy.service
             └─1653 /usr/bin/caddy run --environ --config /etc/caddy/Caddyfile

Apr 03 13:23:02 mmeiraserv caddy[1653]: JOURNAL_STREAM=8:34434
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.213092,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":""}
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2147768,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhos>
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2155209,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0003a04d0"}
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2159224,"logger":"http","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable>
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2159386,"logger":"http","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2167265,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["jellymmeirolas.ddnss.de","syncmmeirolas.>
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2185922,"logger":"tls","msg":"cleaned up storage units"}
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2284203,"msg":"autosaved config","file":"/var/lib/caddy/.config/caddy/autosave.json"}
Apr 03 13:23:02 mmeiraserv caddy[1653]: {"level":"info","ts":1617448982.2284377,"msg":"serving initial configuration"}

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