Skip to content
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

Mobile apps failing against ocis.owncloud.works #897

Closed
jesmrec opened this issue Nov 19, 2020 · 6 comments
Closed

Mobile apps failing against ocis.owncloud.works #897

jesmrec opened this issue Nov 19, 2020 · 6 comments
Labels

Comments

@jesmrec
Copy link

jesmrec commented Nov 19, 2020

Both mobile clients Android & iOS are not working agains ocis.owncloud.works

Authorization process against OIDC works, but the PROPFIND request against /remote.php/dav/files returns 500. This is the request body (iOS):

<?xml version="1.0" encoding="UTF-8"?>
<D:propfind xmlns:D="DAV:" xmlns:oc="http://owncloud.org/ns">
  <D:prop>
    <D:supported-method-set/>
  </D:prop>
</D:propfind>

Android is asking for something different, with the same result:

<propfind xmlns="DAV:" xmlns:CAL="urn:ietf:params:xml:ns:caldav" xmlns:CARD="urn:ietf:params:xml:ns:carddav" xmlns:SABRE="http://sabredav.org/ns" xmlns:OC="http://owncloud.org/ns">
  <prop>
    <displayname />
    <getcontenttype />
    <resourcetype />
    <getcontentlength />
    <getlastmodified />
    <creationdate />
    <getetag />
    <quota-used-bytes />
    <quota-available-bytes />
    <OC:permissions />
    <OC:id />
    <OC:size />
    <OC:privatelink />
  </prop>
</propfind>

So, the mobile apps can not show the list of files.

@jesmrec jesmrec added the bug label Nov 19, 2020
@jnweiger
Copy link
Contributor

I'd assume the same would happen for an ocis-eos instance.
Also: We are currently unable to provide an ocis-eos on a remote system. Only localhost deployments are currently possible.

Eiither of these blocks mobile testing.

@micbar
Copy link
Contributor

micbar commented Nov 20, 2020

will be fixed by #823

@jesmrec jesmrec changed the title Mobile apps failing againts ocis.owncloud.works Mobile apps failing against ocis.owncloud.works Nov 26, 2020
@kulmann
Copy link
Member

kulmann commented Nov 26, 2020

While the PROPFIND correctly returns a 405 now, we found out that it has to return a 207 when the header value depth: 0 is set. Working on a fix.

@refs
Copy link
Member

refs commented Nov 27, 2020

as seen by @kulmann @michaelstingl and I, #823 did not fix this as the cause is the clients sending depth 0 header. Looking into it now.

@kulmann
Copy link
Member

kulmann commented Nov 27, 2020

Should be fixed by #971

@kulmann
Copy link
Member

kulmann commented Nov 27, 2020

Can confirm that the iOS login works again against ocis.owncloud.works
IMG_3482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants