mvysny / photocloud-frame-slideshow

Android Digital Photo Frame
https://www.android-photo-frame.eu
15 stars 1 forks source link

Nextcloud Configuration? #158

Closed chr2k closed 2 years ago

chr2k commented 3 years ago

I found this App in Play Store. I want to test it.

But i fail with the Nextcloud Configuration. Sometimes if i want to connect the App tells me Error 401, 405, and so on. Never get a connection.

Any Ideas?

Thank you.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/98517638-nextcloud-configuration?utm_campaign=plugin&utm_content=tracker%2F53303527&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F53303527&utm_medium=issues&utm_source=github).
mvysny commented 3 years ago

Hi, Nextcloud communicates via the WebDAV protocol which uses HTTP Authentication underneath. So those error codes actually come from the HTTP protocol itself and the meaning is as follows:

The first one definitely means that the username or password is either incorrect or missing. Please verify that the username and/or password you provide is correct.

The second one is intriguing but it could be caused by the first issue actually. Therefore, please try to resolve the first issue first, before taking a look at the "405" issue.

chr2k commented 3 years ago

THank you.

No i get a "400" Error.

Error: java.io.IOException: list / failed: 400

mvysny commented 3 years ago

HTTP 400 stands for "Bad Request". Not sure what's so bad about a directory listing request though :-D

However, according to https://help.nextcloud.com/t/request-failed-bad-request-400/35037/2 it sounds modifying the list of trusted domain to include your domain. Please see more here: https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26

mvysny commented 2 years ago

Closing as stale; please reopen and provide necessary information if need be.