Mega - Error couldn't login


#1

Hi.

I’m a newbie to rclone so I thank any suggestion.

I’m trying to use rclone to sync wtih an existing mega account. I followed the configuration tutorial https://rclone.org/mega/ but when I use the command: rclone ls --mega-debug -vv mega:

I’ve got the following information and final error:

2018/09/30 16:34:40 DEBUG : rclone: Version “v1.43.1” starting with parameters [“rclone” “ls” “–mega-debug” “-vv” “mega:”]
2018/09/30 16:34:40 DEBUG : Using config file from “/home/user/.config/rclone/rclone.conf”
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 1/10: Try again
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 2/10: Try again
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 3/10: Try again
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 4/10: Try again
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 5/10: Try again
2018/09/30 16:34:41 DEBUG : go-mega: Retry API request 6/10: Try again
2018/09/30 16:34:42 DEBUG : go-mega: Retry API request 7/10: Try again
2018/09/30 16:34:42 DEBUG : go-mega: Retry API request 8/10: Try again
2018/09/30 16:34:44 DEBUG : go-mega: Retry API request 9/10: Try again
2018/09/30 16:34:46 DEBUG : go-mega: Retry API request 10/10: Try again
2018/09/30 16:34:51 Failed to create file system for “mega:”: couldn’t login: Try again

My rclone.conf (without user and password is):
[mega]
type = mega
user =
pass =
debug = false

I don’t know it’s normal (I suppose it’s encrypted) but the password listed in pass is not the same as mine (not even is the recovery key from mega).

Thanking in advanced your help.

Javier


#2

1.Try with a second account.
2. See If your firewall is not blocking rclone.


#3

Yes that is normal. The password in the config file is obscured to prevent “eyedropping” (like eavesdropping but with your eye!).

Hmm, I wonder if it might be mega is overloaded at that particular point…

Can you try with -vv --dump bodies and paste a request and response? Make sure you XXX out any sensitive looking stuff.

The first request should look like this

2018/10/01 11:14:16 DEBUG : HTTP REQUEST (req 0xc0003b2900)
2018/10/01 11:14:16 DEBUG : POST /cs?id=404928537 HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43-DEV
Content-Length: 60
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"us","user":"youremail@yourdomain","uh":"yourpassword"}]

Is that what you see? does your email / password look correct there?

If your password or email was wrong I’d expect to see this error

2018/10/01 11:17:37 Failed to create file system for "mega:": couldn't login: Object (typically, node or user) not found

Also make sure you can log in with those credentials at mega.nz


#4

Thank you, Alfred.

  1. I tried another account and it’s the same behavior.
  2. I use Linux Mint and the firewall it has is not active. I’m a newbie linux user and I don’t know any other way to check that.

I’m sorry for my english.

Thank you for your help

Javier


#5

Thank you ncw for your reply.

This is the code I get:

rclone lsd --mega-debug -vv --dump bodies mega:
2018/10/01 14:02:10 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "lsd" "--mega-debug" "-vv" "--dump" "bodies" "mega:"]
2018/10/01 14:02:10 DEBUG : Using config file from "/home/javier/.config/rclone/rclone.conf"
2018/10/01 14:02:10 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:10 DEBUG : HTTP REQUEST (req 0xc0002f9300)
2018/10/01 14:02:10 DEBUG : POST /cs?id=3452739300 HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 64
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"us","user":"XXXXXXXX","uh":"XXXXXXXXXXX"}]
2018/10/01 14:02:10 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : HTTP RESPONSE (req 0xc0002f9300)
2018/10/01 14:02:11 DEBUG : HTTP/1.1 200 OK
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 1298

