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

rclone help setup #417

Open
abusivePenguin opened this issue Jan 3, 2025 · 2 comments
Open

rclone help setup #417

abusivePenguin opened this issue Jan 3, 2025 · 2 comments

Comments

@abusivePenguin
Copy link

abusivePenguin commented Jan 3, 2025

rclone indicates the session is invalid despite me trying all the cookies

Config:
[teldrive]
type = teldrive
api_host = http://localhost:8080/
access_token = insert_token
chunk_size = 1.9G
upload_concurrency = 4
encrypt_files = false
random_chunk_name = true

PS C:\Users\user> rclone -vv ls teldrive:
2025/01/03 23:29:22 DEBUG : rclone: Version "v1.68.3" starting with parameters ["C:\Users\user\.installer\bin\rclone.exe" "-vv" "ls" "teldrive:"]
2025/01/03 23:29:22 DEBUG : Creating backend with remote "teldrive:"
2025/01/03 23:29:22 DEBUG : Using config file from "C:\Users\user\AppData\Roaming\rclone\rclone.conf"
2025/01/03 23:29:22 CRITICAL: Failed to create file system for "teldrive:": invalid session

@hitokirihahn
Copy link

this is happened to me too, strangely ti works fine with my laptop running arch linux, this is only happened to my home server raspberry pi running debian.

@pequenomestrex
Copy link

pequenomestrex commented Jan 5, 2025

Apparently cookies are changed at every request/action. Some time ago, when open various tab on http://localhost:8080/ the cookies was the same, now every tab shows different values.

FIX: update manually to 1.6.0, I don't know why, but this command on windows powershell -c "irm https://instl.vercel.app/tgdrive/teldrive?platform=windows|iex" don't update to 1.6.0, it still on 1.5.6. In 1.6 have 2 cookies 'access_token' and 'user-session'. I aways use 'user-session', but now must be the 'access_token' The information is here https://teldrive-docs.pages.dev/docs/guides/rclone but access_token only exists 1.6, if you're using a previous version the error invalid session will occur and nothing can be done.

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

3 participants