TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
4.27k stars 418 forks source link

DNS App Store error #645

Closed liang-hiwin closed 1 year ago

liang-hiwin commented 1 year ago

Error! The proxy tunnel request to proxy 'http://127.0.0.1:38235/' failed with status code '500'."

In the settings, I configured Network Proxy socks

ShreyasZare commented 1 year ago

Thanks for the post. Please post a screenshot of the error and also any error log you find in the DNS logs.

liang-hiwin commented 1 year ago

Thanks for the post. Please post a screenshot of the error and also any error log you find in the DNS logs.

HUZ7(1~L8_H~72R(XW}~V~9

liang-hiwin commented 1 year ago

[2023-05-28 22:18:05 Local] [112.x.x.x:0] Check for update was done {updateAvailable: False;}
System.Net.Http.HttpRequestException: The proxy tunnel request to proxy 'http://127.0.0.1:40591/' failed with status code '500'."
   at System.Net.Http.HttpConnectionPool.EstablishProxyTunnelAsync(Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at TechnitiumLibrary.Net.Http.Client.HttpClientNetworkHandler.InternalSendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in Z:\Technitium\Projects\TechnitiumLibrary\TechnitiumLibrary.Net\Http\Client\HttpClientNetworkHandler.cs:line 127
   at TechnitiumLibrary.Net.Http.Client.HttpClientNetworkHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in Z:\Technitium\Projects\TechnitiumLibrary\TechnitiumLibrary.Net\Http\Client\HttpClientNetworkHandler.cs:line 260
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at DnsServerCore.WebServiceApi.GetCheckForUpdateJsonData() in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebServiceApi.cs:line 76
   at DnsServerCore.WebServiceApi.CheckForUpdateAsync(HttpContext context) in Z:\Technitium\Projects\DnsServer\DnsServerCore\WebServiceApi.cs:line 100
liang-hiwin commented 1 year ago

I guarantee that there is no problem with the SOCKS5 Proxy I configured.

ShreyasZare commented 1 year ago

I guarantee that there is no problem with the SOCKS5 Proxy I configured.

Thanks for the details. The http error code 500 is being received from the proxy server. It could be that the URL is not working via the proxy. You can test this by using the proxy with a web browser like Firefox and then check if this URL is working: https://download.technitium.com/dns/apps/apps2.json

liang-hiwin commented 1 year ago

I guarantee that there is no problem with the SOCKS5 Proxy I configured.

Thanks for the details. The http error code 500 is being received from the proxy server. It could be that the URL is not working via the proxy. You can test this by using the proxy with a web browser like Firefox and then check if this URL is working: https://download.technitium.com/dns/apps/apps2.json

normal

ShreyasZare commented 1 year ago

I guarantee that there is no problem with the SOCKS5 Proxy I configured.

Thanks for the details. The http error code 500 is being received from the proxy server. It could be that the URL is not working via the proxy. You can test this by using the proxy with a web browser like Firefox and then check if this URL is working: https://download.technitium.com/dns/apps/apps2.json

normal

I tested this locally on my setup and its working well without any issues. To debug the issue that you are having, do a packet capture on server that is running the DNS server. If its linux then use tcpdump -i any -w file.pcap command and if its windows then use wireshark to capture the traffic. Share the pcap file over email.

liang-hiwin commented 1 year ago

I guarantee that there is no problem with the SOCKS5 Proxy I configured.

Thanks for the details. The http error code 500 is being received from the proxy server. It could be that the URL is not working via the proxy. You can test this by using the proxy with a web browser like Firefox and then check if this URL is working: https://download.technitium.com/dns/apps/apps2.json

normal

I tested this locally on my setup and its working well without any issues. To debug the issue that you are having, do a packet capture on server that is running the DNS server. If its linux then use tcpdump -i any -w file.pcap command and if its windows then use wireshark to capture the traffic. Share the pcap file over email.

Hello pcap file I have sent to this email support@technitium.com please check

ShreyasZare commented 1 year ago

Thanks for the pcap file. There is a bug causing this issue. Will get it fixed soon in the next update.

liang-hiwin commented 1 year ago

Thank you for your dedication

Shreyas Zare @.***> 于2023年6月5日周一 14:23写道:

Thanks for the pcap file. There is a bug causing this issue. Will get it fixed soon in the next update.

— Reply to this email directly, view it on GitHub https://github.com/TechnitiumSoftware/DnsServer/issues/645#issuecomment-1576117491, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEF4NCAJVGVVMDW4T7UAUWTXJV3OLANCNFSM6AAAAAAYR33GJM . You are receiving this because you authored the thread.Message ID: @.***>

ShreyasZare commented 1 year ago

Version 11.3 is now available which fixes the issue that was discussed. Do update and let me know your feedback.

liang-hiwin commented 1 year ago

Version 11.3 is now available which fixes the issue that was discussed. Do update and let me know your feedback.

ok,thanks

liang-hiwin commented 1 year ago

Version 11.3 is now available which fixes the issue that was discussed. Do update and let me know your feedback.

Gladly, the question has been revised. Thanks

ShreyasZare commented 1 year ago

Thanks for confirming.