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

PowerShell does not pick up that proxy has been started or stopped #573

Open
garrytrinder opened this issue Feb 20, 2024 · 1 comment
Open
Labels
documentation Improvements or additions to documentation

Comments

@garrytrinder
Copy link
Contributor

When using Dev Proxy with PowerShell the current session does not pick up that proxy has been started or stopped.

  1. Open PowerShell session (1) and issue a request to API, it will succeed
  2. Open a new PowerShell session (2) and start Dev Proxy, then send another request, Dev Proxy will intercept the request
  3. Stop Dev Proxy, switch to PowerShell session (1) and issue another request to API, it will fail although proxy is not running
  4. Close PowerShell session (1), and create a new PowerShell session, issue a request to API, it will succeed

To use Dev Proxy you must start a new PowerShell session after starting it and a new PowerShell session after it's been stopped.

@waldekmastykarz
Copy link
Collaborator

To add to this, it occurs only in PowerShell on Windows. PowerShell on macOS handles changed proxy settings just fine.

@waldekmastykarz waldekmastykarz added the documentation Improvements or additions to documentation label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants