# JunoTroubles

**URL:** <https://discourse.julialang.org/t/junotroubles/13994>\
**Category:** New to Julia\
**Created:** [August 24, 2018, 1:51pm UTC](https://discourse.julialang.org/t/junotroubles/13994 "2018-08-24T13:51:00Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neonlights](https://avatars.discourse-cdn.com/v4/letter/n/a698b9/32.png) [@Neonlights](https://discourse.julialang.org/u/Neonlights)\
**Post date:** [August 24, 2018, 1:51pm UTC](https://discourse.julialang.org/t/junotroubles/13994/1 "2018-08-24T13:51:00Z")

</div>

Woe is me. For I have installed Julia, then tried to set up Atom with Juno, and on starting up the Console REPL this is what I got. What should I do to fix this? I’m a bit troubled that it seems to have failed on a clone from github ☹

```julia
Press Enter to start Julia.

Hold on tight while we're installing some packages for you.
This should only take a few seconds...

   Cloning default registries into C:\Users\--\.julia\registries
   Cloning registry General from "https://github.com/JuliaRegistries/General.git"
ERROR: LoadError: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Net, malformed URL 'http://10.23.28.130:8080;PROXY')
Stacktrace:
 [1] pkgerror(::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:120
 [2] #clone#2(::String, ::Base.Iterators.Pairs{Symbol,LibGit2.CachedCredentials,Tuple{Symbol},NamedTuple{(:credentials,),Tuple{LibGit2.CachedCredentials}}}, ::Function, ::String, ::String) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\GitTools.jl:102
 [3] #clone at .\none:0 [inlined]
 [4] (::getfield(Pkg.Types, Symbol("##50#54")))(::LibGit2.CachedCredentials) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:927
 [5] shred!(::getfield(Pkg.Types, Symbol("##50#54")), ::LibGit2.CachedCredentials) at .\secretbuffer.jl:184
 [6] #registries#49(::Bool, ::Function) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:923
 [7] registries at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:907 [inlined]
 [8] macro expansion at .\logging.jl:307 [inlined]
 [9] update_registry(::Pkg.Types.Context) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:96
 [10] #handle_repos_add!#31(::Bool, ::Nothing, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\Types.jl:593
 [11] #handle_repos_add! at .\none:0 [inlined]
 [12] #add_or_develop#13(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:54
 [13] #add_or_develop at .\none:0 [inlined]
 [14] #add_or_develop#12 at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:29 [inlined]
 [15] #add_or_develop at .\none:0 [inlined]
 [16] #add_or_develop#11(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::Array{String,1}) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\Pkg\src\API.jl:28
 [17] add(::String) at .\none:0
 [18] top-level scope at C:\Users\u0159027\.atom\packages\julia-client\script\boot_repl.jl:19
 [19] include at .\boot.jl:317 [inlined]
 [20] include_relative(::Module, ::String) at .\loading.jl:1038
 [21] include(::Module, ::String) at .\sysimg.jl:29
 [22] exec_options(::Base.JLOptions) at .\client.jl:229
 [23] _start() at .\client.jl:421
in expression starting at C:\Users\--\.atom\packages\julia-client\script\boot_repl.jl:1

```

---

<div class="post-metadata">

**Author:** ![Moses](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Moses](https://discourse.julialang.org/u/Moses)\
**Post date:** [August 29, 2018, 6:12am UTC](https://discourse.julialang.org/t/junotroubles/13994/2 "2018-08-29T06:12:52Z")

</div>

@Neonlights Did you meanwhile solve the issue?  
I remember having problems with setting up atom as well. The `uber-juno` package did not work properly.

If I recall it properly, I solved it by basically installing all the packages manually that are usually installed automatically by uber-juno. This idea was based on [this](https://discourse.julialang.org/t/ann-juno-0-7/12557) thread, especially [this](https://discourse.julialang.org/t/ann-juno-0-7/12557/20) comment.

Furthermore, make sure you add the `Atom` package in julia’s REPL, before running Atom.

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [August 29, 2018, 7:19pm UTC](https://discourse.julialang.org/t/junotroubles/13994/3 "2018-08-29T19:19:51Z")

</div>

@Neonlights error is unrelated to what you’re proposing since it happens inside Julia.

There seems to be something wrong with the pacakge manager on your Julia install. Can you open Julia outside of Juno and type in `] add Atom`, @Neonlights?

---

<div class="post-metadata">

**Author:** ![IvanFilippenko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ivanfilippenko/32/5188_2.png) [@IvanFilippenko](https://discourse.julialang.org/u/IvanFilippenko)\
**Post date:** [September 4, 2018, 1:50am UTC](https://discourse.julialang.org/t/junotroubles/13994/4 "2018-09-04T01:50:27Z")

</div>

I’m having precisely the same problem as @Neonlights, and it’s been driving me bananas. Same circumstances as his. Here’s what I get in a Julia terminal outside of Atom/Juno:

 ![Julia-registry-error-adding-package](https://global.discourse-cdn.com/julialang/original/3X/1/a/1a651a4df78c6e067f981f4e35957d8d8217a1af.jpeg)

And here’s what I get when starting up Julia in Juno:

 ![Julia-registry-error-adding-package-in-Juno](https://global.discourse-cdn.com/julialang/original/3X/b/5/b592ab3daeada76620c0849d065f3d6d7e1765f3.jpeg)

Any help resolving this immediate impediment to using Julia (and Juno) would be greatly appreciated (I’m very interested in the language and its environment), including possible workarounds, perhaps consisting of manually cloning packages to locations where Julia and/or Atom/Juno will look for them, thereby obviating (hopefully) the system’s need to clone from GitHub. But what would be the right way to do that? I’m trying various things, none of which seem to have worked so far … Many thanks!

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [September 4, 2018, 7:14am UTC](https://discourse.julialang.org/t/junotroubles/13994/5 "2018-09-04T07:14:27Z")

</div>

Are you behind a restrictive proxy?

A possible workaround is manually `git clone`ing `https://github.com/JuliaRegistries/General.git` into `~/.julia/registries`. After that you _might_ be able to `add` packages.

---

<div class="post-metadata">

**Author:** ![Juser](https://avatars.discourse-cdn.com/v4/letter/j/34f0e0/32.png) [@Juser](https://discourse.julialang.org/u/Juser)\
**Post date:** [September 5, 2018, 2:19am UTC](https://discourse.julialang.org/t/junotroubles/13994/6 "2018-09-05T02:19:18Z")

</div>

I had issues with Atom https/http proxies in the past.

If anyone above is behind a restrictive proxy, they should look at [this](https://github.com/atom/apm#behind-a-firewall) and may want to play around with combinations of https/http proxy. It turned out that for some reason apm wanted me to set my http proxy as the https proxy. I don’t know why but this was the only way that I got apm to work behind my proxy.

---

<div class="post-metadata">

**Author:** ![IvanFilippenko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ivanfilippenko/32/5188_2.png) [@IvanFilippenko](https://discourse.julialang.org/u/IvanFilippenko)\
**Post date:** [September 7, 2018, 6:35am UTC](https://discourse.julialang.org/t/junotroubles/13994/7 "2018-09-07T06:35:15Z")

</div>

@Juser, my experience with Julia and JuliaPro on Windows 10 has been similar. To get Pkg to work, I had to set the system environment variable HTTPS\_PROXY using “http://” (same as HTTP\_PROXY) rather than “https://”. Seemed odd, but it worked! (Will forward a link to the tip, if I find it.)

---

<div class="post-metadata">

**Author:** ![IvanFilippenko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ivanfilippenko/32/5188_2.png) [@IvanFilippenko](https://discourse.julialang.org/u/IvanFilippenko)\
**Post date:** [September 7, 2018, 6:46am UTC](https://discourse.julialang.org/t/junotroubles/13994/8 "2018-09-07T06:46:59Z")

</div>

Thanks for your reply, @pfitzseb. Manual cloning didn’t resolve the problem, though for a while it seemed like it might help. However, I came across this secret sauce – to set the HTTPS\_PROXY variable as for HTTP\_PROXY, using “http://” instead of “https://” – and that seems to have taken care of it!

Interesting that @Juser ran into this wrinkle in the context of apm, the Atom Package Manager. My problem was with Julia’s Pkg.

Hope this helps @Neonlights.

---

<div class="post-metadata">

**Author:** ![conrad-mac](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@conrad-mac](https://discourse.julialang.org/u/conrad-mac)\
**Post date:** [May 2, 2019, 10:32pm UTC](https://discourse.julialang.org/t/junotroubles/13994/9 "2019-05-02T22:32:00Z")

</div>

> [@IvanFilippenko](#):
>
> I came across this secret sauce – to set the HTTPS\_PROXY variable as for HTTP\_PROXY, using “http://” instead of “https://”.

This worked for me! Thanks @IvanFilippenko

---

<div class="post-metadata">

**Author:** ![JohnQuigley](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@JohnQuigley](https://discourse.julialang.org/u/JohnQuigley)\
**Post date:** [April 22, 2021, 3:34pm UTC](https://discourse.julialang.org/t/junotroubles/13994/10 "2021-04-22T15:34:23Z")

</div>

I am having a similar problem of Windows 10. Did you set the environmental variables in the usual way? or is this done through Julia? Thank you. John

---

<div class="post-metadata">

**Author:** ![miguelraz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/miguelraz/32/631_2.png) [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Post date:** [April 22, 2021, 7:25pm UTC](https://discourse.julialang.org/t/junotroubles/13994/11 "2021-04-22T19:25:05Z")

</div>

@JohnQuigley:

Juno has been left in maintenance mode, and all users are recommended to switch over to the VSCode extension, which is where all the Juno devs went.

They are basically at feature parity, so it should me a smoother experience.

---

<div class="post-metadata">

**Author:** ![JohnQuigley](https://avatars.discourse-cdn.com/v4/letter/j/2acd7d/32.png) [@JohnQuigley](https://discourse.julialang.org/u/JohnQuigley)\
**Post date:** [April 22, 2021, 8:31pm UTC](https://discourse.julialang.org/t/junotroubles/13994/12 "2021-04-22T20:31:27Z")

</div>

Thanks Miguel
