Can't log in to ownCloud from Android app, but web interface works

Actual behaviour

When I enter the server address in the official ownCloud app (the one that costs money on Google Play) and the ownCloud app tries to establish a connection before giving me the possibility to enter my login credentials, it says "Testar anslutning" followed by "Servern svarar inte." I don't know what the actual strings in English are, but they translate to "Checking the connection" and "The server doesn't respond."

If I try to connect to the server using HTTP, the second message is "Anslutningstiden till servern överskreds" ("Connection time to the server was exceeded") instead, after merely 3-5 seconds.

When I enter the exact same server address (copied and pasted) in a web browser on the same phone, I'm presented with a login page, and I'm able to login without any errors.

This is all done on my wife's phone. I have no trouble connecting from my own phone.

Expected behaviour

Log in successfully.

Steps to reproduce

  1. Open app for the first time
  2. Enter the address to the server (including https:// [yes, I've tried http as well])

Can this problem be reproduced with the official owncloud server?
(url:, user: test, password: test)

Environment data

Android version:
Device model:
Samsung Galaxy S5 SM-G900F
Stock or customized system:
ownCloud app version:
ownCloud server version: (Community edition)


Web server error log


[Mon Jan 08 21:31:17.747365 2018] [authz_core:error] [pid 29589] [client] AH01630: client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt

#### ownCloud log (data/owncloud.log) No errors. Though I have some files that doesn't pass the integrity check:

- encryption
- appinfo/Migrations/Version20170913113840.php
- lib/Command/RecreateMasterKey.php
- dav
- appinfo/Migrations/Version20170927201245.php
- lib/DAV/MiscCustomPropertiesBackend.php
- lib/DAV/FileCustomPropertiesBackend.php
- lib/DAV/AbstractCustomPropertiesBackend.php
- lib/Connector/Sabre/CorsPlugin.php
- lib/Command/CleanupChunks.php