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

Doesn't work behind proxy #163

Open
mudkiplex opened this issue Sep 30, 2021 · 1 comment
Open

Doesn't work behind proxy #163

mudkiplex opened this issue Sep 30, 2021 · 1 comment

Comments

@mudkiplex
Copy link

I can't get the tool to run behind a proxy. I've installed it via brew and all other terminal commands such as curl and ping work in my environment. Does it not support environment variables such as HTTP_PROXY?

@acevif
Copy link
Contributor

acevif commented Oct 3, 2022

@mudkiplex Hi,
Could you please try setting your proxy in macOS's system preference?

I have not tried it yet, but I am guessing you can specify a proxy via system preference.
Because LicensePlist uses APIKit, APIKit uses apple's URLSession class, and the URLSession API refers to the system preference for the proxy setting.

The URLSession class natively supports the data, file, ftp, http, and https URL schemes, with transparent support for proxy servers and SOCKS gateways, as configured in the user's system preferences.
https://developer.apple.com/documentation/foundation/urlsession

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