Community discussions

MikroTik App
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

DoH server connection error

Sat Oct 16, 2021 4:32 pm

Hello everyone
Today suddenly without any change in my routers configurations all of them (v6.48.3 and v6.48.4 and v6.48.4) got "DoH server connection error: SSL: handshake timed out (6)" in log, all starting at the same time and DNS stopped working which was working fine for few month.
I tried all the method and examples in this topic viewtopic.php?t=160243 as well but still not getting any resolve on any of the devices. also getting "DoH server connection error: resolving error" in the log after changing some settings. or I can open the websites but it's very slow and there is a lot of timeouts.
My settings are (I have DigiCertGlobalRootCA.crt.pem_0 and with this it was working fine but today after that error and searching for a solutions as it was suggested by normis I add all the https://curl.se/ca/cacert.pem certificates but still same problem) :
Screenshot 2021-10-16 170216.jpg
Screenshot 2021-10-16 165103.jpg
Screenshot 2021-10-16 165121.jpg
Screenshot 2021-10-16 165141.jpg
Also tried this settings viewtopic.php?t=160243#p787643 but still got the same "DoH server connection error: SSL: handshake timed out (6)" error.
You do not have the required permissions to view the files attached to this post.
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: DoH server connection error

Sun Oct 17, 2021 2:25 am

Is it a problem with mikrotik? should I contact mikrotik support?
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: DoH server connection error

Thu Oct 28, 2021 2:33 pm

I just sent a ticket to support.
 
jaxed8
Member Candidate
Member Candidate
Topic Author
Posts: 195
Joined: Tue Jul 27, 2021 8:25 pm

Re: DoH server connection error

Mon Nov 08, 2021 12:31 pm

Well, this is their final anwser :(
Screenshot 2021-11-08 140020.jpg
You do not have the required permissions to view the files attached to this post.
 
Lizzardd
newbie
Posts: 27
Joined: Wed Jan 04, 2012 11:56 am

Re: DoH server connection error

Mon Aug 01, 2022 6:23 pm

I'm having the same issue
Lots of entries in the log

19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:15:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:16:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error
19:17:48 dns,error DoH server connection error: resolving error

DNS seems to work, and there are cached entries, but not sure what this error relates too. Every now and then I get a failed page load and a refresh solved that so I do think there is an issue

/ip/dns> print
servers:
dynamic-servers:
use-doh-server: https://security.cloudflare-dns.com/dns-query
verify-doh-cert: yes
allow-remote-requests: yes
max-udp-packet-size: 4096
query-server-timeout: 2s
query-total-timeout: 10s
max-concurrent-queries: 500
max-concurrent-tcp-sessions: 200
cache-size: 5120KiB
cache-max-ttl: 1w
cache-used: 242KiB

/ip/dns/cache> print where name~"*cloudflare*"
Flags: S - STATIC
Columns: NAME, TYPE, DATA, TTL
# NAME TYPE DATA TTL
13 S cloudflare-dns.com A 104.16.248.249 0s
14 S cloudflare-dns.com A 104.16.249.249 0s
19 S security.cloudflare-dns.com A 1.0.0.2 0s
20 S security.cloudflare-dns.com A 1.1.1.2 0s
 
aTOMico
just joined
Posts: 6
Joined: Sun Jan 16, 2022 5:31 pm

Re: DoH server connection error

Wed Sep 28, 2022 5:42 pm

Hi,
I had the same problem. I am using an RB 4011 with ROS V6.49.6.
Please try "https://1.1.1.1/dns-query" as the cloudflare DOH dns request and disable your static DNS entries for cloudflare. It should now work with the 1.1.1.1 IP as well, since the cloudflare certificate allows it.
So you can use "verify DOH Certificate" with the cloudflare certificate installed.
Also do not use dynamic or other DNS servers.
With these settings I no longer have problems with DOH.
No more error messages from DOH.
But that also means that there is a bug in connection with static DNS entries and DOH.

Regards,
Thomas
 
sebus46
newbie
Posts: 40
Joined: Sat Jun 17, 2023 4:59 pm

Re: DoH server connection error

Sat Jun 24, 2023 11:54 pm

Well, this is their final anwser :(
Screenshot 2021-11-08 140020.jpg
That is pathetic!
 
mtf
just joined
Posts: 6
Joined: Mon Dec 12, 2022 12:23 am

Re: DoH server connection error

Mon Jul 10, 2023 7:33 pm

Hello I have the same problem here on this topic no one answered to the 2nd problem which is the almost same problem as yours have figured it out ?

viewtopic.php?t=191624

Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot], Google [Bot], vladimirb and 65 guests