Forum / Remote Desktop Manager Android - Bug Report

Datasource does not load via Webdav (HTTPS, Nextcloud 13.02)

Hello there,
as the Company where I am employed started to use RDM, i wanted to give RDM for Android a try on my private device, too.
However, wehn I try to load a datasource from my private nextcloud, it starts to load and after a few seconds, without any error message, Displays "not connected".
Connectivity of the app is NOT blocked by any Firewall or privacy tool like XPosed + XPrivacy
Server is a Nextcloud 13.02 instance with SSL-Cert provided by LetsEncrypt, running on Ubuntu LTS 16.04, other apps can connect from Windows/Linux/Android machines.
LOCAL INFO/SETTINGS:
Android 6.01 on Galaxy Note 4 Stock
RDM for Android Version: 4.11
Settings for the Datasource
Host: Domainname.com
Port: 443
Username: myusername
Passwort: mypassword
Directory: /remote/php/webdav/subdir1/subdir2/
Filename: filename.xml
The subdirs are for my internal structure, it does not matter if I use that path or the root Directory.
The according log for the last failed attempt:

[11.05.2018 17:05:27]ERROR SILENT Android.Accounts.NetworkErrorException: Exception of type 'Android.Accounts.NetworkErrorException' was thrown. at Devolutions.RemoteDesktopManager.Business.DataSources.WebDavHelper.cb3b21bd6344afc7c20d0cfb177f8c64d (Devolutions.Protocols.IDevolutionsProtocolsResult c3847b94f31817822a22689e5a134021f, System.Boolean c655d857cfe015d5701429fc6874bf697) [0x00079] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Business.DataSources.WebDavHelper.GetConnections () [0x00023] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 --- End of managed Android.Accounts.NetworkErrorException stack trace ---android.accounts.NetworkErrorException: Unable to load the data!
SUCCESS


[11.05.2018 17:05:27]ERROR SILENT Android.Accounts.NetworkErrorException: Exception of type 'Android.Accounts.NetworkErrorException' was thrown. at Devolutions.RemoteDesktopManager.Business.DataSources.WebDavHelper.cb3b21bd6344afc7c20d0cfb177f8c64d (Devolutions.Protocols.IDevolutionsProtocolsResult c3847b94f31817822a22689e5a134021f, System.Boolean c655d857cfe015d5701429fc6874bf697) [0x00079] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Business.DataSources.WebDavHelper.GetConnections () [0x0019c] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Business.DataSources.WebDavConnectionDataSource.GetConnections () [0x00000] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.cda58aa6f72a4432fb81706a3530e847c (Devolutions.RemoteDesktopManager.Business.DataSources.BaseConnectionDataSource ce3be784d2758d6f0366900d7fcfc0509, System.Boolean cb73a4e25f5ba8824832850fee640f301) [0x0036e] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Managers.ConnectionManager+c96f1e61151187c63272ee4610d9a2e84.c87008fc756e06333216d713fa81b096f () [0x0003d] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnections (Devolutions.RemoteDesktopManager.Business.DataSources.BaseConnectionDataSource dataSource) [0x00359] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.RefreshConnections () [0x00042] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Services.ConnectionService.RefreshConnections () [0x00000] in <016bdfeb67a34b37bc4e2395b9bbb499>:0 at Devolutions.RemoteDesktopManager.Managers.ActionManager.RefreshConnections (System.Boolean force, System.Boolean handleOnlineOffline, System.Boolean isSimpleRefresh, Devolutions.RemoteDesktopManager.Business.DataSources.BaseConnectionDataSource dataSource) [0x000bc] in <2fe91115d868475c816cf44bccc5596a>:0 --- End of managed Android.Accounts.NetworkErrorException stack trace ---android.accounts.NetworkErrorException: Unable to load the data!


SUCCESS[/Quote]


Can you probably provide any advice?
thanks in advance
S.

Clock3 mths

Hi,

Are you able to connect to the WebDav data source via RDM Windows?

Regards,

Nicolas Dufour

signaturesignature

Clock3 mths

Nicolas Dufour wrote:

Hi,

Are you able to connect to the WebDav data source via RDM Windows?

Regards,

Thanks for the quick Reply!
Just tried it from one of my office machines (don't have an Enterprise license or trial Version at home, Webdav is an Enterprise feature in the desktop version if I remember it correctly?),
Connection succeeded and the content of the datasource was displayed correctly (it is not in the same network, but that should not make a difference as I can ping the Server from both networks as well as connect to the Nextcloud instance in the browser)
Used the same settings, with the only difference being that the Windows Version has an explicit checkbox for "SSL", and I enabled that option.
Is there a paid/Enterprise version for the Android app, too? I did not see one in the store, do I Need an Enterprise license for Webdav?

Clock3 mths

Hi,

Yes, it is true, we do not have the SSL option on the WebDav data source.

This could be the reason why it is not working on Android.

Can you try to create a WebDav session (not a data source) on windows and open it?

If it works, can you try to create a WebDav session on Android an open it?

We would like to know if you WebDav session works ok on Android.


Regards,

Nicolas Dufour

signaturesignature

Clock3 mths

Nicolas Dufour wrote:

Hi,

There also is in ssl checkbox on the Android version just below the Verbose level header in the WebDav configuration section.

Can you try it out?

Regards,


Maybe I am a bit blind and/or dull today, but my RDM app does not show anything like a verbose Level or a SSL checkbox?
I am pretty sure that I have the latest Version Google Play offers, and when I create a new Webdav source the forms look like this:

image
image
image
image

Clock3 mths

Hi Seb,

You are right. Please refer to my previous post. I first thought we had the option and I then re-posted a few minutes later when I realized
the option wasn't there. You saw and replied to my first post. Sorry for that.

As I mentioned in my previous post, can you try to open a WebDav session (just to see if it works ok with your setup).

We are currently working on a new release, we will try to add the ssl option to the WebDav data source.

Regards,

Nicolas Dufour

signaturesignature

Clock3 mths

Hey Nicolas,
good to hear that you are on it.
I tried 3 different SSL secured Webdav Connections to be sure (my Server, a GMX account and a german telekom account), all of them work with RDM for Windows, None of them works with the app, so using LetsEncrypt on my machine can't be the culprit.
I guess the SSL bit is in deed what makes the difference.
I also reproduced the issue with RDM for Android 3.5, the only difference is that the old Version actually throws the exception while 4.11 has it silent.

Clock3 mths

Seb Sebsensen wrote:

Hey Nicolas,ood to hear that you are on it.I tried 3 different SSL secured Webdav Connections to be sure (my Server, a GMX account and a german telekom account), all of them work with RDM for Windows, None of them works with the app, so using LetsEncrypt on my machine can't be the culprit.
I guess the SSL bit is in deed what makes the difference.
I also reproduced the issue with RDM for Android 3.5, the only difference is that the old Version actually throws the exception while 4.11 has it silent.

Quick follow up:

Tickiing the new SSL checkbox in the new PlayStore update solved the problem.

Thanks and keep up the good work
Seb

Clock2 mths