| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.9.0 (2023-05-07)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.9) pkg> st
Status `C:\Users\Hermesr\.julia\environments\v1.9\Project.toml` (empty project)
(@v1.9) pkg> add Plots
┌ Warning: attempting to remove probably stale pidfile
│ path = "C:\\Users\\Hermesr\\.julia\\registries\\.pid"
└ @ FileWatching.Pidfile C:\Users\Hermesr\AppData\Local\Programs\Julia-1.9.0\share\julia\stdlib\v1.9\FileWatching\src\pi
dfile.jl:244
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Failed to connect to pkg.julialang.org port 443 after 28133 ms: Timed out while requesting
https://pkg.julialang.org/registries
└ @ Pkg.Registry C:\Users\Hermesr\AppData\Local\Programs\Julia-1.9.0\share\julia\stdlib\v1.9\Pkg\src\Registry\Registry.j
l:69
Updating registry at `C:\Users\Hermesr\.julia\registries\General`
Updating git-repo `https://github.com/JuliaRegistries/General.git`
Resolving package versions...
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = RequestError: Failed to connect to pkg.julialang.org port 443 after 28127 ms: Timed out while requesting
https://pkg.julialang.org/registries
└ @ Pkg.Registry C:\Users\Hermesr\AppData\Local\Programs\Julia-1.9.0\share\julia\stdlib\v1.9\Pkg\src\Registry\Registry.j
l:69
Cloning [6c6a2e73-6563-6170-7368-637461726353] Scratch from https://github.com/JuliaPackaging/Scratch.jl.git
ERROR: failed to clone from https://github.com/JuliaPackaging/Scratch.jl.git, error: GitError(Code:ERROR, Class:OS, fail
ed to convert string to wide form: The parameter is incorrect.
)
That doesn’t look like it’s Plot specific, you can’t download the registry - what happens if you add some other package?
I recall that you are behind some corporate firewall and have these issues on every Julia update, maybe try whatever you tried that got it to work on your previous Julia versions?
Also, you seem to have an unusally long list of network/proxy-related issues
You might also be able to determine if the problem is Julia-related or something farther down with the Windows command prompt:
c:\Users\you\Documents> ping pkg.julialang.org
Or even opening a web browser link to https://pkg.julialang.org
(it doesn’t want you to connect with a web browser, but if you can see the server on port 443 (https), it will give you a brief complaint, and if you can’t see it, the web browser will tell you that the website cant be loaded.)
Also, you can see if you can clone the git repository containing the Julia package you want. If you can clone it but Julia can’t download it, then it might be a Julia setup issue?
in web browser: https://in.pkg.julialang.org/, I get this information:
You have reached a [Julia](https://julialang.org/) package server. It is not meant for browsing but for serving resources required by Julia clients to install packages. To discover and explore the Julia package ecosystem, see [this page](https://julialang.org/packages/) for a list of services.
Yes - the website warns you that it was not set up to be contacted in a webbrowser … however … you know that there is a way to connect to the server. So there is a connection there, and since it was an https
connection, that the crypto exchange was able to be performed to make a TLS
connection between your computer and the Julia package server.
If you are using a network proxy, you might get with your IT department to see if you can’t track down the issue, each additional layer of networking security does tend to make troubleshooting connectivity difficult.
(In summary, your computer seems to be capable of normally contacting the Julia package server, so it is either how Julia’s networking libraries interact with your proxy, or … I’d have to think some more)