Issues while setting up MediaMarkt Cloud (JottaCloud) in rclone

What is the problem you are having with rclone?

Good afternoon,

I'm having issues while attempting to set up MediaMarkt Cloud (A whitelabel service of Jottacloud supported in rclone according to the changelog). When I follow the steps to set up the login process, I get the following error:

config_type> 2

Do you want to create a machine specific API key?

Rclone has it's own Jottacloud API KEY which works fine as long as one
only uses rclone on a single machine. When you want to use rclone with
this account on more than one machine it's recommended to create a
machine specific API key. These keys can NOT be shared between
machines.
y) Yes
n) No (default)
y/n> 

Option config_username.
Username (e-mail address)
Enter a value.
config_username> myemail

Option config_password.
Password (only used in setup, will not be stored)
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, leave this optional password blank (default)
y/g/n> y
Enter the password:
password:
Confirm the password:
password:

Error: failed to get oauth token: Post "https://api.jottacloud.com/auth/v1/token?client_id=REDACTED&client_secret=REDACTED&grant_type=PASSWORD&password=REDACTED&username=REDACTED": read tcp 192.168.1.145:43408->185.179.129.36:443: read: connection reset by peer

I redacted the URL as it contained the my client_id, client_secret and also my credentials. It looks like it's an issue from Jottacloud's end but since it may be failing the integration with rclone, I'm posting it here. (Or maybe I did something wrong :sweat_smile:)

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

rclone v1.60.1-DEV
- os/version: ubuntu 26.04 (64 bit)
- os/kernel: 7.0.0-29-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.26.0
- go/linking: dynamic
- go/tags: none

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

MediaMarkt Cloud (Whitelabel service of JottaCloud)

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

rclone config

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

Usage:
  rclone config [flags]
  rclone config [command]

Available Commands:
  create      Create a new remote with name, type and options.
  delete      Delete an existing remote.
  disconnect  Disconnects user from remote
  dump        Dump the config file as JSON.
  file        Show path of configuration file in use.
  password    Update password in an existing remote.
  paths       Show paths used for configuration, cache, temp etc.
  providers   List in JSON format all the providers and options.
  reconnect   Re-authenticates user with remote.
  show        Print (decrypted) config file, or the config for a single remote.
  touch       Ensure configuration file exists.
  update      Update options in an existing remote.
  userinfo    Prints info about logged in user of remote.

Flags:
  -h, --help   help for config

Additional help topics:
  rclone config edit       Enter an interactive configuration session.

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.
Command config needs 0 arguments maximum: you provided 1 non flag arguments: ["redacted"]


A log from the command that you were trying to run with the -vv flag

antonio@antonio-B560M-DS3H-V2:~$ rclone config -vv
2026/08/04 20:42:48 DEBUG : rclone: Version "v1.60.1-DEV" starting with parameters ["rclone" "config" "-vv"]
2026/08/04 20:42:48 DEBUG : Using config file from "/home/antonio/.config/rclone/rclone.conf"
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n

Enter name for new remote.
name> mediamarkt

Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
 1 / 1Fichier
   \ (fichier)
 2 / Akamai NetStorage
   \ (netstorage)
 3 / Alias for an existing remote
   \ (alias)
 4 / Amazon Drive
   \ (amazon cloud drive)
 5 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, China Mobile, Cloudflare, ArvanCloud, Digital Ocean, Dreamhost, Huawei OBS, IBM COS, IDrive e2, IONOS Cloud, Lyve Cloud, Minio, Netease, RackCorp, Scaleway, SeaweedFS, StackPath, Storj, Tencent COS, Qiniu and Wasabi
   \ (s3)
 6 / Backblaze B2
   \ (b2)
 7 / Better checksums for other remotes
   \ (hasher)
 8 / Box
   \ (box)
 9 / Cache a remote
   \ (cache)
10 / Citrix Sharefile
   \ (sharefile)
11 / Combine several remotes into one
   \ (combine)
12 / Compress a remote
   \ (compress)
13 / Dropbox
   \ (dropbox)
14 / Encrypt/Decrypt a remote
   \ (crypt)
15 / Enterprise File Fabric
   \ (filefabric)
16 / FTP
   \ (ftp)
17 / Google Cloud Storage (this is not Google Drive)
   \ (google cloud storage)
18 / Google Drive
   \ (drive)
19 / Google Photos
   \ (google photos)
20 / HTTP
   \ (http)
21 / Hadoop distributed file system
   \ (hdfs)
22 / HiDrive
   \ (hidrive)
23 / In memory object storage system.
   \ (memory)
24 / Internet Archive
   \ (internetarchive)
25 / Jottacloud
   \ (jottacloud)
26 / Koofr, Digi Storage and other Koofr-compatible storage providers
   \ (koofr)
27 / Local Disk
   \ (local)
28 / Mail.ru Cloud
   \ (mailru)
29 / Microsoft Azure Blob Storage
   \ (azureblob)
30 / Microsoft OneDrive
   \ (onedrive)
31 / OpenDrive
   \ (opendrive)
32 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ (swift)
33 / Pcloud
   \ (pcloud)
34 / Put.io
   \ (putio)
35 / SMB / CIFS
   \ (smb)
36 / SSH/SFTP
   \ (sftp)
37 / Sia Decentralized Cloud
   \ (sia)
38 / Sugarsync
   \ (sugarsync)
39 / Transparently chunk/split large files
   \ (chunker)
40 / Union merges the contents of several upstream fs
   \ (union)
41 / Uptobox
   \ (uptobox)
42 / WebDAV
   \ (webdav)
43 / Yandex Disk
   \ (yandex)
44 / Zoho
   \ (zoho)
45 / premiumize.me
   \ (premiumizeme)
46 / seafile
   \ (seafile)
Storage> 25

2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,1,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,1,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,2,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,2,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,3,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,3,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,4,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,4,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,5,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,5,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all,6,false Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config in: state="*all,6,false", result=""
2026/08/04 20:42:54 DEBUG : mediamarkt: config out: out=&{State:*all-advanced Option:false OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:42:54 DEBUG : mediamarkt: config: reading config parameter "config_fs_advanced"
Edit advanced config?
y) Yes
n) No (default)
y/n> n

