Access onedrive stuck while setting up remote

Hi, I am new user from rcloneview.
I succesfully setup remote for google-drive.
However, while setting up remote for onedrive (personal), it gives in browser message “Succes, all done, go back to rclone”, and then in rcloneview it shows greish window “add onedrive”, and not being to close the window. In the middle white x, which I can use to get out of loop. Sometimes messages appears about empty token. And that’s it.
How can I proceed ?
Thank you in advance !

The issue with rclone showing “Success, all done” in the browser but sometimes failing to return the token properly for OneDrive personal accounts is a known problem. This often happens due to token decoding issues or incorrect account authorization flow. Common reasons include:

  • The browser may authorize a different OneDrive account (such as business) if already logged in, leading to token mismatches.
  • The token returned may be malformed or longer than expected, causing rclone to fail parsing it.
  • Token refresh or retrieval can fail silently with an empty token error, requiring manual reconnection commands.
  • Headless or remote setups without a browser may cause issues in token exchange or input length limits.

Suggested workarounds and resolutions include:

  • Logging out from any other Microsoft accounts in the browser before running rclone config.
  • Using the advanced config option in rclone to explicitly select “personal” during setup.
  • Running rclone config reconnect onedrive_personal: to refresh the OAuth token when empty token errors appear.
  • Ensuring both rclone client and server sides are up to date with matching versions to avoid decoding errors.
  • For headless setups, generating the token on a machine with a browser and copying it may help.​

Before we open an issue on our side, could you try the following?

  1. Run the same OneDrive config using rclone directly (CLI) and see if the token is generated correctly.
  2. If the CLI flow also fails, it confirms the issue is in rclone rather than RcloneView.
  3. If the CLI works but the app still fails, please let us know — then we’ll investigate on our end.

Feel free to update us with what you find, and we’ll help you get it sorted out!

RcloneView Team

I’m having this exact same issue. Was there a resolution to this, please? I’ve tried everything I understand in the thread but I’m still stuck. Thanks.

Hi JW17, welcome!

Unfortunately, the original poster didn’t follow up with results, so we don’t have a confirmed resolution from that thread yet.

Could you try these steps and let us know what happens?

  1. Test with rclone CLI directly — Run rclone config from your terminal and set up OneDrive there. This helps us determine if the issue is in rclone itself or in RcloneView.
  2. Clear existing Microsoft sessions — Before starting the setup, log out of all Microsoft accounts in your browser, then try again.
  3. Check your rclone version — Run rclone version and share the output here. Make sure you’re on the latest version.
  4. Try the reconnect command — If you already have a partial config, try:
   rclone config reconnect your_remote_name:

Please share the results (especially whether the CLI setup works), and we’ll investigate further on the RcloneView side if needed.

RcloneView Team

Thanks for getting back to me. I’ll tell you what I can.

Test with rclone CLI directly:

Doesn’t work. If I say I have a web browser, I get this error message:

NOTICE: Fatal error: config failed to refresh token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use

If I say I do not have a web browser, I get this message, which I don’t understand:

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: Remote Setup
Execute the following on the machine with the web browser (same rclone
version recommended):
rclone authorize “onedrive” “eyJkcml2ZV90eXBlIjoicGVyc29uYWwifQ”
Then paste the result.
Enter a value.
config_token>

(The reason I’ve bought RcloneView is because I’m not a tecchie and I need the GUI to use Rclone.

Clear existing Microsoft sessions:

I did this several times. No dice.

Check your rclone version:

rclone v1.73.0

  • os/version: darwin 26.2 (64 bit)
  • os/kernel: 25.2.0 (arm64)
  • os/type: darwin
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.25.6
  • go/linking: dynamic
  • go/tags: cmount

Try the reconnect command:

I get this error message:

NOTICE: Fatal error: backend doesn’t support reconnect or authorize

I’m not completely useless – I have successfully set up Dropbox, Google Drive, Box, Koofr, pCloud and Mega accounts in RcloneView. It’s just OneDrive that isn’t playing nicely.

I have some screenshots, which I’ll have to post as separate replies in a second as I’m a noob.

This is what happens when I try to connect to OneDrive using the GUI (it just hangs here):

And when I go into my Microsoft account, it claims that RcloneView has access:

(I revoke RcloneView’s access each time before I try to re-connect.)

That’s about as much as I can tell you, I’m afraid. All help would be greatly appreciated. Thanks!

EDIT: Sorry – one last thing. I have successfully connected, disconnected and reconnected to OneDrive on this laptop using the Mac app CloudMounter. Thanks.

Hi JW17, thanks for the detailed info — this is very helpful!

The key clue is this error:

listen tcp 127.0.0.1:53682: bind: address already in use

This means something is already using port 53682, which rclone needs for the OAuth callback. Most likely, RcloneView’s embedded rclone process is occupying that port, which also explains why the OneDrive setup hangs in the GUI — the OAuth token can’t be received properly.

Please try the following:

  1. Quit RcloneView completely (make sure it’s not running in the menu bar or background).
  2. Verify the port is free — open Terminal and run:
   lsof -i :53682

If anything shows up, note the PID and kill it with kill <PID>.

  1. Confirm the port is free — run lsof -i :53682 again. It should return nothing.
  2. Reopen RcloneView and try setting up OneDrive again. With the port free, the OAuth flow should complete successfully this time.

If it still hangs, please let us know and we’ll dig deeper.

Thanks, RcloneView Team

Hello again. Sorry, but having done that it still hangs at the same place. :man_shrugging:

same issue here using windows…. following.