Authorize on remote computer fails - Jottacloud (failed to get oauth token: EOF)

What is the problem you are having with rclone?

I'm trying to setup a remote "Jottacloud" with "Tele2" auth on my Truenas server.
So I use my Windows workstation with Win11 to do this since I need a browser.

When I run rclone authorize "jottacloud" I get the error code:
"failed to get oauth token: EOF"

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

Tried Beta and Stable:

rclone v1.67.0-beta.7794.070cff8a6
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.3296 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: cmount
rclone v1.66.0
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.3296 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: cmount

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

Jottacloud with Tele2 auth.

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

rclone authorize "jottacloud" -vv

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

2024/03/23 22:52:07 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "authorize" "jottacloud" "-vv"]
2024/03/23 22:52:07 DEBUG : **temp-fs**: config in: state="", result=""
2024/03/23 22:52:07 DEBUG : Auto confirm is set, choosing default "standard" for state "auth_type_done", override by setting config parameter "config_type"
2024/03/23 22:52:07 DEBUG : **temp-fs**: config out: out=&{State:auth_type_done Option:<nil> OAuth:<nil> Error: Result:standard}, err=<nil>
2024/03/23 22:52:07 DEBUG : **temp-fs**: config in: state="auth_type_done", result="standard"
2024/03/23 22:52:07 DEBUG : **temp-fs**: config out: out=&{State:standard Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2024/03/23 22:52:07 DEBUG : **temp-fs**: config in: state="standard", result=""
2024/03/23 22:52:07 DEBUG : Auto confirm is set, choosing default "" for state "standard_token", override by setting config parameter "config_login_token"
2024/03/23 22:52:07 DEBUG : **temp-fs**: config out: out=&{State:standard_token Option:<nil> OAuth:<nil> Error: Result:}, err=<nil>
2024/03/23 22:52:07 DEBUG : **temp-fs**: config in: state="standard_token", result=""
2024/03/23 22:52:07 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
      --template string        The path to a custom Go template for generating HTML responses

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.

2024/03/23 22:52:07 Fatal error: failed to get oauth token: EOF

All jottacloud authentication system including all their whitelabel versions is messy.

I think the easiest would be to configure your Tele2 account on your local computer and then copy paste all relevant config file section to the remote machine.

Great tips, I'll try that! Thanks!

It worked perfectly! Thanks <3

Might be a coincidence but I have a Jottacloud remote I made for testing (a free one), and yesterday I was getting alerts that the remote was inaccessible. It seems to be fine today, so I suspect Jottacloud had an outage yesterday, could have coincided with your getting an error message.

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