I’m using download to get a copy of a Google sheet “published” to a url as csv (this is a convinient way of letting users edit their data online via Google sheets, and then I can download their finished data). Sometimes, not always, I get the following errors, any idea how I can fix these kind of things?
julia> ┌ Error: error handling request
│ exception =
│ ssl_handshake returned - mbedTLS: (-0x7280) SSL - The connection indicated an EOF while requesting https://docs.google.com/spreadsheets/d/e/2PACX-1vQNLWhLfp_iuW68j7SM6Px8ysTmbrfmrP_7ipXK9BkfzBgfqn3Mj7ra177m
ZyHlY5NLA3SDtfYNTROv/pub?gid=0&single=true&output=csv
│ Stacktrace:
│ [1] (::Downloads.var"#9#17"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int32, Bool, Bool})(easy::Downloads.Curl.Easy)
│ @ Downloads /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:348
│ [2] with_handle(f::Downloads.var"#9#17"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int32, Bool, Bool}, handle::Downloads.Curl.Easy)
│ @ Downloads.Curl /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/Curl.jl:54
│ [3] #8
│ @ /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:298 [inlined]
│ [4] arg_write(f::Downloads.var"#8#16"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int32, Bool, Bool}, arg::IOStream)
│ @ ArgTools /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:112
│ [5] #7
│ @ /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:297 [inlined]
│ [6] arg_read
│ @ /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:61 [inlined]
│ [7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, throw::Bool, downloader::Nothing)
│ @ Downloads /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:296
│ [8] (::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String})(output::IOStream)
│ @ Downloads /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:209
│ [9] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String}, arg::Nothing)
│ @ ArgTools /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:101
│ [10] #download#2
│ @ /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:208 [inlined]
│ [11] download(url::String, output::Nothing)
│ @ Downloads /buildworker/worker/package_linuxarmv7l/build/usr/share/julia/stdlib/v1.6/Downloads/src/Downloads.jl:208
│ [12] #invokelatest#2
│ @ ./essentials.jl:707 [inlined]
│ [13] invokelatest
│ @ ./essentials.jl:706 [inlined]
│ [14] do_download
│ @ ./download.jl:33 [inlined]
│ [15] download
│ @ ./download.jl:29 [inlined]
│ [16] get_setups()
│ @ SkyRoom ~/.julia/packages/SkyRoom/t7UD0/src/SkyRoom.jl:144
│ [17] handler(allwind::SkyRoom.AllWind, led_arduino::SkyRoom.LEDArduino, camera::SkyRoom.PiCamera, data::Observables.Observable{NamedTuple{(:frame, :trpms), Tuple{Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}, Pair{Dates.DateTime, Vector{Vector{Union{Missing, Float64}}}}}}}, session::JSServe.Session, request::HTTP.Messages.Request)
│ @ SkyRoom ~/.julia/packages/SkyRoom/t7UD0/src/SkyRoom.jl:310
│ [18] (::SkyRoom.var"#69#70"{Observables.Observable{NamedTuple{(:frame, :trpms), Tuple{Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}, Pair{Dates.DateTime, Vector{Vector{Union{Missing, Float64}}}}}}}, SkyRoom.PiCamera, SkyRoom.LEDArduino, SkyRoom.AllWind})(session::JSServe.Session, request::HTTP.Messages.Request)
│ @ SkyRoom ~/.julia/packages/SkyRoom/t7UD0/src/SkyRoom.jl:332
│ [19] #invokelatest#2
│ @ ./essentials.jl:707 [inlined]
│ [20] invokelatest
│ @ ./essentials.jl:706 [inlined]
│ [21] serve_dom(context::NamedTuple{(:routes, :application, :request, :match), Tuple{JSServe.Routes, JSServe.Application, HTTP.Messages.Request, String}}, dom::Function)
│ @ JSServe ~/.julia/packages/JSServe/WVp6t/src/types.jl:373
│ [22] (::JSServe.var"#10#14"{SkyRoom.var"#69#70"{Observables.Observable{NamedTuple{(:frame, :trpms), Tuple{Matrix{ColorTypes.RGB{FixedPointNumbers.N0f8}}, Pair{Dates.DateTime, Vector{Vector{Union{Missing, Float64}}}}}}}, SkyRoom.PiCamera, SkyRoom.LEDArduino, SkyRoom.AllWind}})(ctx::NamedTuple{(:routes, :application, :request, :match), Tuple{JSServe.Routes, JSServe.Application, HTTP.Messages.Request, String}})
│ @ JSServe ~/.julia/packages/JSServe/WVp6t/src/types.jl:389
│ [23] apply_handler(f::Function, args::NamedTuple{(:routes, :application, :request, :match), Tuple{JSServe.Routes, JSServe.Application, HTTP.Messages.Request, String}})
│ @ JSServe ~/.julia/packages/JSServe/WVp6t/src/types.jl:218
│ [24] delegate(::JSServe.Routes, ::JSServe.Application, ::HTTP.Messages.Request)
│ @ JSServe ~/.julia/packages/JSServe/WVp6t/src/types.jl:237
│ [25] #6
│ @ ~/.julia/packages/JSServe/WVp6t/src/types.jl:350 [inlined]
│ [26] handle
│ @ ~/.julia/packages/HTTP/hbs7O/src/Handlers.jl:254 [inlined]
│ [27] handle(::HTTP.Handlers.RequestHandlerFunction{JSServe.var"#6#8"{JSServe.Application}}, ::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}})
│ @ HTTP.Handlers ~/.julia/packages/HTTP/hbs7O/src/Handlers.jl:277
│ [28] stream_handler(application::JSServe.Application, stream::HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}})
│ @ JSServe ~/.julia/packages/JSServe/WVp6t/src/types.jl:355
│ [29] #invokelatest#2
│ @ ./essentials.jl:707 [inlined]
│ [30] invokelatest
│ @ ./essentials.jl:706 [inlined]
│ [31] #20
│ @ ~/.julia/packages/JSServe/WVp6t/src/types.jl:468 [inlined]
│ [32] macro expansion
│ @ ~/.julia/packages/HTTP/hbs7O/src/Servers.jl:402 [inlined]
│ [33] (::HTTP.Servers.var"#13#14"{JSServe.var"#20#22"{JSServe.Application}, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}, HTTP.Streams.Stream{HTTP.Messages.Request, HTTP.ConnectionPool.Transaction{Sockets.TCPSocket}}})()
│ @ HTTP.Servers ./task.jl:395
└ @ HTTP.Servers ~/.julia/packages/HTTP/hbs7O/src/Servers.jl:413