AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

WinHttpSendRequest: 12007: The server name or address could not be resolved

Open quyleanh opened this issue 5 years ago • 3 comments

Describe the bug Cannot connect through proxy network in Windows 10

To Reproduce Steps to reproduce the behavior:

  1. Click AltStore notification icon in Windows 10
  2. Click on Install Alstore
  3. Select Apple Device
  4. Enter Apple ID and Password
  5. See error

Expected behavior AltStore is installed.

Screenshots image

Desktop (please complete the following information if applicable):

  • OS: Windows
  • Version: 10 Buil 2004 Build 19041.546

iPhone (please complete the following information):

  • Device: iPhone6
  • iOS: 12.4.8

Additional context and logs No log

quyleanh avatar Oct 08 '20 04:10 quyleanh

By the way, I cannot update AltStore through proxy network as well. When I check, it shows the new version available dialog

image

But when I click Install update, the Update Error! is appeared.

image

quyleanh avatar Oct 08 '20 04:10 quyleanh

How can I configure the proxy for the WinHTTP Services? There is a simple way to do that, by issuing the following command on a command prompt with elevated privileges:

Windows + R cmd

netsh winhttp set proxy <server IP or FQDN>:<Port> "<Exclusion list, separated by ";">"

As an example, this command will configure the address proxy.contoso.com in port 8080, with the exclusion of "localhost" and "contoso.com" domain:

netsh winhttp set proxy proxy.contoso.com:8080 "localhost;*.contoso.com"

You can also import the settings from the Internet Settings Control Panel (Browser), but bear in mind the WinHTTP Services do not support the use of Scripts (like PAC or DAT files). For such behavior you can use following command:

netsh winhttp import proxy source=ie

The last part would be to check and ensure your proxy settings got properly applied to the WinHTTP Services. You can achieve that by issuing the following command:

netsh winhttp show proxy

If you have everything properly set up and want to get back to direct connection, you'll need to issue the following command:

netsh winhttp reset proxy

Titanius avatar Nov 27 '20 17:11 Titanius

I had a similar error while trying to enable JIT on the DolphiniOS through the AltServer. The issue disappeared after I followed this tutorial: https://www.jilaxzone.com/2021/07/30/dolphinios-waiting-for-jit-workaround-fix-ios-14-4-ios-15-and-up/

gpavelski avatar Jul 16 '22 09:07 gpavelski