Skip to content

bug: Can't Verify domain DNS if https redirect is setup #1242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
that0n3guy opened this issue Mar 23, 2025 · 4 comments
Open

bug: Can't Verify domain DNS if https redirect is setup #1242

that0n3guy opened this issue Mar 23, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@that0n3guy
Copy link

Describe the bug

I put on 2 domains, the first one I couldn't get to verify until I cleared the server cache and rebooted swiftwave. (You talk about cache here: #945 (comment))

The 2nd one wouldn't verify no matter what I tried... until I disabled https redirect:

Image

After I disabled that, my domain verified right away and I could re-enable it.

Are you working on this issue?

No

@that0n3guy that0n3guy added the bug Something isn't working label Mar 23, 2025
@tanmoysrt
Copy link
Member

Can you replicate the scenario once more and send the haproxy configuration ?

It will be in /var/lib/swiftwave/haproxy folder

Remove any personal info from config

@that0n3guy
Copy link
Author

Ok, I was able to reproduce.

Steps to reproduce:

  • Add a domain to swiftwave that is NOT yet pointed at your swiftwave IP (so obviously DNS verification should fail here)
  • add an ingress rule pointing at any app
  • Enable https redirect on the ingress rule
  • setup your dns to point that domain at your swiftwave IP
  • wait
  • flush cache.
  • listen to music
  • try to verify DNS. It won't work.
  • disable https redirect on the ingress rule
  • Now verifying dns will work.

Here is my cleaned HAProxy config. The domain that would not verify is wave.something.com. I downloaded this when the ingress rule was active and w/ https redirect still enabled... AND dns would not verify.

@tanmoysrt
Copy link
Member

Thanks for the reproducable steps. Will check

@tanmoysrt
Copy link
Member

Able to reproduce the issue, did a small fix.
Will release after some testing in coming week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants