Skip to content

Internxt token expires and rclone can't authenticate #9174

Closed

Description

@zerodarkzone

The associated forum post URL from https://forum.rclone.org

None

What is the problem you are having with rclone?

When using rclone with the internxt backend the authentication token expires (after 2 days) and rclone is no longer able to authenticate. In case it helps, I have configured internxt to use a 2fa code.

What is your rclone version (output from rclone version)

v1.73.0

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Unraid 7.2.3 (Linux)

Which cloud storage system are you using? (e.g. Google Drive)

Internxt Drive

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone ls internxt:/

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

backrest:/# rclone -vv ls internxt:/
2026/02/12 09:57:08 DEBUG : Setting --config "/data/rclone/rclone.conf" from environment variable RCLONE_CONFIG="/data/rclone/rclone.conf"
2026/02/12 09:57:08 DEBUG : rclone: Version "v1.73.0" starting with parameters ["rclone" "-vv" "ls" "internxt:/"]
2026/02/12 09:57:08 DEBUG : Creating backend with remote "internxt:/"
2026/02/12 09:57:08 DEBUG : Using config file from "/data/rclone/rclone.conf"
2026/02/12 09:57:09 CRITICAL: Failed to create file system for "internxt:/": failed to fetch user info: failed to fetch user info: refresh token: Unauthorized (status 401)

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. ncw commented on Feb 13, 2026

    @ncw
    Member

    I think, but I'm not 100% sure, that this may have been fixed by Internxt

    rclone config reconnect remote:
    

    Will fix it.

    This might need a patch to the Internxt backend @lullius ?

  2. lullius commented on Feb 13, 2026

    @lullius
    Contributor

    I think @jzunigax2 needs to look into this. I don't have access to native "Rclone support" on my Internxt account, only "CLI & WebDav support".

    Edit: Seems he's already on it, ref #9177

  3. jzunigax2 commented on Feb 13, 2026

    @jzunigax2
    Contributor

    hey, yeah I'm working on a fix to used store credentials whenever a 401 is encountered. However @zerodarkzone, if you have 2fa enabled you'll have to stick to rclone config reconnect <remote>: as Nick pointed out.

    @lullius sorry for the inconvenience you definitely deserve to have access, could you get in contact with us to grant you the correct access? we would need the email address tied to your acount, you could share it through [email protected] if you wish

  4. lullius commented on Feb 13, 2026

    @lullius
    Contributor

    Thank you @jzunigax2. I've sent an email to [email protected] with my account information.

    If they don't already have access, may I suggest you also give this access to @StarHack who helped with the backend?

  5. zerodarkzone commented on Feb 13, 2026

    @zerodarkzone
    Author

    @jzunigax2 wouldn't it be possible to pass the otp token so rclone can get a new 2fa token when needed? just like the Webdav client works?

  6. ncw commented on Feb 13, 2026

    @ncw
    Member

    I've merged @jzunigax2 fix for that - thank you.

    I've merged this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.73.1

  7. added theissue type on Feb 13, 2026
  8. added a commit that references this issue on Feb 13, 2026
    3385956
  9. added a commit that references this issue on Feb 14, 2026
    d9de6c5
  10. JanickGers85 commented on Feb 15, 2026

    @JanickGers85

    @jzunigax2 Hi, it's not clear to me: who have the 2fa active will need to reconnect every 2 or 3 days?

    rclone config reconnect <remote>: requires typing the 2fa code again which makes the use of rclone impossible for scheduled backups since manual interaction is required.

    Isn't it possible to do the same auth process done with the CLI, as @zerodarkzone stated?

  11. added a commit that references this issue on Feb 17, 2026
    132184a
  12. stultitiophobia commented on May 15, 2026

    @stultitiophobia

    perhaps anything like the OTPTOKEN in the webdav-cli could be implemented ?

  13. added a commit that references this issue on Jul 20, 2026
    71d64a7
  14. added a commit that references this issue on Nov 21, 2026
    68daefe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions