DNSCrypt / DNSCrypt/SimpleDnsCrypt

Queries time out, have to restart DNSCrypt service

Aperta
#477 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
2.5k
Fork
249
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I've noticed this happens fairly regularly with v0.7.0 [dnscrypt proxy 2.0.31]:

PS C:\Windows\system32> nslookup www.bbc.co.uk
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: ::1

DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to UnKnown timed-out

Query log shows requests timing out:

time:1580652681 host:::1 message:www.bbc.co.uk type:AAAA return:SYNTH cached:0 duration:0 server:-
time:1580652682 host:::1 message:www.bbc.co.uk.localdomain type:A return:SERVER_TIMEOUT cached:0 duration:5002 server:cisco
time:1580652684 host:::1 message:www.bbc.co.uk type:A return:SERVER_TIMEOUT cached:0 duration:5000 server:cisco

Error log shows:
2020-02-02 14:10:29.9248 ApplicationUpdater System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'raw.githubusercontent.com'
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__59.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Net.Http.HttpClient.d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at SimpleDnsCrypt.Helper.ApplicationUpdater.d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at SimpleDnsCrypt.Helper.ApplicationUpdater.d__1.MoveNext()

Toggling the DNSCrypt Service allows requests to work again.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.