1. The problem I’m having:
i have a vps in which i have configured docker and caddy server as reverse proxy so when i point my domain name to the ip address of my vps 93.115.23.21 i get this error
2. Error messages and/or full log output:
"error","ts":1735303331.4409313,"logger":"tls.obtain","msg":"will retry","error":"[facilitygroup-drc.org] Obtain: [facilitygroup-drc.org] solving challenge: facilitygroup-drc.org: [facilitygroup-drc.org] authorization failed: HTTP 403 urn:ietf:params:acme:error:unauthorized - Cannot negotiate ALPN protocol \"acme-tls/1\" for tls-alpn-01 challenge (ca=https://acme-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":3.982092054,"max_duration":2592000} "
3. Caddy version:
caddy:2-alpine
4. How I installed and ran Caddy:
a. System environment:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
Docker Version:
Docker version 27.2.0, build 3ab4256
b. Command:
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./data/caddy/Caddyfile:/etc/caddy/Caddyfile
- ./data/caddy/logs:/var/log/caddy
networks:
- web
networks:
web:
external: true
c. Caddyfile:
facilitygroup-drc.org {
reverse_proxy facility:8077
}
d. Command already checked:
sudo ufw allow 443
tcp LISTEN 0 4096 0.0.0.0:443 0.0.0.0:*
tcp LISTEN 0 4096 [::]:443 [::]:*
sudo ufw allow 80
tcp LISTEN 0 4096 0.0.0.0:8077 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:8000 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:8020 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:8016 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:8050 0.0.0.0:*
tcp LISTEN 0 4096 0.0.0.0:80 0.0.0.0:*
tcp LISTEN 0 4096 [::]:8077 [::]:*
tcp LISTEN 0 4096 [::]:8000 [::]:*
tcp LISTEN 0 4096 [::]:8020 [::]:*
tcp LISTEN 0 4096 [::]:8016 [::]:*
tcp LISTEN 0 4096 [::]:8050 [::]:*
tcp LISTEN 0 4096 [::]:80 [::]:*
root@vps:/opt/caddy# sudo ss -tuln | grep 8077
tcp LISTEN 0 4096 0.0.0.0:8077 0.0.0.0:*
tcp LISTEN 0 4096 [::]:8077 [::]:*
dig facilitygroup-drc.org +short
93.115.23.21