Hello! So i’m trying to setup a local relay in a heavy internet censorship area for personal needs.After following the guide, I can successfully register and use a profile using my relay, but most people end up with this issue:
IMAP failed to connect: Could not find DNS resolutions for imap.///:993. Check server hostname and your network
The worst part is that I cannot reproduce it in any way and have no idea where the issue is, but I suspect it’s something really obvious and silly.
Delta Chat version
2.43.0
Relay specifics cmddeploy test --slow returns 64 passed tests and 4 skipped (no CHATMAIL_DOMAIN2) in 24 seconds.
cmddeploy dns shows 1 warning: chat.example.com``. CAA 0 issue “``letsencrypt.org``;accounturi=…”
My CAA is set to 0 issue “``letsencrypt.org``” since my registrator does not allow me to add accouturi (UI problem), but i’ve concluded it’s not much of a deal.
Only 12 hours passed since the domain updates.
I’ve also translated and modified index.html manually to help new users.
All links & QR’s work as expected on my side.
Wild guessing from half-remembered similar problems follows.
If the people who can’t register can’t access the index.html page, possibly their ISP’s default DNS resolver is refusing to resolve your URL (and you already have it resolved). If they can manually configure a DoH resolver (ru) that is not blocked, or type in your (fixed IPv6?) IP address instead, does it work? Can you resolve DNS over Tor? Cloudflare (US-controlled) hosts some resolvers, and blocking their entire cloud would block a disturbingly large part of the internet.
If it hasn’t been very long since you set up the website, has the DNS entry had time to propagate to their DNS servers?
If this is very local, it is possible to put your very own DNS server inside a private network, inside your firewall. If it just caches the URLs people actually visit, it will still soon be handling most requests.
Yes, i’ve came to the same conclusion and I hope that is the issue. Unfortunately the whole idea of my relay is to minimize the burden of installing VPN/Proxy, so manual intervention is not an option and there is nothing I can do right now but wait.
I just didn’t account that it could take that much time (16+ hours!) since it was almost instant for me, lack of experience I guess.
I found the issue and it was silly indeed. I was using Telegram to send index.html link to friends and Telegram has a previewer function to open links with it’s own browser - that browser is shit.
It removed the link for some reason and therefore Delta Chat was trying to connect to nothing.
Solution was to open it with a normal browser.
Don’t use Telegram to open delta chat invite links.