nkzxw / psi-dev

Automatically exported from code.google.com/p/psi-dev
0 stars 0 forks source link

One minute connection delay on IPv4 Windows clients with IPv6 server #587

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Шаги по воспроизведению проблемы:
What steps will reproduce the problem?
1. Install Psi+ on a Windows machine that has no public IPv6 address
2. Set up an account on a server that has both IPv4 and IPv6 support
3. Connect the account

Каков ожидаемый результат?
What is the expected output?

The connection should be established withing a few seconds.

Что Вы видите вместо этого?
What do you see instead?

The connection is establish after at least a minute waiting time.

Какую версию Psi+ / ОС Вы используете?
What version of the Psi+/OS are you using?

My users use Psi 0.16.361 on Windows 7 and 8 and we are running a Prosody 0.9.4 
server.

Дополнительная информация по проблеме:
Additional information:

Users of Psi always have to wait almost exactly one minute until they are 
connected to my server. After trying to track this back, I realized that this 
started immediately after offering IPv6 on our server. Meaning that the domain 
name the SRV record for client connections points to has an AAAA DNS record.

The problem occurs only on Windows machines that have no public IPv6 address 
and can be circumvented by setting the IPv4 address of the server manually in 
the account options. It seems, even though there is no public IPv6 address 
available, Psi tries to connect to it somehow and spends 60 seconds doing that 
before trying the IPv4 address.

Original issue reported on code.google.com by a...@raxys.net on 26 May 2014 at 8:47