I tried to do
Pkg.update()
which works in Juno but not in Julia REPL nor VSCode. This is the message I get.
ERROR: METADATA cannot be updated. Resolve problems manually in C:\User\usernameA\.julia\v0.6\METADATA.
GitError(Code:ERROR, Class:OS, failed to send request: The server name or address could not be resolved
)
R used to have these type of issues years ago and you can fix it by running setinternet2()
which tells R to use the same proxy as Internet Explorer. Somehow Juno is doing it correctly. Can we please implement the same in VSCode’s Julia extension?
It is extremely important to have this feature to get wider corporate adoption of Julia. For people like us who work behind a corporate proxy we need auto detection etc to enable a smooth experience. Wish I know more and can contribute a solution but “bug” reports like this is the best I can do. Also I don’t understand networking and corporate proxies/firewall enough to give a more precise definition.