Giter Club home page Giter Club logo

Comments (4)

IainNZ avatar IainNZ commented on August 25, 2024

This site also works over HTTP, so I'm just doing that for now.

from mbedtls.jl.

malmaud avatar malmaud commented on August 25, 2024

FWIW, GnuTLS also barfs in the old version of Requests:

julia> r = Requests.get("https://img.shields.io/badge/foo-var-red.svg")
ERROR: GnuTLS Exception: GNUTLS_E_FATAL_ALERT_RECEIVED(-12): A TLS fatal alert has been received.
 in handshake! at /Users/malmaud/.julia/v0.3/GnuTLS/src/GnuTLS.jl:334
 in open_stream at /Users/malmaud/.julia/v0.3/Requests/src/Requests.jl:321
 in do_request at /Users/malmaud/.julia/v0.3/Requests/src/Requests.jl:708
 in get at /Users/malmaud/.julia/v0.3/Requests/src/Requests.jl:735
 in get at /Users/malmaud/.julia/v0.3/Requests/src/Requests.jl:734

I'll investigate.

from mbedtls.jl.

malmaud avatar malmaud commented on August 25, 2024

Closed via 3678e93.

from mbedtls.jl.

gtsotsos avatar gtsotsos commented on August 25, 2024

Hi @malmaud ,

I am also getting the same error code on MbedTLS for a different URL. Please refer to below output.

I also tested the code on an Ubuntu box and get the same error. Base.download manages to get the file.

Any ideas?

Cheers,
Georgios

using Requests;
resp = get("https://accounts.profunds.com/etfdata/ByFund/SPXN-historical_nav.csv");

MbedTLS error code -30592: SSL - A fatal alert message was received from our peer

in macro expansion at C:\Users\Georgios.julia\v0.5\MbedTLS\src\error.jl:4 [inlined]
in handshake(::MbedTLS.SSLContext) at C:\Users\Georgios.julia\v0.5\MbedTLS\src\ssl.jl:145
in open_stream(::HttpCommon.Request, ::MbedTLS.SSLConfig, ::Float64, ::Nullable{URIParser.URI}, ::Nullable{URIParser.URI}) at C:\Users\Georgios.julia\v0.5\Requests\src\streaming.jl:209
in #do_stream_request#23(::Dict{AbstractString,AbstractString}, ::Void, ::Void, ::Void, ::Array{Requests.FileParam,1}, ::Void, ::Dict{Any,Any}, ::Bool, ::Int64, ::Array{HttpCommon.Response,1}, ::MbedTLS.SSLConfig, ::Bool, ::Bool, ::Bool, ::Nullable{URIParser.URI}, ::Nullable{URIParser.URI}, ::Requests.#do_stream_request, ::URIParser.URI, ::String) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:381
in do_stream_request(::URIParser.URI, ::String) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:344
in #do_request#22(::Array{Any,1}, ::Function, ::URIParser.URI, ::String) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:311
in #get#29(::Array{Any,1}, ::Function, ::URIParser.URI) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:444
in #get#28(::Array{Any,1}, ::Function, ::String) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:443
in get(::String) at C:\Users\Georgios.julia\v0.5\Requests\src\Requests.jl:443

from mbedtls.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.