[Libreoffice-bugs] [Bug 129833] New: Android Viewer: Cannot connect to ownCloud
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jan 6 12:29:30 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129833
Bug ID: 129833
Summary: Android Viewer: Cannot connect to ownCloud
Product: LibreOffice
Version: unspecified
Hardware: ARM
OS: Android
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Android Viewer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: boerner at t-online.de
Description:
When tapping on "ownCloud" in the file open dialog (upper left corner), a
message appears "Unspecified error connecting to ownCloud server".
It actually does connect to the server but then fails.
Connecting with the native ownCloud client for Android succeeds.
Perhaps this is because the ownCloud API has been changed (dav vs. webdav). The
native client connects successfully to /remote.php/dav/... while LibreOffice
Viewer tries to connect to /remote.php/webdav/. (The OC server version is
10.3.2)
Here are the server logs:
1. nginx/access.log:
xxx.xxx.213.153 - thomas [06/Jan/2020:09:45:50 +0100] "PROPFIND
/remote.php/webdav/ HTTP/1.1" 207 23291 "-" "Android-ownCloud"
1a. successful connection with the native ownCloud client:
xxx.xxx.213.153 - thomas [06/Jan/2020:13:08:59 +0100] "PROPFIND
/remote.php/dav/files/thomas/documents/example.odt HTTP/1.1" 207 892 "-"
"Mozilla/5.0 (Android) ownCloud-android/2.14.1"
2. owncloud.log (loglevel=0 (debug)):
Exception: HTTP/1.1 401 No public access to this resource., No 'Authorization:
Basic' header found. Either the client didn't send one, or the server is
misconfigured, No 'Authorization: Basic' header found. Either the client didn't
send one, or the server is misconfigured:
{"Exception":"Sabre\\DAV\\Exception\\NotAuthenticated","Message":"No public
access to this resource., No 'Authorization: Basic' header found. Either the
client didn't send one, or the server is misconfigured, No 'Authorization:
Basic' header found. Either the client didn't send one, or the server is
misconfigured","Code":0,"Trace":"#0
\/var\/www\/owncloud\/lib\/composer\/sabre\/event\/lib\/WildcardEmitterTrait.php(96):
Sabre\\DAV\\Auth\\Plugin->beforeMethod(Object(Sabre\\HTTP\\Request),
Object(Sabre\\HTTP\\Response))\n#1
\/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(448):
Sabre\\DAV\\Server->emit('beforeMethod:PR...', Array)\n#2
\/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Server.php(241):
Sabre\\DAV\\Server->invokeMethod(Object(Sabre\\HTTP\\Request),
Object(Sabre\\HTTP\\Response))\n#3
\/var\/www\/owncloud\/apps\/dav\/lib\/Server.php(326):
Sabre\\DAV\\Server->start()\n#4
\/var\/www\/owncloud\/apps\/dav\/appinfo\/v2\/remote.php(31):
OCA\\DAV\\Server->exec()\n#5 \/var\/www\/owncloud\/remote.php(165):
require_once('\/var\/www\/ownclo...')\n#6
{main}","File":"\/var\/www\/owncloud\/lib\/composer\/sabre\/dav\/lib\/DAV\/Auth\/Plugin.php","Line":161}
Steps to Reproduce:
1.Open LibreOffice Viewer for Android
2.Tap on the menu icon in the upper left corner
3.chose ownCloud
Actual Results:
error message "Unspecified error connecting to ownCloud server"
Expected Results:
open remote folder list in ownCloud
Reproducible: Always
User Profile Reset: No
Additional Info:
App Version 5.2.3.1/01ec8f3
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200106/a5bd51a1/attachment.htm>
More information about the Libreoffice-bugs
mailing list