Hi,
I’m having issues with using PlotlyLight.jl
and tracked down the issue to the following call:
Downloads.download("https://github.com/plotly/plotly.js/releases/latest")
I end up getting the following error:
julia> Downloads.download("https://github.com/plotly/plotly.js/releases/latest")
ERROR: RequestError: HTTP/1.1 200 OK (Failure when receiving data from the peer) while requesting https://github.com/plotly/plotly.js/releases/latest
Stacktrace:
[1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:388
[2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Curl\Curl.jl:90
[3] #8
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:329 [inlined]
[4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, String, Bool, Bool}, arg::IOStream)
@ ArgTools C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\ArgTools\src\ArgTools.jl:134
[5] #7
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:328 [inlined]
[6] arg_read
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\ArgTools\src\ArgTools.jl:76 [inlined]
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, debug::Nothing, throw::Bool, downloader::Nothing)
@ Downloads C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:327
[8] request
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:295 [inlined]
[9] #3
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:233 [inlined]
[10] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Nothing, String}, arg::Nothing)
@ ArgTools C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\ArgTools\src\ArgTools.jl:123
[11] #download#2
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:232 [inlined]
[12] download
@ C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:221 [inlined]
[13] download(url::String)
@ Downloads C:\Users\tbucelis\AppData\Local\Programs\Julia-1.9.3\share\julia\stdlib\v1.9\Downloads\src\Downloads.jl:221
[14] top-level scope
@ REPL[16]:1
Running with verbose=true
, shows the following before the error:
<
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: failed to decrypt data, need more data
* schannel: server closed abruptly (missing close_notify)
* Closing connection 0
* schannel: shutting down SSL/TLS connection with github.com port 443
ERROR: RequestError: HTTP/1.1 200 OK (Failure when receiving data from the peer) while requesting https://github.com/plotly/plotly.js/releases/latest
Stacktrace:
I have environment variables set for proxy (HTTP_PROXY
and HTTPS_PROXY
), and JULIA_SSL_NO_VERIFY_HOSTS
set to "**"
.
A simple call Downloads.download("https://www.google.com")
works fine, as does using HTTP.get("https://github.com/plotly/plotly.js/releases/latest")
.
Any ideas on what the issue could be and how to go around fixing that?