Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set-PAServer does not use proxy settings of system #458

Closed
coldflame-js opened this issue Oct 12, 2022 · 1 comment
Closed

Set-PAServer does not use proxy settings of system #458

coldflame-js opened this issue Oct 12, 2022 · 1 comment
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@coldflame-js
Copy link

Dear Guys

Is there currently no support to use the system proxy settings?

The error message says (in English) "the connection to the remote server cannot be esablished".

PS C:\Users\xxx> Set-PAServer LE_STAGE
Set-PAServer : Die Verbindung mit dem Remoteserver kann nicht hergestellt werden.
In Zeile:1 Zeichen:1
+ Set-PAServer LE_STAGE
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Set-PAServer], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Set-PAServer

In Wireshark I see, that the connection is tried to be made directly to the server instead of to the proxy.

2022-10-12 17_13_07-Aufzeichnen von Ethernet 3

We're using a proxy pac file but i tried also to fix the proxy manually.

PS C:\Users\xxxx> netsh winhttp set proxy "proxy.xxxxx:8080"

Aktuelle WinHTTP-Proxyeinstellungen:

    Proxyserver     :  proxy.xxxxxx:8080
    Umgehungsliste  :  (keine)

Sincerely jonas

@rmbolger rmbolger self-assigned this Oct 12, 2022
@rmbolger rmbolger added the duplicate This issue or pull request already exists label Oct 12, 2022
@rmbolger
Copy link
Owner

Hi @coldflame-js. This was already brought up by another user in issue #396. Unfortunately, dealing with proxy services gracefully across different PowerShell versions is kind of a mess and additionally difficult for me to deal with as I have no proxy environments to test in. I'm going to close this issue but we can continue the discussion in the other one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants