I’m working behind a company proxy with user and password. Customizing preferences.txt does’nt help because I cannot set user and password. Without appropriate proxy settings I cannot install any modules. I didn’t find any helpful answers neither in the web nor here.
For programs like python it helps to set http_proxy with user and pass but for processing I don’t know how to solve this.
Ok, good idea. USB works and since there is no real “installation” i.e. all modules are in the subdirectories, this solution should work (even if proxy support would be better):
The proxy settings for Processing (the application itself) can be set in the file Users → [username] → AppData → Roaming → Processing → preferences.txt (Windows 7 and higher) You have to add the values for the keys proxy.host and proxy.port .
as a historical note, looks like these proxy preferences were first added in Processing 2:
You’d better hope there’s not a PAC file involved too! Then things get really interesting to support from Java. https://en.m.wikipedia.org/wiki/Proxy_auto-config Why on earth all this is not done on an OS level!
Well, if it is important to you then you might want to work on it, or put up a bounty or hire a developer to contribute it. “Help wanted” in the Processing repo often means the core developers have no schedule to work on that feature – ever – but are open to someone else helping to add it.
This makes some sense – they are a small team with a big request workload, and as far as they know very few of their users have authenticated proxies.