linuxserver / Heimdall-Apps

Apps for Heimdall
MIT License
298 stars 317 forks source link

[BUG] - Duplicati enhanced does not work if set no password at duplicati #727

Closed MEL1H closed 3 months ago

MEL1H commented 3 months ago

Describe the bug Duplicati enhanced add works smooth if I set password at duplicati. However, I want to use it without password. When I set it no password, I also change widget settings at heimdall with no password. Still it does not get data from duplicati. If I click widget, it opens page without any proble.=m.

To Reproduce Steps to reproduce the behavior:

  1. Go to duplicati. Set it no password from settings.
  2. Go back heimdall widget settings.
  3. Set it enhanced on and make it without any password.
  4. See error no communication.

Expected behavior Get data from duplicati like with password setup.

Version info (please complete the following information):

mvdkleijn commented 3 months ago

Do you have any logs / error messages for us?

MEL1H commented 3 months ago

I can share messages that heimdall returns when I set password on duplicati and heimdall and no password at heimdall and also no password at duplicati.

Screenshot_20240408_182221_Chrome Screenshot_20240408_182058_Chrome

mvdkleijn commented 3 months ago

Yeah that makes sense. The Heimdall app always tries to authenticate. I'll fix it a little later today.

mvdkleijn commented 3 months ago

@MEL1H Can you try the code change at #729 locally to see if that works for you? No guarantees though 'cause I don't have a Duplicati server to test against.

(https://github.com/linuxserver/Heimdall-Apps/pull/729/files)

MEL1H commented 3 months ago

Still same and this is the message when I try to test it on app setting page.

image

mvdkleijn commented 3 months ago

Did you apply the code changes I pointed you to? Did you empty the password field in the config?

MEL1H commented 3 months ago

Yes. But now I am done with duplicati. Thank you for your support