When an upload fails, the error reporting is such that you are told the upload failed, but not why. In my case, it was because the user I was uploading as was not an administrator and thus though had permission to see albums, could not alter them. Separately, when attempting to secure the pwigio site behind a layer of basic authentication (in addition to the piwigo user login requirement), the piwigo plugin was unable to successfully authenticate and I was unable to diagnose the reason for this.
I agree the message doesn't help to diagnose the problem. That's why I advice to use kdebugdialog5 to get advanced debug log in a console.
Can you reproduce the problem with current digiKam 5.9.0 pre release Linux AppImage bundle ? https://files.kde.org/digikam/
I've added the version of digikam that this error was noted in. Sorry for not providing this before.
Ok, thanks. But can you try to reproduce the problem with a recent version published to see if this file still valid ? Thanks in advance Gilles Caulier
Having tested upload using the new version as requested, the piwigo server is connected to correctly and the upload works without error. If the server sits behind a layer of client ssl certificate authentication (with a server SSL certificate for a different site), the connection fails with SSL handshake error. There appears to be no way to add client SSL certificates for use in this scenario. If the server sits behind a layer of http basic authentication (with a server SSL certificate for a different site), the connection fails with SSL handshake error. There appears to be no way to relax the SSL handshake to be more flexible and allow use of an incorrect (but valid) certificate. I note that this is an edge case and beyond what would be expected by most users (but something I have supported in my android app for piwigo. When I have a few minutes more I will generate a certificate that is valid for the test uri of my server rather than borrow another and re-run the above tests. You seem to be unable to create a new piwigo album through the interface in digikam but this is a missing feature and unrelated to my original bug. Thanks for fixing it.
With a correct SSL certificate, If trying to connect to server with basic authentication, you get an error: Failed to login into remote piwigo. Host requires authentication Do you want to check your settings and try again? - No way to add basic authentication credentials. If trying to connect to server with client ssl certificate authentication, you get an error: Failed to login into remote piwigo. Host requires authentication Do you want to check your settings and try again? - No way to add client SSL certificates
Please test with 6.2.0 pre-release bundles available here : https://files.kde.org/digikam/ Thanks in advance Gilles Caulier