Giter Club home page Giter Club logo

Comments (3)

cp2004 avatar cp2004 commented on June 16, 2024

I don't see an issue with the SSL cert from here, so I suspect there is something with your network/internet provider that is blocking the connection. Perhaps if you open and read the contents of what was downloaded then it may give clues. The command for curl does include a -L in it, in the instructions, which it doesn't look like you've included - that's required to download following the redirect.

from octoprint-upgrade-to-py3.

kbratos avatar kbratos commented on June 16, 2024

I don't see an issue with the SSL cert from here, so I suspect there is something with your network/internet provider that is blocking the connection. Perhaps if you open and read the contents of what was downloaded then it may give clues. The command for curl does include a -L in it, in the instructions, which it doesn't look like you've included - that's required to download following the redirect.

pi@octopi:~ $ curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
pi@octopi:~ $ python3 upgrade.py

I didn´t paste the first command, I don´t think it´s a network issue because Igot a succesful update 3 weeks ago.

from octoprint-upgrade-to-py3.

kbratos avatar kbratos commented on June 16, 2024

curl -k -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
python3 upgrade.py

got it to work like this

from octoprint-upgrade-to-py3.

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.