nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.27k stars 1.77k forks source link

IPv6 AAAA record misunderstood #5746

Closed roncamma closed 4 years ago

roncamma commented 4 years ago

Steps to reproduce

  1. domain name (exemple.com) with only AAAA record
  2. try to connect with the app using https://exemple.com

Expected behaviour

The app should be connect to the server ising ipv6 address provided by the DNS

Actual behaviour

The app can't find the server error : Unable to fiind server

Environment data

Android version: 10

Device model: OnePlus 6

Stock or customized system: Stock OxygenOS 10.3.1

Nextcloud app version: 3.10.1

Nextcloud server version: 17.0.3

Test realized :

Thanks.

tobiasKaminsky commented 4 years ago

Can you create us a test account and send the credentials to tobias at nextcloud dot com with a reference to this issue?

roncamma commented 4 years ago

Hello @tobiasKaminsky Email sent. Thank you !:)

tobiasKaminsky commented 4 years ago

Hm. No mail received?

roncamma commented 4 years ago

Is it okay now ? Thanks.

svennissel commented 4 years ago

Same Problem with Samsung Galaxy S10e (Android 10). My nextcloud has an a and AAAA Record but in my Network the clients use IPv6 primary. My Nextcloud Version is 18.0.3. I run nextcloud in a docker container and behind a nginx https proxy. Linux/Windows App and Browser works fine

tobiasKaminsky commented 4 years ago

Is it okay now ?

Thanks, I received the mail and will have a look soon.

svennissel commented 4 years ago

In a tcpdump on the server i see no incomming traffic from the smartphone with the nextcloud app (connected over LTE). My domain is subdomain.domain.de and my dns record is ipv6 ip in a short notation: *.domain.de. 86400 IN AAAA xxxx:xxx:xxx:xxxx::1

tobiasKaminsky commented 4 years ago

sorry for coming back so late. I tested with @roncamma credentials via mail:

I used the address to connect, even without https prefix, not the ip: next.xxx.tld

roncamma commented 4 years ago

Thanks Tobias for your message. It works also for me now. Any app update ? Or maybe the app use its own dns server ? Maybe the DNS record was not yet propagated to the dns server that app use when I post this issue.

tobiasKaminsky commented 4 years ago

Last update was ~2 weeks ago and we did not changed anthing in this regard.

tobiasKaminsky commented 4 years ago

@svennissel in your case I unfortunately do not have an idea :/

svennissel commented 4 years ago

In between a had turned on the firewall. So i have seen no packeges in TCP Dump. Know I see TCP errors "Port unreachable (Destination Port: 41740)". But this will be a error with my nginx Proxy. Sorry for my wrong comments. Thank you for your help.