microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.88k stars 6.59k forks source link

Advanced paste with VPN split tunneling #33068

Open Askejm opened 6 months ago

Askejm commented 6 months ago

Microsoft PowerToys version

0.81.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Advanced Paste

Steps to reproduce

Use a VPN with split tunneling exception enabled for the exe

✔️ Expected Behavior

I wanna be able to use this feature while I have my VPN on. Is there any other files I have to add to the split tunneling exception? I'm using NordVPN

❌ Actual Behavior

OpenAI request failed with status code: -1

Other Software

No response

LincolnR commented 6 months ago

I am also experiencing the same issue with Advanced Paste when using NordVPN (without split tunneling enabled).

Microsoft PowerToys version 0.81.0

Installation method PowerToys auto-update

Running as admin Yes

Steps to Reproduce

  1. Ensure that "Paste with AI" is enabled in PowerToys settings.
  2. Connect to NordVPN.
  3. Attempt to use Advanced Paste.

✔️ Expected Behavior I expect to use the Advanced Paste feature while the VPN is active.

Actual Behavior OpenAI request fails with status code: -1

Temporary Solution I found that turning off the VPN resolves the issue.

ThoughtPhotography commented 6 months ago

Advanced Paste isn't working for me either. I use Nord with split tunneling, but only for included apps. Unfortunately, disabling Nord doesn't fix the issue (403), but at least I know to try other troubleshooting steps with it disabled.

EDIT I got it working. I think it might've had something to do with model permissions. Nord is still enabled, so while it's a bit of a hassle you could switch split-tunneling to include mode and add all the important programs you really want to use VPN.

Martin-Milbradt commented 6 months ago

Doesn't work for me either, even when adding "Advanced Paste" to the Split Tunneling Whitelist.

joadoumie commented 6 months ago

@craigloewen-msft -- is this related to the API calls failing over VPN? Tentatively moving this to 0.82 milestone to bump this up / keep track of triage.