[{"csid":"CABGeOwLWOCrKvswQuwG2Tly7gzUqD1VR0K1JgSA94gvBi9OCj0FhyoMfNTXKso0LFBDzk8NbsabOiyRIgg-dVgWRSprgPo-ADkNssfpLx0TZrT7647E8cJFcJCLA1a7sjWksTAulO2EZOkZ94Y8W1ao45PZ2_rrBHqM0w340T50CDFVRjPbGJwl_ifXV4wyNAcXGk-BpaGq53XiEusycZ_9PymYL1qOeJEHEIGdHDo5KsqJ2bDPQj5tyNAojW8D7aYLE_bgU5yXPVQ2UJ0jE1NdxJGSSHUrNcMPvZmZltcYgI_1feYTGnMVzTacpWJKgslKiCjyEJDtlaGLx-4OWXfu","privk":"Po07aptxw7LUeVXanz0xIKEExY95sFLqPz-M4cabp_p76rHk7UBRtUb0Cocp8yBeSUBJVRMrrviVHIC-Q7zPHZg1M0BTxd9Wn2j0vO5MbvGwYOv0DD8eWCHwdLN4yQw--Bem5QkmlKdUTXiWwFXKRAnfMEuxYAOQnM_ZUeIrVVBO8SjlJHvJFcn5o-j-V3RfBqSrg8xmSutYEgkacuV6A99FfZetvp-m8wXYzIDwJx1LZ4W7QqcniR-ypoZldzU28iGYOtsfoUDBbfwNzWIqlvqjwGiTXCEqhE15rG_dIhNcCnPytItTKuvkmvNWK50MA7RjakzqPMTacZKtxTivKkdRNlcDLis_Drjr1FPnHXuS0Ag8lBZJj20lvNYd8bsxjot2BZnCdxiQJol5_5bbT4ahjPCtxbEHMgcaPqEmhMwvc-EmviRc0yWdLkN09Vzf4iAdXnx7rNAv6Arwj0QC9CYmq_ZdgIB9D4cICzaRHbT_Feiz_-Rt98nXsh75JJPFP2vrbzEcNIjlH_HaJ5VNjHP4gH0NotTZbbKKBfubMNICoEtPqa1VRCFr-o6N7AuTDwwU0zKBYt8szMs93ZL9gcBlKKUGDHuVShv76X7Xn-HtDu4doB-idAE9NhY0M6cDXdaRjX8cjahJYZpmt56Jjg_MT-twEs0RTsQm-NfuO98E-2XwXRMWyQXDhmU-a5hriNlZtp0QMBg4eXj7nJ1q1CiB-3ihjRO3I9wIU9r7t9xLG9rzngAr8b-5DvM1oMFl75kv-eZ6FSECqroBlKMadh5HKiUmvEz-8OrYjz1gkBRg67ecm11VQK-cLyMb8dIGZ3xm6sUlNO3G4-ocdb6e4VGIG2eNKAnfCaPMVpshnXM","k":"d14oltkqqi6jtCBbXLB2NQ","u":"L6YS8HWYlBw","ach":0}]
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : HTTP REQUEST (req 0xc00018a000)
2018/10/01 14:02:11 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : HTTP RESPONSE (req 0xc00018a000)
2018/10/01 14:02:11 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : *go-mega*: Retry API request 1/10: Try again
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : HTTP REQUEST (req 0xc00018a700)
2018/10/01 14:02:11 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : HTTP RESPONSE (req 0xc00018a700)
2018/10/01 14:02:11 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : *go-mega*: Retry API request 2/10: Try again
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : HTTP REQUEST (req 0xc0000d4200)
2018/10/01 14:02:11 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : HTTP RESPONSE (req 0xc0000d4200)
2018/10/01 14:02:11 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : *go-mega*: Retry API request 3/10: Try again
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : HTTP REQUEST (req 0xc00018b100)
2018/10/01 14:02:11 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : HTTP RESPONSE (req 0xc00018b100)
2018/10/01 14:02:11 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:11 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:11 DEBUG : *go-mega*: Retry API request 4/10: Try again
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:11 DEBUG : HTTP REQUEST (req 0xc00055a000)
2018/10/01 14:02:11 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:11 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : HTTP RESPONSE (req 0xc00055a000)
2018/10/01 14:02:12 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : *go-mega*: Retry API request 5/10: Try again
2018/10/01 14:02:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:12 DEBUG : HTTP REQUEST (req 0xc0002f9000)
2018/10/01 14:02:12 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : HTTP RESPONSE (req 0xc0002f9000)
2018/10/01 14:02:12 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : *go-mega*: Retry API request 6/10: Try again
2018/10/01 14:02:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:12 DEBUG : HTTP REQUEST (req 0xc0002f9400)
2018/10/01 14:02:12 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:12 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : HTTP RESPONSE (req 0xc0002f9400)
2018/10/01 14:02:12 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:12 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:12 DEBUG : *go-mega*: Retry API request 7/10: Try again
2018/10/01 14:02:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:13 DEBUG : HTTP REQUEST (req 0xc00055a300)
2018/10/01 14:02:13 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:13 DEBUG : HTTP RESPONSE (req 0xc00055a300)
2018/10/01 14:02:13 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:13 DEBUG : *go-mega*: Retry API request 8/10: Try again
2018/10/01 14:02:14 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:14 DEBUG : HTTP REQUEST (req 0xc0002f9600)
2018/10/01 14:02:14 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:14 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:14 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:14 DEBUG : HTTP RESPONSE (req 0xc0002f9600)
2018/10/01 14:02:14 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:14 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:14 DEBUG : *go-mega*: Retry API request 9/10: Try again
2018/10/01 14:02:17 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:17 DEBUG : HTTP REQUEST (req 0xc000556300)
2018/10/01 14:02:17 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:17 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:17 DEBUG : HTTP RESPONSE (req 0xc000556300)
2018/10/01 14:02:17 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:17 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:17 DEBUG : *go-mega*: Retry API request 10/10: Try again
2018/10/01 14:02:22 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:22 DEBUG : HTTP REQUEST (req 0xc00055a600)
2018/10/01 14:02:22 DEBUG : POST /cs?id=3452739301&sid=DaXumG0y_Ti0u_2cHSdKIUw2WVM4SFdZbEJ3OS4DJj62SFFeL7U7yXBFCA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 14:02:22 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 14:02:22 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:22 DEBUG : HTTP RESPONSE (req 0xc00055a600)
2018/10/01 14:02:22 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 14:02:22 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 14:02:22 Failed to create file system for "mega:": couldn't login: Try again

Answering your questions:

  • The email is the correct one but the password is not correct (it’s not mine password or the “encrypted” password stored in rclone.conf).
  • I’ve no problems accessing to Mega with my username and password.

Thank you for your help.


#6

It looks like you logged in correctly according to the above.

That is rclone asking for the files in your mega

And that is mega saying “Try again”.

rclone tries 10 times and then gives up.

That is OK - I forgot the password is encrypted there using mega’s encryption

I guess the next thing to try would be to see if more retries are needed - will it work eventually? So can you try --low-level-retries 100 and see if that helps?


#7

Hi, ncw.

I’m sorry to say that it did the same:.

rclone lsd --mega-debug -vv --dump bodies --low-level-retries 100 mega:
2018/10/01 20:26:26 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "lsd" "--mega-debug" "-vv" "--dump" "bodies" "--low-level-retries" "100" "mega:"]
2018/10/01 20:26:26 DEBUG : Using config file from "/home/javier/.config/rclone/rclone.conf"
2018/10/01 20:26:26 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:26 DEBUG : HTTP REQUEST (req 0xc0002af300)
2018/10/01 20:26:26 DEBUG : POST /cs?id=2037750473 HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 64
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"us","user":"XXX","uh":"XXX"}]
2018/10/01 20:26:26 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : HTTP RESPONSE (req 0xc0002af300)
2018/10/01 20:26:27 DEBUG : HTTP/1.1 200 OK
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 1298

