"Failed to create file system for "remote:folder": couldn't login: Try again

I use a batch script (W10, last rclone release) to list several mega remotes (size and contents), using:

rclone -vv size remote…etc
rclone -vv lsf remote…etc

Often, along the last days, I am receiving the following error:

“2019/04/10 15:26:42 Failed to create file system for “remote:folder”: couldn’t login: Try again”

Executing the script, some remotes work, others no, and there is no consistency on which they do and which not. Using the same code.

I tried from different IPs and PCs and not found common failure patterns.

Moreover, I have no issue accessing the contents using a browser to mega site. I checked and this time all are under quota and have no sharing links.

This setup is making rclone unusable for me.

Could it be…
a) Mega
b) Mega rejecting rclone
c) perhaps a timeout issue?
d) GGTK (god gets to know)

Any hint?

Is there any way to increase timeout, just in case maga is taking its time (I have seen pings between 300 and 600 ms!)

TIA

Run it with —mega-debug and see what the error is.

It does retry 10 times.

https://rclone.org/mega/#advanced-options

There is allways another switch that I do not know… thanks.

Have log with some examples:

Failure, no size:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01a:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Retry API request 1/10: Try again
DEBUG : go-mega: Retry API request 2/10: Try again
DEBUG : go-mega: Retry API request 3/10: Try again
DEBUG : go-mega: Retry API request 4/10: Try again
DEBUG : go-mega: Retry API request 5/10: Try again
DEBUG : go-mega: Retry API request 6/10: Try again
DEBUG : go-mega: Retry API request 7/10: Try again
DEBUG : go-mega: Retry API request 8/10: Try again
DEBUG : go-mega: Retry API request 9/10: Try again
DEBUG : go-mega: Retry API request 10/10: Try again
Failed to create file system for “remote01a:folder”: couldn’t login: Try again

Failure, no list:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01a:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Retry API request 1/10: Try again
DEBUG : go-mega: Retry API request 2/10: Try again
DEBUG : go-mega: Retry API request 3/10: Try again
DEBUG : go-mega: Retry API request 4/10: Try again
DEBUG : go-mega: Retry API request 5/10: Try again
DEBUG : go-mega: Retry API request 6/10: Try again
DEBUG : go-mega: Retry API request 7/10: Try again
DEBUG : go-mega: Retry API request 8/10: Try again
DEBUG : go-mega: Retry API request 9/10: Try again
DEBUG : go-mega: Retry API request 10/10: Try again
Failed to create file system for “remote01a:folder”: couldn’t login: Try again

ok, got size:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01b:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Waiting for events to be finished for 5s
DEBUG : go-mega: Signalling events received
DEBUG : go-mega: Events received
DEBUG : 7 go routines active
DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” finishing with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01b:folder”]

Failure, no list:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01b:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Retry API request 1/10: Try again
DEBUG : go-mega: Retry API request 2/10: Try again
DEBUG : go-mega: Retry API request 3/10: Try again
DEBUG : go-mega: Retry API request 4/10: Try again
DEBUG : go-mega: Retry API request 5/10: Try again
DEBUG : go-mega: Retry API request 6/10: Try again
DEBUG : go-mega: Retry API request 7/10: Try again
DEBUG : go-mega: Retry API request 8/10: Try again
DEBUG : go-mega: Retry API request 9/10: Try again
DEBUG : go-mega: Retry API request 10/10: Try again
Failed to create file system for “remote01b:folder”: couldn’t login: Try again

ok, got size:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01c:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Waiting for events to be finished for 5s
DEBUG : go-mega: Signalling events received
DEBUG : go-mega: Events received
DEBUG : 7 go routines active
DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” finishing with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01c:folder”]

Failure, no list:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01c:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Retry API request 1/10: Try again
DEBUG : go-mega: Retry API request 2/10: Try again
DEBUG : go-mega: Retry API request 3/10: Try again
DEBUG : go-mega: Retry API request 4/10: Try again
DEBUG : go-mega: Retry API request 5/10: Try again
DEBUG : go-mega: Retry API request 6/10: Try again
DEBUG : go-mega: Retry API request 7/10: Try again
DEBUG : go-mega: Retry API request 8/10: Try again
DEBUG : go-mega: Retry API request 9/10: Try again
DEBUG : go-mega: Retry API request 10/10: Try again
Failed to create file system for “remote01c:folder”: couldn’t login: Try again

ok, got size:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01d:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Waiting for events to be finished for 5s
DEBUG : go-mega: Signalling events received
DEBUG : go-mega: Events received
DEBUG : 7 go routines active
DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” finishing with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01d:folder”]

Failure, no list:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01d:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Retry API request 1/10: Try again
DEBUG : go-mega: Retry API request 2/10: Try again
DEBUG : go-mega: Retry API request 3/10: Try again
DEBUG : go-mega: Retry API request 4/10: Try again
DEBUG : go-mega: Retry API request 5/10: Try again
DEBUG : go-mega: Retry API request 6/10: Try again
DEBUG : go-mega: Retry API request 7/10: Try again
DEBUG : go-mega: Retry API request 8/10: Try again
DEBUG : go-mega: Retry API request 9/10: Try again
DEBUG : go-mega: Retry API request 10/10: Try again
Failed to create file system for “remote01d:folder”: couldn’t login: Try again

ok, got size:

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01e:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Waiting for events to be finished for 5s
DEBUG : go-mega: Signalling events received
DEBUG : go-mega: Events received
DEBUG : 7 go routines active
DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” finishing with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “size” “remote01e:folder”]

ok, got list

DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” starting with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01e:folder”]
DEBUG : Using config file from “conf.txt”
DEBUG : go-mega: Waiting for events to be finished for 5s
DEBUG : go-mega: Signalling events received
DEBUG : go-mega: Events received
DEBUG : 7 go routines active
DEBUG : rclone: Version “v1.46.0-067-g68116298-fix-mega-download-beta” finishing with parameters [“rclone.exe” “-vv” “–mega-debug” “–config” “conf.txt” “lsf” “–files-only” “-R” “remote01e:folder”]

remotes 02a, 02b, 02c, 02d and 02e go well as with 01e

I used also last beta v1.46.0-112-g1c301f9f-beta to almost same results.

What is more surprising is that the failure is consistent. That is, all runs produce the same failures in same remotes. While remotes 01e to 02e are always good (today), the others are not always bad, except 01a that is consistently not listing and sometimes giving size and others not.
I can get fully right to 01a, 01b and 01c using a browser…

TIA again

I found https://github.com/ncw/rclone/issues/2771

and looks similar to

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.