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

Error with the latest Duplicati version #38

Open
SokoFromNZ opened this issue Jan 13, 2025 · 3 comments
Open

Error with the latest Duplicati version #38

SokoFromNZ opened this issue Jan 13, 2025 · 3 comments

Comments

@SokoFromNZ
Copy link

Hi,

With Duplicati - 2.1.0.2_beta_2024-11-29 I get the following output when I try to login (or do anything really):

o:\backup>duplicati_client.exe login 127.0.0.1:8200
Traceback (most recent call last):
  File "duplicati_client.py", line 1308, in <module>
  File "duplicati_client.py", line 91, in main
  File "auth.py", line 110, in login
  File "site-packages\requests\cookies.py", line 328, in __getitem__
  File "site-packages\requests\cookies.py", line 399, in _find_no_duplicates
KeyError: "name='xsrf-token', domain=None, path=None"
[2528] Failed to execute script duplicati_client

can you help?

@Pectojin
Copy link
Owner

I can confirm the issue on my end using Duplicati 2.1.0.3_beta_2025-01-22. I don't think it's necessarily an easy fix. The auth code was the most tricky part of making this tool in the first place, so I've updated the readme to indicate this tool is broken now.

Hopefully the new functionality in the official ServerUtil cli solves most of your problems.

@SokoFromNZ
Copy link
Author

Thanks @Pectojin anyhow for this great tool. Served me well over the last couple of years. The ServerUtil tool works great for me now.

@Pectojin
Copy link
Owner

Pectojin commented Feb 1, 2025

I'm glad to hear the ServerUtil tool is working well for you. This cli tool was always intended to support a niche that the Duplicati project wasn't officially supporting, but now that they are it's as good a time as any for this tool to break 😄

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