[{"csid":"CAAQko43uwBe3y70WEGxWBlqCswcZchr5Ra0VyvRpJIkWJ-I33FinRO1N0JFn5c89-FgOasJLs3lJH8BaNmcsbZNsQkc0Om2HZ2lHxQAw8XRV-As_jaMXrlwo0Kk_MjY2VsjGOf6SeTFZz-icBBSKtbe1ual4PBKbDUD3O80J-8fDD84UgkbE8we1RYdCKiJfh48w7zOWSPpAKgsDptIQ06FrtOoML_YFD0Z7lZb-C19rDte-nLvJawsK9-693qptFx1io6e7pBdcUfHz9fEif5dUx_XJT0E97DJBoo9FdXigxiho-sDt8csnqbW7wmoxsrT73IsdQTK-QeCzw7e-W7g","privk":"Po07aptxw7LUeVXanz0xIKEExY95sFLqPz-M4cabp_p76rHk7UBRtUb0Cocp8yBeSUBJVRMrrviVHIC-Q7zPHZg1M0BTxd9Wn2j0vO5MbvGwYOv0DD8eWCHwdLN4yQw--Bem5QkmlKdUTXiWwFXKRAnfMEuxYAOQnM_ZUeIrVVBO8SjlJHvJFcn5o-j-V3RfBqSrg8xmSutYEgkacuV6A99FfZetvp-m8wXYzIDwJx1LZ4W7QqcniR-ypoZldzU28iGYOtsfoUDBbfwNzWIqlvqjwGiTXCEqhE15rG_dIhNcCnPytItTKuvkmvNWK50MA7RjakzqPMTacZKtxTivKkdRNlcDLis_Drjr1FPnHXuS0Ag8lBZJj20lvNYd8bsxjot2BZnCdxiQJol5_5bbT4ahjPCtxbEHMgcaPqEmhMwvc-EmviRc0yWdLkN09Vzf4iAdXnx7rNAv6Arwj0QC9CYmq_ZdgIB9D4cICzaRHbT_Feiz_-Rt98nXsh75JJPFP2vrbzEcNIjlH_HaJ5VNjHP4gH0NotTZbbKKBfubMNICoEtPqa1VRCFr-o6N7AuTDwwU0zKBYt8szMs93ZL9gcBlKKUGDHuVShv76X7Xn-HtDu4doB-idAE9NhY0M6cDXdaRjX8cjahJYZpmt56Jjg_MT-twEs0RTsQm-NfuO98E-2XwXRMWyQXDhmU-a5hriNlZtp0QMBg4eXj7nJ1q1CiB-3ihjRO3I9wIU9r7t9xLG9rzngAr8b-5DvM1oMFl75kv-eZ6FSECqroBlKMadh5HKiUmvEz-8OrYjz1gkBRg67ecm11VQK-cLyMb8dIGZ3xm6sUlNO3G4-ocdb6e4VGIG2eNKAnfCaPMVpshnXM","k":"d14oltkqqi6jtCBbXLB2NQ","u":"L6YS8HWYlBw","ach":0}]
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:27 DEBUG : HTTP REQUEST (req 0xc0000ea200)
2018/10/01 20:26:27 DEBUG : POST /cs?id=2037750474&sid=iAOia4y6EtmiiZ9j1VXXq0w2WVM4SFdZbEJ3iR0rGn7IZ8Slpbf7h8USNA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 20:26:27 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : HTTP RESPONSE (req 0xc0000ea200)
2018/10/01 20:26:27 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : *go-mega*: Retry API request 1/100: Try again
2018/10/01 20:26:27 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:27 DEBUG : HTTP REQUEST (req 0xc0000ea400)
2018/10/01 20:26:27 DEBUG : POST /cs?id=2037750474&sid=iAOia4y6EtmiiZ9j1VXXq0w2WVM4SFdZbEJ3iR0rGn7IZ8Slpbf7h8USNA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 20:26:27 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : HTTP RESPONSE (req 0xc0000ea400)
2018/10/01 20:26:27 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 20:26:27 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:27 DEBUG : *go-mega*: Retry API request 2/100: Try again
2018/10/01 20:26:28 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:28 DEBUG : HTTP REQUEST (req 0xc0002a6200)
2018/10/01 20:26:28 DEBUG : POST /cs?id=2037750474&sid=iAOia4y6EtmiiZ9j1VXXq0w2WVM4SFdZbEJ3iR0rGn7IZ8Slpbf7h8USNA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 20:26:28 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:26:28 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:28 DEBUG : HTTP RESPONSE (req 0xc0002a6200)
2018/10/01 20:26:28 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 20:26:28 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:26:28 DEBUG : *go-mega*: Retry API request 3/100: Try again

[more]

2018/10/01 20:34:08 DEBUG : *go-mega*: Retry API request 99/100: Try again
2018/10/01 20:34:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:34:13 DEBUG : HTTP REQUEST (req 0xc0002a6d00)
2018/10/01 20:34:13 DEBUG : POST /cs?id=2037750474&sid=iAOia4y6EtmiiZ9j1VXXq0w2WVM4SFdZbEJ3iR0rGn7IZ8Slpbf7h8USNA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 20:34:13 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:34:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:34:13 DEBUG : HTTP RESPONSE (req 0xc0002a6d00)
2018/10/01 20:34:13 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 20:34:13 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:34:13 DEBUG : *go-mega*: Retry API request 100/100: Try again
2018/10/01 20:34:18 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:34:18 DEBUG : HTTP REQUEST (req 0xc0002afa00)
2018/10/01 20:34:18 DEBUG : POST /cs?id=2037750474&sid=iAOia4y6EtmiiZ9j1VXXq0w2WVM4SFdZbEJ3iR0rGn7IZ8Slpbf7h8USNA HTTP/1.1
Host: g.api.mega.co.nz
User-Agent: rclone/v1.43.1
Content-Length: 17
Content-Type: application/json
Accept-Encoding: gzip

[{"a":"f","c":1}]
2018/10/01 20:34:18 DEBUG : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
2018/10/01 20:34:18 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:34:18 DEBUG : HTTP RESPONSE (req 0xc0002afa00)
2018/10/01 20:34:18 DEBUG : HTTP/1.1 200 OK
Content-Length: 2
Access-Control-Allow-Headers: Content-Type, MEGA-Chrome-Antileak
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Original-Content-Length
Access-Control-Max-Age: 86400
Connection: keep-alive
Content-Type: application/json
Original-Content-Length: 2

-3
2018/10/01 20:34:18 DEBUG : <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018/10/01 20:34:18 Failed to create file system for "mega:": couldn't login: Try again

Thank you for your help.

Javier


#8

:frowning:

Is there something special about your mega account? Do you have a very large number of files maybe?

Can you try signing up for a fresh mega account and see if rclone works with that?


#9

Maybe it’s that I have two shared folders

Yes, it’s almost full (93%). My idea is to “join” different accounts in the cloud.

I created a new mega account and rclone connected and accessed :scream:

It’s strange. Ncw, next weekend I would try to “delete” the shared folders to check if this is the reason for not connecting.

Thank you for your help.

Javier.


#10

So basic mega support is working from your computer, it is just something about your account.

The mega protocols were reverse engineered from their C++ SDK - mega don’t supply API documentation - so there might be problems with them.

That would be interesting to try.

Is there anything special about your email address? We had a bug recently caused by upper case letters in the email address - so anything unusual like that?

What about your password - is it ASCII characters? Does it contain anything strange or unusual?

Can you try setting the password of your new mega account to the same as the old one and see if rclone still works?


#11

It has only a point in the middle but also the new one.

Only a combination of letters and number,

Other thing that probably is not important but I comment it in case it gives you a clue is that my account was created in early 2014 (maybe old accounts work slightly different than new ones).

I will try this weekend. I inform you about the results.

Thank you for your help.


#12

I guess that is a possibility…

Does your account work with MEGAcmd - that is the official mega CLI.


#13

Well. Finally, We discovered what’s going wrong.

I deleted the shared folders that were shared from another mega account and voilà, I can connect to my mega account without changing anything more.

So, unfortunately, It seems I found a bug.

I don’t know where should I report it.

Thank you for your help


#14

I’m glad you worked out what is going on :smile:

If you could please make a new issue on github with instructions on how to reproduce it then we can have a go at fixing it. Likely it is a bug in the underlying mega library, but I can fix that if necessary too!