Owncloud via Android app is very slow!

Hello,

i finally achieve to configure Owncloud with docker on NAS Synology. It’s working fine if i use Windows client and web interface but on Android app, it’s VERY slow and i don’t understand how troubleshoot that.

In the owncloud log i found this when i try to connect :slight_smile:

127.0.0.1 - - [23/Oct/2024:16:54:57 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:54:58 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:54:59 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:00 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:01 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:02 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:03 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:04 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:05 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:06 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"
127.0.0.1 - - [23/Oct/2024:16:55:07 +0000] "OPTIONS * HTTP/1.0" 200 110 "-" "Apache/2.4.41 (Ubuntu) (internal dummy connection)"

The problem is the same in my home or from external for mobile app.

The desktop app or web interface working fine internaly or externaly. It’s weird.! :frowning:

Steps to reproduce

  1. Launch android “owncloud” app and t
  2. Swipe down to refresh
  3. Loading continuously.
  4. Files appearing.

Expected behaviour

Loading in few secondes

Actual behaviour

Loading in 10 minutes.

Server configuration

Docker on Synology

Web server:

Apache 2.4.41

Database:

mariadb 10.11

PHP version:

7.4.3

ownCloud version: (see ownCloud admin page)

10.15.0

Updated from an older ownCloud or fresh install:

fresh install

Where did you install ownCloud from:

docker

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

I finally found the problem.

In the log of android app i found theses errors :

E: 2024-10-24 12:29:02:178(RemoteOperationResult.java:120)---------------------------------
Create RemoteOperationResult from exception.
 Message: SocketTimeoutException: failed to connect to nas.xxxx.be/xx.xx.186.150 (port 80) from /192.9.200.56 (port 46240) after 60000ms
 Stacktrace: java.net.SocketTimeoutException: failed to connect to nas.xxx.be/xx.xx.186.150 port 80) from /192.9.200.56 (port 46240) after 60000ms

I’m actually connected behind HAPROXY to access to Owncloud using https. The certificat is only on the reverse proxy and owncloud is configured in http.

We can see on the log the app trying to connect using port 80 instead 443

I added this to the docker-compose.yml

OWNCLOUD_OVERWRITE_PROTOCOL=https

Now all working fine.

1 Like