Jottacloud with Tele2 Cloud authentication not working

What is the problem you are having with rclone?

Can't authenticate against Jottacloud with Tele2 auth using rclone authorize "jottacloud" and following Install

I start configuring a new remote on a headless Ubuntu machine, i choose 26 for jotta, authentication type 4 Tele2 Cloud authentication. Use auto conf? no.

Then i run the command rclone authorize "jottacloud" as shown below on a windows machine, i have also tried on a Ubuntu machine with gnome installed but receive the same error as shown below.

Option config_token.
For this to work, you will need rclone available on a machine that has
a web browser available.
For more help and alternate methods see: https://rclone.org/remote_setup/
Execute the following on the machine with the web browser (same rclone
version recommended):
        rclone authorize "jottacloud"
Then paste the result.
Enter a value.
config_token>

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

rclone v1.59.2

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-117-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.6
  • go/linking: static
  • go/tags: none

rclone v1.59.2

  • os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
  • os/kernel: 10.0.19044.2130 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.18.6
  • go/linking: static
  • go/tags: cmount

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

Jottacloud with Tele2 Cloud authentication

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

rclone.exe authorize "jottacloud"
Error: failed to get oauth token: EOF
Usage:
  rclone authorize [flags]

Flags:
      --auth-no-open-browser   Do not automatically open auth link in default browser
  -h, --help                   help for authorize

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.

2022/10/14 08:18:32 Fatal error: failed to get oauth token: EOF

The rclone config contents with secrets removed.

Not relevant

A log from the command with the -vv flag

rclone.exe authorize -vv "jottacloud"
2022/10/14 08:19:11 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone.exe" "authorize" "-vv" "jottacloud"]
2022/10/14 08:19:11 DEBUG : **temp-fs**: config in: state="", result=""
2022/10/14 08:19:11 DEBUG : Auto confirm is set, choosing default "standard" for state "auth_type_done", override by setting config parameter "config_type"
2022/10/14 08:19:11 DEBUG : **temp-fs**: config out: out=&{State:auth_type_done Option:<nil> OAuth:<nil> Error: Result:standard}, err=<nil>
2022/10/14 08:19:11 DEBUG : **temp-fs**: config in: state="auth_type_done", result="standard"
2022/10/14 08:19:11 DEBUG : **temp-fs**: config out: out=&{State:standard Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2022/10/14 08:19:11 DEBUG : **temp-fs**: config in: state="standard", result=""
2022/10/14 08:19:11 DEBUG : Auto confirm is set, choosing default "" for state "standard_token", override by setting config parameter "config_login_token"
2022/10/14 08:19:11 DEBUG : **temp-fs**: config out: out=&{State:standard_token Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2022/10/14 08:19:11 DEBUG : **temp-fs**: config in: state="standard_token", result=""
2022/10/14 08:19:11 DEBUG : **temp-fs**: config out: out=<nil>, err=failed to get oauth token: EOF
Error: failed to get oauth token: EOF
Usage:
  rclone authorize [flags]

Flags:
      --auth-no-open-browser   Do not automatically open auth link in default browser
  -h, --help                   help for authorize

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.

2022/10/14 08:19:11 Fatal error: failed to get oauth token: EOF

I think we may have fixed this in the latest beta already - can you give that a go?

@albertony ?

I tried with the latest beta but the error still persists.

rclone version
rclone v1.60.0-beta.6490.fce22c006
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-125-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.2
- go/linking: static
- go/tags: none
USER@USER:~$ rclone authorize "jottacloud"
Error: failed to get oauth token: EOF
Usage:
  rclone authorize [flags]

Flags:
      --auth-no-open-browser   Do not automatically open auth link in default browser
  -h, --help                   help for authorize

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.

Fatal error: failed to get oauth token: EOF

-vv

rclone authorize -vv "jottacloud"
<7>DEBUG : rclone: Version "v1.60.0-beta.6490.fce22c006" starting with parameters ["rclone" "authorize" "-vv" "jottacloud"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : **temp-fs**: config in: state="", result=""
<7>DEBUG : Auto confirm is set, choosing default "standard" for state "auth_type_done", override by setting config parameter "config_type"
<7>DEBUG : **temp-fs**: config out: out=&{State:auth_type_done Option:<nil> OAuth:<nil> Error: Result:standard}, err=<nil>
<7>DEBUG : **temp-fs**: config in: state="auth_type_done", result="standard"
<7>DEBUG : **temp-fs**: config out: out=&{State:standard Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
<7>DEBUG : **temp-fs**: config in: state="standard", result=""
<7>DEBUG : Auto confirm is set, choosing default "" for state "standard_token", override by setting config parameter "config_login_token"
<7>DEBUG : **temp-fs**: config out: out=&{State:standard_token Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
<7>DEBUG : **temp-fs**: config in: state="standard_token", result=""
<7>DEBUG : **temp-fs**: config out: out=<nil>, err=failed to get oauth token: EOF
Error: failed to get oauth token: EOF
Usage:
  rclone authorize [flags]

Flags:
      --auth-no-open-browser   Do not automatically open auth link in default browser
  -h, --help                   help for authorize

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.

Fatal error: failed to get oauth token: EOF

Can you open a new issue on Github about this please and we'll get it fixed up - thank you :slight_smile:

1 Like

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