-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[BUG] Android owncloud client not uploading without internet access #4512
Comments
that means that the problem is in the firewall. Did you check the rules' list? Usually, when uploads are just enqueued (no error), is because the device does not find connectivity to launch them. |
firewall is not between server and client. It is between internet and our networks. |
If the status is If you are sure that your device has connectivity, it's something that i can not explain at this point :D. Download and upload are operations that use the same piece of software to run. Please, could you share an app log with the |
just to be clear and aligned, when you mentioned "internet access", you meant "mobile connectivity"(4G/5G...) right? internet access is network reachability, regardless the kind of interface you use for (WiFi is also internet connection). It is not posible to work in cloud without an network access. App connectivity will work if ownCloud app and server are reachable themselves. ownCloud app does not handle network rules or middleware. The connectivity must be direct. |
"Internet access" I mean any connection to internet, no mobile connectivity (4G/5G...) and wifi without connection to internet From my android device connected to WIFI without connection to internet (no 4G no 5G ... WIFI without internet)
Where I should past logs ? here ? it is 77 lines thank you |
if there is no sensible information about your server (domain names, IPs, relevant user names or user info...) you can post here. If not, please push here: with pass: qb26Y},E<}#q no one else will read it. |
android owncloud app client logs : |
thanks. we can see that there are plenty of server requests that are responded, but just a
to enqueue the file that (i guess) you selected manually from your file system. My guess is again something related with the firewall, no matter what other clients does (maybe different implementations). The other suspiction is something related with network library. Needed more info here. |
yes I am testing manual upload between my android device and my owncloud server there is "full IP access" (no restriction ) only connection to "outside" "to the world" is blocked what else should I provide ? thank you |
@JuancaG05 @joragua more ideas? if apps connects directly with server, there should be no problem. |
I can see in There is also one more place apart from uploads where this constraint is used, and it's for the available offline worker. Could you test and confirm if account discovery (the process made just after logging in where capabilities, spaces, root folder, etc are discovered) and available offline downloads (downloads made automatically after 15 minutes when you make a change in a file in the server side) are working? That way we discard causes or we scope the problem 😃 thank you! |
Actual behaviour
Mine internal owncloud server behind firewall and proxy is working well with Windows owncloud client and with linux clients
My android device on WIFI without internet connection can download items from my owncloud server, but cannot upload.
Everything selected to upload is still with status "enqueued"
Expected behaviour
upload & download should be without issues
Steps to reproduce
Can this problem be reproduced with the official owncloud server?
(url: https://ocis.ocis.master.owncloud.works, user: einstein, password: relativity)
no
Environment data
Android version: 14
Tested
Device model: Samsung galaxy s23+
tested on galaxy tabs7 as well same issue
tested on older android devices = same issue
Stock or customized system: stock
ownCloud app version: 4.4.1
tested also 4.3.0
ownCloud server version: 10.15.0
Logs
Web server error log
no relevant logs just that device is connecting
I add sucesfully connection and all seems to be ok, just upload enqueued
ownCloud log (data/owncloud.log)
no relevant data
Insert your ownCloud log here
data from owncloud client log
loading file to dir /test1/
D: 2024-11-11 06:56:09:354(BaseActivity.java:292)show loading dialog
I: 2024-11-11 06:56:09:383(UploadFilesFromSystemUseCase.kt:94)Upload of /test1/owncloud.2024-11-11_06.55.39.log has been stored in the uploads database with id: 166
I: 2024-11-11 06:56:09:383(UploadFileFromSystemUseCase.kt:76)Plain upload of /data/user/0/com.owncloud.android/files/owncloud/tmp/[email protected]%2Fowncloud/test1/owncloud.2024-11-11_06.55.39.log has been enqueued.
D: 2024-11-11 06:56:09:389(BaseActivity.java:310)dismiss loading dialog
V: 2024-11-11 06:56:09:408(MainApp.kt:212)ReceiveExternalFilesActivity onPause() ending
V: 2024-11-11 06:56:09:416(MainApp.kt:201)LogsListActivity onStart() starting
V: 2024-11-11 06:56:09:417(MainApp.kt:208)LogsListActivity onResume() starting
V: 2024-11-11 06:56:09:805(MainApp.kt:216)ReceiveExternalFilesActivity onStop() ending
V: 2024-11-11 06:56:09:810(MainApp.kt:227)ReceiveExternalFilesActivity onDestroy() ending
V: 2024-11-11 06:56:13:657(MainApp.kt:212)LogsListActivity onPause() ending
V: 2024-11-11 06:56:13:667(MainApp.kt:201)SettingsActivity onStart() starting
V: 2024-11-11 06:56:13:668(MainApp.kt:208)SettingsActivity onResume() starting
V: 2024-11-11 06:56:14:054(MainApp.kt:216)LogsListActivity onStop() ending
V: 2024-11-11 06:56:14:055(MainApp.kt:227)LogsListActivity onDestroy() ending
V: 2024-11-11 06:56:17:074(MainApp.kt:212)SettingsActivity onPause() ending
V: 2024-11-11 06:56:17:081(BaseActivity.java:93)onRestart() start
V: 2024-11-11 06:56:17:082(BaseActivity.java:99)onRestart() end
V: 2024-11-11 06:56:17:082(MainApp.kt:201)UploadListActivity onStart() starting
D: 2024-11-11 06:56:17:084(BaseActivity.java:177)Account set: [email protected]/owncloud
D: 2024-11-11 06:56:17:085(DrawerActivity.kt:304)Update Quota
I: 2024-11-11 06:56:17:086(AvatarManager.kt:87)Avatar with imageKey [email protected]/owncloud is not available in cache. Generating one...
V: 2024-11-11 06:56:17:088(MainApp.kt:208)UploadListActivity onResume() starting
W: 2024-11-11 06:56:17:088(DrawerActivity.kt:402)setDrawerMenuItemChecked has been called with invalid menu-item-ID
My test:
old oCloud.de app = working
different devices same or older app version = not working
open firewall for my android device to internet = immediately upload working
after we close that access to internet again same issue
thank you for any help
The text was updated successfully, but these errors were encountered: