Remote error: tls: handshake failure with v1.69.2

What is the problem you are having with rclone?

Failed to copy files from MEGA storage since rclone v1.69.2.
It works fine if I revert to v1.69.1.

Run the command 'rclone version' and share the full output of the command.

rclone v1.69.2
- os/version: ubuntu 24.04 (64 bit)
- os/kernel: 6.11.0-1012-azure (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.24.2
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

MEGA

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy mega:FILE.txt . -Pvv

The rclone config contents with secrets removed.

[mega]
type = mega
user = <DEDUCTED>
pass = *** ENCRYPTED ***
use_https = true

A log from the command with the -vv flag

2025/05/05 10:22:12 DEBUG : FILE.txt: Reopening on read failure after offset 0 bytes: retry 10/10: Get "https://******.userstorage.mega.co.nz/dl/******": remote error: tls: handshake failure
2025/05/05 10:22:12 DEBUG : FILE.txt: Reopen failed after offset 0 bytes read: failed to reopen: too many retries
2025/05/05 10:22:12 NOTICE: FILE.txt.bfb33da0.partial: Removing partially written file on error: Get "https://******.userstorage.mega.co.nz/dl/******": remote error: tls: handshake failure
2025/05/05 10:22:12 ERROR : FILE.txt: Failed to copy: Get "https://******.userstorage.mega.co.nz/dl/******": remote error: tls: handshake failure
2025/05/05 10:22:12 ERROR : Attempt 1/3 failed with 1 errors and: Get "https://******.userstorage.mega.co.nz/dl/******": remote error: tls: handshake failure

welcome to the forum,

can you test without use_https = true ?

FYI - I have some mega accounts and indeed use_https = true stopped working with rclone v1.69.2. It was fine before.

On the other hand I always had it set to false:slight_smile: But do not remember why - I bet I had some issues with it as otherwise I am not setting random flags.