-
Notifications
You must be signed in to change notification settings - Fork 36
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
davix version 0.8.0 cannot authenticate using username and password #81
Comments
Hello Shahram, Great problem report! Cheers, |
Seems I'm impacted by the same bug |
I'm affected by this bug as well. |
I came across this error too. With davix version 0.8.2. When I compare the debug-output of davix-version 0.7.6: In 0.7.6 there is this line: Just a hint, perhaps this helps. |
So, the message about creating session keys is just missing in the output for 0.8.x, it's just not present in the code of 0.8.x. So this doesnt seem to be the problem. But for 0.8.x in the debug-log, I get the message Perhaps there is a case missing (so for username/passphrase authentication), when the session recycling should not be disabled? |
Hello! |
Hello, |
Hi there,
What else has been tested:
What has not been tested
Help, a new version, or hints about any misconfiguration on my parts would be really appreciated. Thanks a lot in advance. |
Hello all, This problem appeared with the davix Unfortunately, during that refactoring, the hooks mechanism used with In branch login_callback_0.8.0, I'm trying to get the hooks mechanism to work again. However, this introduces a memory corruption in the session object management. The corruption does not show via the command line tool (e.g.: Ultimately, we we plan to decommission the For what concerns the username + password login, the
|
Hey @mpatrascoiu , first of all thanks a lot for your effort and your clarification! I am a bit confused about your last paragraph (most certainly because of my lack of knowledge): If you have the time I would appreciate also some clarification on how other forms of authentification work with davix. I couldnt really find a lot in the documentation which would be useful for my appliance. Thanks a lot again and please tell me if I could be of any help! |
Hi @mpatrascoiu, thanks for investigating on that issue. Could you please clarify your statement of #81 (comment) This would be a big drawback for us. We have been using davix for more than 10 years in our CI/CD pipeline. |
As a workaround one could add the missing Authorization Header by hand:
|
Thanks for your workaround @spacehorst |
Hello @spacehorst , that's correct. With davix >= 0.8.0, there is no more Basic Authentication. Just to mention: your workaround should work well, cheers for that |
Hi,
I faced with an issue with
davix-*
commands when trying to authenticate by username and password. It was working before but suddenly stopped and constantly returns:(Davix::HttpRequest) Error: HTTP 401 : Authentification Error
So after investigation I found out the davix client version in the machine was upgraded to version
0.8.0
so I tested it with older version successfully.We connect to a server with valid certificate over https, but to reproduce the issue here; I use a docker image as a webdav server:
docker-compose.yml
file with content:docker compose up -d
to start the webdav server./dav/data
path to have some thing to show0.7.6
and0.8.0
let's first try the older version that works:davix-get
, etc.Thanks a lot,
Shahram.
The text was updated successfully, but these errors were encountered: