Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch Error: unable to verify the first certificate during deploy/upload to Arduino. #1291

Closed
nkrkv opened this issue Jun 19, 2018 · 1 comment
Labels
hotfix Issue/PR for a patch release s:client t:bug

Comments

@nkrkv
Copy link
Member

nkrkv commented Jun 19, 2018

A weird SSL bug which affects newcomers and makes XOD look like malware which gladly reports itself 😃

Environment

  • Scope: desktop IDE
  • Version: 0.21.0
  • OS: Windows 10

Steps to reproduce

On a fresh install, try to upload to trigger toolchain download

Expected behavior

The toolchain is installed, the upload goes on

Actual behavior

Error:

Fetch Error: request to https://storage.googleapis.com/releases.xod.io/packages/win32-avr-tools.tar.gz failed, reason: unable to verify the first certificate”, during deploy/upload to Arduino.

Details

The bug was reported by several users with Windows machines. In one particular case, it was due to Kaspersky enabled.

The hypothesis is that something wrong with cert for googleapis.com (which we have no influence on) and the CA data on Windows is somewhat stale (a user did not update for a long time).

How to fix

Try to use the latest CA list explicitly: https://stackoverflow.com/questions/31673587/error-unable-to-verify-the-first-certificate-in-nodejs

@nkrkv nkrkv added t:bug s:client hotfix Issue/PR for a patch release labels Jun 19, 2018
@brusherru brusherru self-assigned this Jul 9, 2018
@brusherru brusherru removed their assignment Sep 13, 2018
@nkrkv
Copy link
Member Author

nkrkv commented Oct 25, 2018

Closed by switching to arduino-cli since 0.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix Issue/PR for a patch release s:client t:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants