Ip4 worked ip6 not so hot

1. Caddy version (caddy version):

v2.5.1 h1:bAWwslD1jNeCzDa+jDCNwb8M3UJ2tPa8UZFFzPVmGKs=

2. How I run Caddy:

I am running it on an ip 6 only server

a. System environment:

almalinux 8.6

b. Command:

sudo service caddy start

d. My complete Caddyfile or JSON config:

files.clarkeverson.com {
  # Set the port to the one you are using in gotify
  # Websocket support, proxy headers, etc. are enabled by default
  reverse_proxy localhost:8000
}

3. The problem I’m having:

When i was using an ip4 server and running my testing i was able to get caddy to port forward port 8000 but on my ip6 record i am unable to get the port forward to go through

4. Error messages and/or full log output:

Jul 24 00:46:13 localhost.localdomain caddy[2346016]: {"level":"error","ts":1658637973.938949,"logger":"tls","msg":"job failed","error":"files.thatnewdndsmell.com: obtaining certificate: context canceled>

Jul 24 00:46:13 localhost.localdomain caddy[2346016]: {"level":"info","ts":1658637973.9425178,"logger":"admin","msg":"stopped previous server","address":"tcp/localhost:2019"}

Jul 24 00:46:13 localhost.localdomain systemd[1]: Reloaded Caddy.

Jul 24 00:46:14 localhost.localdomain caddy[2346016]: {"level":"info","ts":1658637974.9437628,"logger":"tls.obtain","msg":"lock acquired","identifier":"files.clarkeverson.com"}

Jul 24 00:46:14 localhost.localdomain caddy[2346016]: {"level":"info","ts":1658637974.9452548,"logger":"tls.issuance.acme","msg":"waiting on internal rate limiter","identifiers":["files.clarkeverson.com">

Jul 24 00:46:14 localhost.localdomain caddy[2346016]: {"level":"info","ts":1658637974.9453125,"logger":"tls.issuance.acme","msg":"done waiting on internal rate limiter","identifiers":["files.clarkeverson>

Jul 24 00:46:15 localhost.localdomain caddy[2346016]: {"level":"error","ts":1658637975.3574908,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"files.clarkeverson.com","i>

Jul 24 00:46:15 localhost.localdomain caddy[2346016]: {"level":"warn","ts":1658637975.3578746,"logger":"tls.issuance.zerossl","msg":"missing email address for ZeroSSL; it is strongly recommended to set o>

Jul 24 00:46:15 localhost.localdomain caddy[2346016]: {"level":"error","ts":1658637975.373354,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"files.clarkeverson.com","is>

Jul 24 00:46:15 localhost.localdomain caddy[2346016]: {"level":"error","ts":1658637975.3734496,"logger":"tls.obtain","msg":"will retry","error":"[files.clarkeverson.com] Obtain: account pre-registration >

5. What I already tried:

to start I ran this entire process in a test environment and it worked. Moved to my production environment, the only difference is production is an ip-6 only machine, and i was able to get everything installed. When i tried to run caddy it couldn’t make the certs
I verified on a dns website the aaaa records were working, but i am not quite sure where to go from here as it was working on my ip 4 server but with the exact same steps on an ip6 server it’s not working

Hi :wave:

Is port :80 and :443 of the server externally reachable, or could it be blocked by a firewall or something?

Did your test-setup on your IPv4 host involve some firewall changes?
If so, could you share them? And did you make those on the IPv6-only host too?

Also, this log line is truncated:

Jul 24 00:46:15 localhost.localdomain caddy[2346016]: {"level":"error","ts":1658637975.3574908,"logger":"tls.obtain","msg":"could not get certificate from issuer","identifier":"files.clarkeverson.com","i>

and is hiding the important part. Please post the full logs. Thanks!

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