ubergeek42 / weechat-android

Simple Weechat-Relay Android Client
519 stars 103 forks source link

RFC 6555 - Happy Eyeballs #260

Open Mikaela opened 8 years ago

Mikaela commented 8 years ago

TL;DR, connect using IPv6 & IPv4 in that order and if v6 fails, fall back to v4.

I am currently at cottage where I have HE tunnel as the ISP is missing IPv6 support. However there is routing issue between the cottage and the server where WeeChat is on on IPv6 so it's inaccessible and WeeChat Android just tries reconnecting again with counting time.

If Happy Eyeballs was implemented, I wouldn't see this.

Mikaela commented 8 years ago

And forcing IPv4 by typing the server IP is not an option as I use the phone on other networks including mobile network which has DS Lite meaning CGN and public IPv6 /64 and troubleshooting CGN being fail2banned wouldn't be fun.

oakkitten commented 4 years ago

we are closing some of the issues that weren't active in a while or may be irrelevant for the latest version (1.0). if you think that this issue is still applicable, please leave a comment.

ncfavier commented 3 years ago

This is still applicable.

oakkitten commented 3 years ago

i tried looking into this, but somehow the app won't connect to IPv6 on my network at all. however I try, instead of a single AAAA query or a pair of A/AAAA queries for some reason it performs two A queries and fails. i replicated this behavior on two devices running different Androids. funnily, JuiceSSH connects, as does mpv-android and i can also do ping6 host (i.e. apps not doing i/o from java?), but can't connect to it via Socket(...), or using Chrome, or Aimp.

ncfavier commented 3 years ago

I had no problem connecting with IPv6.

Strykar commented 1 year ago

Thoughts on forcing -4 or -6 as an option through the app?