Config for box don't connect to authorization link

Hello

I am trying rclone config for box on Linux following:

But after following steps:

Option box_sub_type.

Choose a number from below, or type in your own string value.

Press Enter for the default (user).

1 / Rclone should act on behalf of a user.

\ (user)Edit advanced config?

y) Yes

n) No (default)

2 / Rclone should act on behalf of a service account.

\ (enterprise)

box_sub_type> 2

Edit advanced config?

y) Yes

n) No (default)

It doesn't take me to http://127.0.0.1:53682/auth . Also I tried to open it in chrome. It shows 'The site can't be reached'

Is link down? or Am I doing something wrong?

Thank you. Regards

hello and welcome to the forum,

the latest version of rclone is v1.60.0,
what version are you using, what is the output of rclone version?
https://rclone.org/downloads/#script-download-and-install

rclone v1.60.0

..........................................

can you try again to create a remote using rclone config -vv and post the entire output?
before posting, make sure to remove all id/secret/token

and try to enclose the text with three backticks, so it is formatted like so

Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
Option box_config_file.
Box App config.json location
Leave blank normally.
Leading `~` will be expanded in the file name as will environment variables such as `${RCLONE_CONFIG_DIR}`.
Enter a value. Press Enter to leave empty.
box_config_file>
Option access_token.
Box App Primary Access Token
Leave blank normally.
Enter a value. Press Enter to leave empty.
access_token>
Option box_sub_type.
Choose a number from below, or type in your own string value.
Press Enter for the default (user).
 1 / Rclone should act on behalf of a user.
   \ (user)
 2 / Rclone should act on behalf of a service account.
   \ (enterprise)
box_sub_type>
Edit advanced config?
y) Yes
n) No (default)
y/n>
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine

y) Yes (default)
n) No
y/n>
2022/10/31 19:16:55 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=-git3AGpRaDhl3RSnbVM3w
2022/10/31 19:16:55 NOTICE: Log in and authorize rclone for access
2022/10/31 19:16:55 NOTICE: Waiting for code...

Can you check if following link works for you?

http://127.0.0.1:53682/auth?state=-git3AGpRaDhl3RSnbVM3w

It doesn't work for me directly.

yes, i already checked, that linked worked for me.

can you post the output of rclone version?

rclone config

<5>NOTICE: Config file "/home/ xxxxxx .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

Enter name for new remote.

name> XX- Box

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 / Mailru Cloud

\ (mailru)

29 / Mega

\ (mega)

30 / Microsoft Azure Blob Storage

\ (azureblob)

31 / Microsoft OneDrive

\ (onedrive)

32 / OpenDrive

\ (opendrive)

33 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)

\ (swift)

34 / Oracle Cloud Infrastructure Object Storage

\ (oracleobjectstorage)

35 / Pcloud

\ (pcloud)

36 / Putio

\ (putio)

37 / QingCloud Object Storage

\ (qingstor)

38 / SMB / CIFS

\ (smb)

39 / SSH/SFTP

\ (sftp)

40 / Sia Decentralized Cloud

\ (sia)

41 / Storj Decentralized Cloud Storage

\ (storj)

42 / Sugarsync

\ (sugarsync)

43 / Transparently chunk/split large files

\ (chunker)

44 / Union merges the contents of several upstream fs

\ (union)

45 / Uptobox

\ (uptobox)

46 / WebDAV

\ (webdav)

47 / Yandex Disk

\ (yandex)

48 / Zoho

\ (zoho)

49 / premiumize.me

\ (premiumizeme)

50 / seafile

\ (seafile)

Storage>8

Option client_id.

OAuth Client Id.

Leave blank normally.

Enter a value. Press Enter to leave empty.

client_id>

Option client_secret.

OAuth Client Secret.

Leave blank normally.

Enter a value. Press Enter to leave empty.

client_secret>

Option box_config_file.

Box App config.json location

Leave blank normally.

Leading ~ will be expanded in the file name as will environment variables such as ${RCLONE_CONFIG_DIR}.

Enter a value. Press Enter to leave empty.

box_config_file>

Option access_token.

Box App Primary Access Token

Leave blank normally.

Enter a value. Press Enter to leave empty.

access_token>

Option box_sub_type.

Choose a number from below, or type in your own string value.

Press Enter for the default (user).

1 / Rclone should act on behalf of a user.

\ (user)Edit advanced config?

y) Yes

n) No (default)

2 / Rclone should act on behalf of a service account.

\ (enterprise)

box_sub_type> 2

Edit advanced config?

y) Yes

n) No (default)

and the rest of the text, what comes after

Edit advanced config?
y) Yes
n) No (default)

should look something like

Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine

y) Yes (default)
n) No
y/n>
2022/10/31 20:09:00 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=kDTIoH2Vy_HpHefXtPUubw
2022/10/31 20:09:00 NOTICE: Log in and authorize rclone for access
2022/10/31 20:09:00 NOTICE: Waiting for code...
2022/10/31 20:09:12 NOTICE: Got code

Solved. Thank you.

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