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
Android connection to CNAME fails #455
Comments
Hi. Sorry for answering so late, I didn't notice this message :$ The ownCloud app should access to whatever IP the DNS resolver determines. The app is not trying to resolve the domain names itslef, the network library takes care of it , taking into account the network configuration in the device. Are you able to access your ownCloud server from the web browser in the device? |
Thx for answering :) It does try to connect however the web site is the wrong one. On the Android device I can connect just fine using any browser (tried firefox, chrome and Androids browser) and another app; ES File Explorer. I have since found a work-around for my DNS settings so that I don't need to root any more devices. The work-around does not fix the problem with CNAME, it just enables me to not use CNAME. This is great for taking pictures with instant upload to OwnCloud. I know this is not high priority, but I hope you can use this information for something. Kind regards |
Ok, I had to read a bit more about DNS, but now I understand. I must admit this overpassed my knowledge about DNS. Probably this is a bug or limitation of our current network library. We should research deeper to be sure, but as you say we cannot take this as a high priority. I am really happy you could find a workaround. Thanks for sharing with us. Let's keep it open, maybe we can take it into account when we decide to upgrade to a more recent network library. |
You can lookup dns manually.
|
Any news to this bug? I've got a internet access with a dynamic IP. This is the reason I have to use a DDNS-Service. So, the workaround mentioned by Floaty doesn't work, because I have not a static IP. Are there any plans to fix this bug or any other known workarounds? |
I'm sorry, but as far as I know, there is not a lot of interest in this. Summoning @owncloud/android-developers for more opinions / hands. |
@davivel thanks for your feedback. |
IPv6... yes, that issue is known: #616 |
In version 2.9, the ownCloud Android app switched to a new networking library. I'd assume this issue is gone. In case this happens again, please open a new issue. (too many things changed) |
First of all I must say what a GREAT idea with ownCloud. I love it.
Used a lot on my home computers.
But... ;)
I noticed something when setting up ownCloud on my android device.
In DNS theres a CNAME owncloud.mydomain.tld pointing to realhostname.mydomain.tld
When I try to connect to the CNAME owncloud.mydomain.tld it will not connect.
So I rooted my android device and added IP and owncloud.mydomain.tld to the hosts file.
Now my android device will connect.
Does the android client send realhostname.mydomain.tld instead of the name I type in as connection name?
Apache needs owncloud.mydomain.tld to serve the correct page. Not the name it gets translated from DNS.
Windows client does not have that problem. Am I doing something wrong or is this a bug?
{"installed":"true","version":"6.0.2.2","versionstring":"6.0.2","edition":""}
Android client is version 1.5.4
The text was updated successfully, but these errors were encountered: