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

GraphiQL completely ignores and bypasses system-wide proxy settings on macOS #197

Open
varenc opened this issue Nov 25, 2021 · 1 comment

Comments

@varenc
Copy link

varenc commented Nov 25, 2021

I have a proxy configured system wide on macOS. Both an HTTP/HTTPS proxy and a SOCKS5 proxy:

$ networksetup -getsocksfirewallproxy Dongle2
Enabled: Yes
Server: 127.0.0.1
Port: 8989
Authenticated Proxy Enabled: 0

$ networksetup -getsecurewebproxy Dongle2
Enabled: Yes
Server: 127.0.0.1
Port: 8787
Authenticated Proxy Enabled: 0

But GraphiQL completely ignores the proxy! The older GraphQL Playground obeys the proxy, no problem. Most everything else running respects the system-wide proxy as well but for some reason GraphiQL ignores it.

Any idea why? I can do something extreme to force everything to use the proxy (VPN or something like Proxifier), but that's rather extreme. Would appreciate it if GraphiQL would respect system-wide proxy settings!

Thanks!


For context: I'm developing against an endpoint which for various reasons doesn't have introspection enable. I have the schema and introspection query response in hand. With GraphQL Playground I used the proxy to automatically intercept the introspection query and return the correct introspection schema response. But I can't get that to work with GraphiQL since it bypass the system proxy. (and it doesn't seem to let me provide a local schema either?)

@StingyJack
Copy link

FWIW - This is not just with MacOS, it bypasses the system proxy on Windows creating a similar problem there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants