You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can not access cloud.mail.ru remote because of error Failed to create file system for "mailcloud:": Failed to authorize: oauth2: server response missing access_token
I can not access cloud.mail.ru remote because of error Failed to create file system for "mailcloud:": Failed to authorize: oauth2: server response missing access_token
One idea. mail.ru drive when used via web interface reportedly redirects to external oauth provider if user registers with a non-mail.ru e-mail. I didn't test this case in backend, so registering e-mail account on mail.ru and using mail.ru "cloud" drive with that e-mail (by clicking a tabbed link on top of mail.ru web interface) is recommended. Again, I'd rather wait for data from user.
I am personally using development versions of mailru+chunker (eating own dogfood?) for 3 months. Starting from September when my PRs were merged on trunk, I'm just installing latest rclone betas. It stores nightly backups on a linux box in europe plus I mount drives on a Windows PC in russia.
I tried to reproduce your issue using my test Mailru user with domain @list.ru
Logged into www.mail.ru with email/pass, closed banners, refused to provide my mobile for "bonuses", switched to "cloud" (storage service) in the top panel, checked out initial disk contents. Then unpacked zip with latest rclone beta (1.49.mr20) on windows box in russia and installed .deb on ubuntu vps in europe, ran through configuration as per docs.
It really does work (c)tvshop
$ ssh XXX
Welcome to Ubuntu 16.04.6 LTS
$ sudo su -
# wget https://github.com/ivandeex/rclone/releases/download/v1.49.mr20/rclone-v1.49.mr20-linux-amd64.deb
# dpkg -i rclone-v1.49.mr20-linux-amd64.deb
Selecting previously unselected package rclone.
..snip..
^D
$ ssh XXX
Welcome to Ubuntu 16.04.6 LTS
deex@sedna:~$ rclone version
rclone v1.49.mr20
- os/arch: linux/amd64
- go version: go1.12.10
$ rclone config
2019/10/09 20:04:43 NOTICE: Config file "/home/XXX/.config/rclone/rclone.conf" not found - using defaults
No remotes found - make a new one
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> XXX
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
[snip]
Storage> mailru
** See help for mailru backend at: https://rclone.org/mailru/ **
User name (usually email)
Enter a string value. Press Enter for the default ("").
user> [email protected]
Password
y) Yes type in my own password
g) Generate random password
y/g> y
Enter the password:
password:
Confirm the password:
password:
Skip full upload if there is another file with same data hash.
This feature is called "speedup" or "put by hash". It is especially efficient
[snip]
Choose a number from below, or type in your own value
1 / Enable
\ "true"
2 / Disable
\ "false"
speedup_enable> [Enter]
Edit advanced config? (y/n)
y) Yes
n) No
y/n> n
Remote config
--------------------
[XXX]
type = mailru
user = [email protected]
pass = *** ENCRYPTED ***
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
Current remotes:
Name Type
==== ====
XXX mailru
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q
$ rclone about XXX:
Total: 8G
Used: 551.647M
Free: 7.461G
$ rclone ls XXX:
723662 Берег.jpg
1028940 Горное озеро.jpg
1297836 Долина реки.jpg
1775137 На отдыхе.jpg
486354507 Полет.mp4
939141 Чистая вода.jpg
30745084 Mail.Ru рекомендует/Disk-O.dmg
26348048 Mail.Ru рекомендует/Disk-O_setup.exe
29231016 Mail.Ru рекомендует/Screenshoter.exe
$
It doesn't seem to work with Two-factor authentication enabled.
And even if you try to use passwords that mail.ru generate specially for authorizing apps - you will get the following error: Failed to create file system for "XXX:": Failed to authorize: oauth2: server response missing access_token
Checked on Windows with Rclone version 1.49.5.
2FA support is not implemented. Neither is authorized app support. User/pass authorization only atm.
Could you send me a link to the app registration form so I can play with it?
Activity
ncw commentedon Jul 18, 2016
Does it have a public API somewhere?
C-A-T9LIFE commentedon Jul 21, 2016
Hey. githabe have on several projects with api
https://github.com/search?utf8=%E2%9C%93&q=cloud+mail.ru
https://github.com/ldinc/mcloudru-lib/tree/dev
xor2003 commentedon Jan 4, 2017
This is working code:
https://github.com/MasterSoft24/CloudCross/tree/master/src/MailRu
sergevs commentedon Jan 14, 2017
AFAIK, there is no official public documentation about cloud.mail.ru API.
Here is an (unofficial) API implementation project which should be sufficient to develop cloud.mail.ru support for rclone: https://github.com/sergevs/GoMailRuCloud
I'm the project owner and can answer any questions related to the implementation or provide any other kind of support by a request.
zeliboba commentedon Nov 14, 2018
I alos vote for cloud mail.ru support. Any update?
ivandeex commentedon Jul 2, 2019
Hi Nick. I am preparing a PR, which implements the mailru backend for rclone. I am still writing the documentation. Planning to submit the PR this month. In the meantime everybody interested can download beta binaries from the releases page. https://github.com/ivandeex/rclone
ncw commentedon Jul 3, 2019
I just had a quick look a the code - excellent job - very easy to read and similar to the existing backends :-)
I guess you are following the integrating a new backend proceedure?
How are the integration tests progressing?
I'll put this on the 1.49 milestone (so we don't forget about it, that isn't a hard deadline so if it needs more time that is fine).
ivandeex commentedon Sep 16, 2019
@ncw Closed by #3501
ncw commentedon Sep 16, 2019
I've merged this to master now which means it is in the latest beta and will be released in v1.50
trochdewei commentedon Oct 1, 2019
I can not access cloud.mail.ru remote because of error
Failed to create file system for "mailcloud:": Failed to authorize: oauth2: server response missing access_tokenncw commentedon Oct 1, 2019
Is that still happening? @ivandeex - ideas?
ivandeex commentedon Oct 1, 2019
I need more info to reproduce
ivandeex commentedon Oct 2, 2019
One idea. mail.ru drive when used via web interface reportedly redirects to external oauth provider if user registers with a non-mail.ru e-mail. I didn't test this case in backend, so registering e-mail account on mail.ru and using mail.ru "cloud" drive with that e-mail (by clicking a tabbed link on top of mail.ru web interface) is recommended. Again, I'd rather wait for data from user.
trochdewei commentedon Oct 6, 2019
I just created new remote using my username
[email protected]and passwordivandeex commentedon Oct 10, 2019
I am personally using development versions of mailru+chunker (eating own dogfood?) for 3 months. Starting from September when my PRs were merged on trunk, I'm just installing latest rclone betas. It stores nightly backups on a linux box in europe plus I mount drives on a Windows PC in russia.
I tried to reproduce your issue using my test Mailru user with domain @list.ru
Logged into www.mail.ru with email/pass, closed banners, refused to provide my mobile for "bonuses", switched to "cloud" (storage service) in the top panel, checked out initial disk contents. Then unpacked zip with latest rclone beta (1.49.mr20) on windows box in russia and installed .deb on ubuntu vps in europe, ran through configuration as per docs.
It really does work (c)tvshop
Heniker commentedon Oct 17, 2019
It doesn't seem to work with Two-factor authentication enabled.
And even if you try to use passwords that mail.ru generate specially for authorizing apps - you will get the following error:
Failed to create file system for "XXX:": Failed to authorize: oauth2: server response missing access_tokenChecked on Windows with Rclone version 1.49.5.
ivandeex commentedon Oct 17, 2019
2FA support is not implemented. Neither is authorized app support. User/pass authorization only atm.
Could you send me a link to the app registration form so I can play with it?
ivandeex commentedon Oct 18, 2019
@Heniker please post your findings on the new issue as this one is already closed.
Heniker commentedon Oct 18, 2019
mikhailnov commentedon Sep 21, 2024
@ivandeex Thanks for implementing support of cloud.mail.ru :-)