Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

copy the file from onedrive to local it show the error unauthenticated #7888

Closed
eddiehex opened this issue Jun 3, 2024 · 1 comment
Closed

Comments

@eddiehex
Copy link

eddiehex commented Jun 3, 2024

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

What is the problem you are having with rclone?

When I copy the file from onedrive to local it show the error unauthenticated:
Actually this problem had fixed for a while after I upgraded to the latest version 1.66, however it happened again.

2024/06/03 20:31:14 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "copy" "onedrive:mac-file/ip-result.xlsx" "." "-P" "-vv"]
2024/06/03 20:31:14 DEBUG : Creating backend with remote "onedrive:mac-file/ip-result.xlsx"
2024/06/03 20:31:14 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/06/03 20:31:16 DEBUG : fs cache: adding new entry for parent of "onedrive:mac-file/ip-result.xlsx", "onedrive:mac-file"
2024/06/03 20:31:16 DEBUG : Creating backend with remote "."
2024/06/03 20:31:16 DEBUG : fs cache: renaming cache item "." to be canonical "/root"
2024/06/03 20:31:17 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:17 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:17 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:17 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:18 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:18 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         4.7s
2024/06/03 20:31:18 INFO  :
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         4.7s

2024/06/03 20:31:18 DEBUG : 9 go routines active
2024/06/03 20:31:18 Failed to copy: failed to open source object: unauthenticated: Unauthenticated

What is your rclone version (output from rclone version)

rclone v1.66.0
- os/version: debian 11.9 (64 bit)
- os/kernel: 5.10.0-26-cloud-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: none

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

Linux v6-75c1b71f94 5.10.0-26-cloud-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux

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

Onedrive personal version

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

rclone copy onedrive:mac-file/ip-result.xlsx . -P -vv

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

2024/06/03 20:31:14 DEBUG : rclone: Version "v1.66.0" starting with parameters ["rclone" "copy" "onedrive:mac-file/ip-result.xlsx" "." "-P" "-vv"]
2024/06/03 20:31:14 DEBUG : Creating backend with remote "onedrive:mac-file/ip-result.xlsx"
2024/06/03 20:31:14 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/06/03 20:31:16 DEBUG : fs cache: adding new entry for parent of "onedrive:mac-file/ip-result.xlsx", "onedrive:mac-file"
2024/06/03 20:31:16 DEBUG : Creating backend with remote "."
2024/06/03 20:31:16 DEBUG : fs cache: renaming cache item "." to be canonical "/root"
2024/06/03 20:31:17 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:17 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:17 ERROR : Attempt 1/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:17 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:18 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 ERROR : Attempt 2/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 DEBUG : ip-result.xlsx: Need to transfer - File not found at Destination
2024/06/03 20:31:18 ERROR : ip-result.xlsx: Failed to copy: failed to open source object: unauthenticated: Unauthenticated
2024/06/03 20:31:18 ERROR : Attempt 3/3 failed with 1 errors and: failed to open source object: unauthenticated: Unauthenticated
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         4.7s
2024/06/03 20:31:18 INFO  :
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:         4.7s

2024/06/03 20:31:18 DEBUG : 9 go routines active
2024/06/03 20:31:18 Failed to copy: failed to open source object: unauthenticated: Unauthenticated

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.
@ncw
Copy link
Member

ncw commented Jun 6, 2024

I think this is fixed in the latest beta by aee8d90 which will be released as v1.67 quite soon.

I'll close this but if you still have problems with the beta - please re-open.

@ncw ncw closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants