Giter VIP home page Giter VIP logo

Comments (11)

staticfloat avatar staticfloat commented on May 18, 2024 1

Yes, and that is also supposed to work when you don't have sudo access I think.

from mbedtls.jl.

tkelman avatar tkelman commented on May 18, 2024

Prior versions did, master does not. That's a cache server failure, cc @staticfloat

from mbedtls.jl.

staticfloat avatar staticfloat commented on May 18, 2024

It's failing on the second download; e.g. the fastly/AWS server connection. Steps to reproduce:

$ docker run -ti quay.io/travisci/travis-ruby /bin/bash
root@1b0d11fe155c:/# curl -v -L -o /dev/null 'https://julialangcache-s3.julialang.org/'
* About to connect() to julialangcache-s3.julialang.org port 443 (#0)
*   Trying 151.101.54.49...   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0connected
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS alert, Server hello (2):
{ [data not shown]
* error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
* Closing connection #0
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Connecting directly to S3 works however:

root@1b0d11fe155c:/# curl -v -L -o /dev/null 'https://julialangcache.s3.amazonaws.com/'
... Lots of happy output ....

This is due to the fact that Fastly only supports TLS (and, starting today, only TLS version 1.2+) and the curl that comes with the precise images of Travis are too old to support this; they only support TLS 1.0.

from mbedtls.jl.

tkelman avatar tkelman commented on May 18, 2024

Good digging. Guess we could maybe do checksum verification but disable certificate checking in the curl call, would that help?

from mbedtls.jl.

staticfloat avatar staticfloat commented on May 18, 2024

We can also run this:

$ sudo apt-get update && sudo apt-get upgrade -y libssl1.0.0

That is sufficient to get libssl1.0.0 updated to the point that it'll talk to our servers.

from mbedtls.jl.

tkelman avatar tkelman commented on May 18, 2024

oh, ubuntu backported that? could try using the apt addon https://docs.travis-ci.com/user/installing-dependencies/#Adding-APT-Packages to avoid needing platform conditionals around it

from mbedtls.jl.

tkelman avatar tkelman commented on May 18, 2024

right. and sooner or later travis may change their default to 14.04, though I wonder whether people on centos 6 or other similarly old distros may have issues here. python was complaining at me about something related a while back, I forget the exact details though.

from mbedtls.jl.

yfractal avatar yfractal commented on May 18, 2024

@tkelman
Hi, thanks for your reply.
I guess 0.3.0 is the newest version which supports Julia 0.4, is that right?

from mbedtls.jl.

staticfloat avatar staticfloat commented on May 18, 2024

I wonder whether people on centos 6 or other similarly old distros may have issues here.

If I docker run -ti centos:6, I can curl just fine, so I think it's just a matter of people upgrading their outdated distros with the backported libssl packages. centos:5 doesn't work though, and I can't yum update to see if it's been backported because it looks like CentOS 5 is officially EOL'ed and the repos are gone.

from mbedtls.jl.

tkelman avatar tkelman commented on May 18, 2024

And the buildbots are indeed hitting this. Not good.

from mbedtls.jl.

samoconnor avatar samoconnor commented on May 18, 2024

@quinnj obsolete issue? should be closed?

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.