2026/08/04 20:43:01 DEBUG : mediamarkt: config in: state="*all-advanced", result="false"
2026/08/04 20:43:01 DEBUG : mediamarkt: config out: out=&{State:*postconfig Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:01 DEBUG : mediamarkt: config in: state="*postconfig", result=""
2026/08/04 20:43:01 DEBUG : mediamarkt: config in: state="", result=""
2026/08/04 20:43:01 DEBUG : mediamarkt: config out: out=&{State:auth_type_done Option:standard OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:01 DEBUG : mediamarkt: config out: out=&{State:auth_type_done Option:standard OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:01 DEBUG : mediamarkt: config: reading config parameter "config_type"
Option config_type.
Select authentication type.
Choose a number from below, or type in an existing string value.
Press Enter for the default (standard).
   / Standard authentication.
 1 | Use this if you're a normal Jottacloud user.
   \ (standard)
   / Legacy authentication.
 2 | This is only required for certain whitelabel versions of Jottacloud and not recommended for normal users.
   \ (legacy)
   / Telia Cloud authentication.
 3 | Use this if you are using Telia Cloud.
   \ (telia)
   / Tele2 Cloud authentication.
 4 | Use this if you are using Tele2 Cloud.
   \ (tele2)
config_type> 2

2026/08/04 20:43:04 DEBUG : mediamarkt: config in: state="auth_type_done", result="legacy"
2026/08/04 20:43:04 DEBUG : mediamarkt: config out: out=&{State:legacy Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:04 DEBUG : mediamarkt: config in: state="legacy", result=""
2026/08/04 20:43:04 DEBUG : Saving config "configVersion" in section "mediamarkt" of the config file
2026/08/04 20:43:04 DEBUG : mediamarkt: config out: out=&{State:legacy_api Option:false OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:04 DEBUG : mediamarkt: config: reading config parameter "config_machine_specific"
Do you want to create a machine specific API key?

Rclone has it's own Jottacloud API KEY which works fine as long as one
only uses rclone on a single machine. When you want to use rclone with
this account on more than one machine it's recommended to create a
machine specific API key. These keys can NOT be shared between
machines.
y) Yes
n) No (default)
y/n> n

2026/08/04 20:43:18 DEBUG : mediamarkt: config in: state="legacy_api", result="false"
2026/08/04 20:43:18 DEBUG : mediamarkt: config out: out=&{State:legacy_username Option: OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:18 DEBUG : mediamarkt: config: reading config parameter "config_username"
Option config_username.
Username (e-mail address)
Enter a value.
config_username> REDACTED

2026/08/04 20:43:25 DEBUG : mediamarkt: config in: state="legacy_username", result="REDACTED"
2026/08/04 20:43:25 DEBUG : Saving config "username" in section "mediamarkt" of the config file
2026/08/04 20:43:25 DEBUG : mediamarkt: config out: out=&{State:legacy_password Option: OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:25 DEBUG : mediamarkt: config: reading config parameter "config_password"
Option config_password.
Password (only used in setup, will not be stored)
Choose an alternative below. Press Enter for the default (n).
y) Yes, type in my own password
g) Generate random password
n) No, leave this optional password blank (default)
y/g/n> y
Enter the password:
password:
Confirm the password:
password:

2026/08/04 20:43:38 DEBUG : mediamarkt: config in: state="legacy_password", result="GuW8J88T4rO9hAzWFTh810ICu4nNOUEpGYE"
2026/08/04 20:43:38 DEBUG : Saving config "password" in section "mediamarkt" of the config file
2026/08/04 20:43:38 DEBUG : Saving config "auth_code" in section "mediamarkt" of the config file
2026/08/04 20:43:38 DEBUG : mediamarkt: config out: out=&{State:legacy_do_auth Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2026/08/04 20:43:38 DEBUG : mediamarkt: config in: state="legacy_do_auth", result=""
2026/08/04 20:43:39 DEBUG : Saving config "password" in section "mediamarkt" of the config file
2026/08/04 20:43:39 DEBUG : Saving config "auth_code" in section "mediamarkt" of the config file
2026/08/04 20:43:39 DEBUG : mediamarkt: config out: out=<nil>, err=failed to get oauth token: Post "https://api.jottacloud.com/auth/v1/token?client_id=REDACTED&client_secret=REDACTED&grant_type=PASSWORD&password=REDACTED&username=REDACTED": read tcp 192.168.1.145:51930->185.179.129.36:443: read: connection reset by peer
Error: failed to get oauth token: Post "https://api.jottacloud.com/auth/v1/token?client_id=REDACTED&client_secret=REDACTED&grant_type=PASSWORD&password=REDACTED&username=REDACTED": read tcp 192.168.1.145:51930->185.179.129.36:443: read: connection reset by peer
Usage:
  rclone config [flags]
  rclone config [command]

Available Commands:
  create      Create a new remote with name, type and options.
  delete      Delete an existing remote.
  disconnect  Disconnects user from remote
  dump        Dump the config file as JSON.
  file        Show path of configuration file in use.
  password    Update password in an existing remote.
  paths       Show paths used for configuration, cache, temp etc.
  providers   List in JSON format all the providers and options.
  reconnect   Re-authenticates user with remote.
  show        Print (decrypted) config file, or the config for a single remote.
  touch       Ensure configuration file exists.
  update      Update options in an existing remote.
  userinfo    Prints info about logged in user of remote.

Flags:
  -h, --help   help for config

Additional help topics:
  rclone config edit       Enter an interactive configuration session.

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2026/08/04 20:43:39 Fatal error: failed to get oauth token: Post "https://api.jottacloud.com/auth/v1/token?client_id=REDACTED&client_secret=REDACTED&grant_type=PASSWORD&password=REDACTED&username=REDACTED": read tcp 192.168.1.145:51930->185.179.129.36:443: read: connection reset by peer

Thank you very much in advance

welcome to the forum,

that is a many years old, custom dev version from an out of date linux repository.
try rclone selfupdate
or
remove that version and https://rclone.org/install/#script-installation

It was the version that pulled from Ubuntu repositories with apt install :sweat_smile:

Anyway, thank you!! It worked with the new version! :grinning_face_with_smiling_eyes:

welcome, if you have any additional issues, let us know