Subject: SRV Records problem
Hallo Alex,
currently i am trying to make my app work by using SRV records.
I have the following problem:
My jid is: mayprog@messaging.domain.gr
In the domain.gr server we have enabled SRV records so by enabling the Autoresolve into your library it would normally direct me to the right port and address for xmpp.
The problem is that server messaging.domain.gr is not rooted so, the srv lookup does not give me any info.
Is there a way to search the rooted server?
Also, another problem is that when i try to connect to the mayprog@domain.gr althought your library finds the server successfully, i cannot log in because agXmpp uses the jid i have specified and does not compose a new Jid from the user specified and the server that was found.
I am not sure if that is the way it should have been implemented, but i have tried these cases with Spark and in both cases it connects ok with the server.
Is there something i should implement?
Lastly, i cheched your code at the SRV records and found out that you only use the first Record returned from the lookup.
(Google for example returns 5 Records im.google.com,im1.google.com etc).
Shouldn't it be right to try to connect to the next record if the first connection cannot be completed?
Thank you very much!
currently i am trying to make my app work by using SRV records.
I have the following problem:
My jid is: mayprog@messaging.domain.gr
In the domain.gr server we have enabled SRV records so by enabling the Autoresolve into your library it would normally direct me to the right port and address for xmpp.
The problem is that server messaging.domain.gr is not rooted so, the srv lookup does not give me any info.
Is there a way to search the rooted server?
Also, another problem is that when i try to connect to the mayprog@domain.gr althought your library finds the server successfully, i cannot log in because agXmpp uses the jid i have specified and does not compose a new Jid from the user specified and the server that was found.
I am not sure if that is the way it should have been implemented, but i have tried these cases with Spark and in both cases it connects ok with the server.
Is there something i should implement?
Lastly, i cheched your code at the SRV records and found out that you only use the first Record returned from the lookup.
(Google for example returns 5 Records im.google.com,im1.google.com etc).
Shouldn't it be right to try to connect to the next record if the first connection cannot be completed?
Thank you very much!