DevProxy interferes with other apps which urls aren't watched #1270
-
DescriptionCurrently when I enable DevProxy (as I need it for development) - some other apps, like the New Outlook and Whatsapp Desktop Client - stop functioning, like they don't seem to have internet access anymore until I stop the DevProxy and sometimes have to restart the app first, especially Whatsapp. Expected behaviourNo interference with other apps which URLs aren't watched Actual behaviourInterference with other apps which URLs aren't watched Steps to reproduceBelow happens instantly after starting the proxy, but sometimes after a little while - it's flakey buy always happens eventually Outlook (using an Microsoft Exchange Online account, don't know if this is important)
Dev Proxy Version0.28.0 Operating system (environment)Windows ShellPowerShell Configuration file{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.28.0/rc.schema.json",
"plugins": [
{
"name": "DevToolsPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll"
}
],
"urlsToWatch": [
"https://b2bapi.snelstart.nl/*",
"https://auth.snelstart.nl/*"
],
"logLevel": "information",
"newVersionNotification": "stable",
"showSkipMessages": true
} Additional InfoNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Thanks for reporting the issue and sorry for the trouble @ThaDaVos. Have you by any chance seen a similar issue with other proxies such as Fiddler? I wonder if what you're seeing could be caused by certificate pinning or something similar. Even though Dev Proxy is not decrypting these URLs, it's still present in the request pipeline. As a possible workaround you could consider:
I hope this helps. |
Beta Was this translation helpful? Give feedback.
OK, so
System.Net.Http
should pick up environment variables for configuring HTTP proxy. Could you try specifyinghttps_proxy: http://127.0.0.1:8000
in your app's configuration (I don't know how you're launching your app and which IDE you use so the exact steps might differ. Eg. in VSCode, you'd put it in .vscode/launch.json) while setting Dev Proxy as non-system-proxy and see if it works?