DNSCrypt / DNSCrypt/SimpleDnsCrypt

Queries time out, have to restart DNSCrypt service

未关闭
#477 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
2.5k
派生
249
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。