`yarn upgrade` fails

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
javascript

Research direction

Start by reproducing yarn set version 4.17.0 && yarn and yarn upgrade in the sfw-free wrapper, focusing on the request to repo.yarnpkg.com for the aarch64-apple-darwin release. Investigate why the socket firewall reports no package fetch attempts and returns an unknown-CA TLS error. Done means Yarn can download an uninstalled version successfully.

Written by the indexing model from the issue text.

Description

This fails: yarn set version 4.17.0 && yarn / yarn upgrade unless the version is already installed.

✗ · Failed to download Yarn 4.17.0 after 0.05s.

Error: error sending request for url (https://repo.yarnpkg.com/releases/4.17.0/aarch64-apple-darwin)

› yarn […ARGSN]

=== Socket Firewall ===

Warning: Socket Firewall did not detect any package fetch attempts

Error occurred: client socket error for hostname 'repo.yarnpkg.com'
  Error 805EFFF801000000:error:0A000418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:916:SSL alert number 48
   []
Error occurred: Error caught at boundary "HTTP CONNECT socket"
  Error unable to establish secure connection with client [getRequestIteratorForTls (sfw-free.js:119:1087) <- process.processTicksAndRejections (task_queues:105:5) <- async handleConnect (sfw-free.js:121:892)]
Dominant language
No language data
Stars
271
Forks
8
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SocketDev/sfw-free

All issues in SocketDev/sfw-free

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.