Connect to Google Account without setting SRV Records

124 views Asked by At

Is there any way I can bypass the setting SRV records. How can you connect to mycompany.com which is a google account, without having to set the SRV records.

I am using the combination of Strophe + Punjab to connect to Google XMPP service for building chat application. I am able to connect using a gmail account ([email protected]) successfully. I want to connect using [email protected] which is a google account. I have come across posts with solution which require SRV records to be set which are used to turn the domain part of the jid into a hostname/port to connect.

Regards, Nitish

1

There are 1 answers

0
Nitish Borade On BEST ANSWER

Solved..

Seems the issue is while authenticating using the password, it throws remote-connection-failed exception.

Using the token retrieved from OAuth2 mechanism to authenticate the Google Talk Server solves the problem.