Install failure, how to restart / recover / retry ssl3_read_bytes "bad record mac" error

New user attempting to install on local ubuntu 22.04 system. Searches came up useless/empty. After git clone (appeared successful), ./run.sh failed as follows:

$ git clone -b release_25.0 https://github.com/galaxyproject/galaxy.git  (wd: ~/galaxy)
Cloning into 'galaxy'...
remote: Enumerating objects: 783422, done.
remote: Counting objects: 100% (2163/2163), done.
Receiving objects:  100% (783422/783422), 666.40 MiB | 708.00 KiB/s, done.
Resolving deltas: 100% (621808/621808), done.
$ ./run.sh
...
The Galaxy client has not yet been built and will be built now.
Installing yarn into /home/me/galaxy/galaxy/.venv with npm.

added 1 package in 2s
npm notice
npm notice New major version of npm available! 10.9.2 -> 11.4.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.2
npm notice To update run: npm install -g npm@11.4.2
npm notice
Trying to resolve path for the 'email_ban_file' option but it's empty/None
yarn install v1.22.22
[1/4] Resolving packages...
warning Resolution field "chokidar@3.5.3" is incompatible with requested version "chokidar@^4.0.1"
warning Resolution field "chokidar@3.5.3" is incompatible with requested version "chokidar@^3.6.0"
[2/4] Fetching packages...
error Error: 8078660653720000:error:0A0003FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac:../deps/openssl/openssl/ssl/rec
ord/rec_layer_s3.c:1605:SSL alert number 20

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR: Galaxy client dependency installation failed. See ./client/README.md for more information, including how to get help.

The directory tree contains no “openssl” in “./lib/galaxy/tool_util/deps/” and .venv has no “deps” directory anywhere.

Initially wondering if there was a way to refetch just that piece and then restart the install, but before posting this I re-downloaded and re-attempted the install and it succeeded. Posting this in case someone else has the same problem.

Initial download was via a wi-fi connection; second attempt was hard-wired.

Hi @GaryAitken

We have instructions in our tutorials. Please see:


From there, I would suggest that unless you have a compelling reason for a full installation, you might find the Docker version of Galaxy much easier to install and to get running and to keep running. Be sure to follow the README guide since many of the operations are partially done and what you’ll be doing is editing a configuration file, not setting it up (as in the full install).

This is a recent QA where the initial installation wasn’t into the correct default .venv environment (part of what I suspect your issue is?). The steps to get that very first part done correctly were covered and might help you as well (unless you do the Docker above, which I am strongly recommending!). Galaxy 25_0 on GCE, Microarray Tissue Analysis tutorial, ImageJ installation - #15 by GaryAitken

Hope this helps! :slight_smile: