ldg8601 / gtalksms

Automatically exported from code.google.com/p/gtalksms
0 stars 0 forks source link

Authentication failure against ejabberd due to repeated domain name #354

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

1) I've set up a separate account for gtalksms on my ejabberd server
2) At the connection screen, I fill out:
     Login: gtalksms@jabber.example.com
     Account: myname@jabber.example.com
3) Trying to to connect results in an authentication failure
   At the server I get this message:

=INFO REPORT==== 2014-02-22 21:34:33 ===
I(<0.752.0>:ejabberd_listener:281) : (#Port<0.18511>) Accepted connection 
{{88,888,888,888},40560} -> {{222,222,22,222},5222}
=INFO REPORT==== 2014-02-22 21:34:34 ===
I(<0.1053.0>:ejabberd_c2s:659) : 
({socket_state,tls,{tlssock,#Port<0.18511>,#Port<0.18513>},<0.1052.0>}) Failed 
authentication for gtalksms@jabber.example.com@jabber.example.com from IP 
88.888.888.888 ({{88,888,888,888},40560})

   Note the repeated domain name here above!

Additional informations:
Phone model: Samsung Galaxy S3
app version: 4.4.1
ejabberd version: ejabberd-2.1.13-1.el6.x86_64

Any chance my DNS configuration has something to do with this?

jabber          IN      A       222.222.22.222
_xmpp-client._tcp.jabber        IN      SRV     5 0 5222 xmpp.example.com.
_xmpp-server._tcp.jabber        IN      SRV     5 0 5269 xmpp.example.com.
xmpp            IN      A       222.222.22.222
_xmpp-client._tcp.xmpp  IN      SRV     5 0 5222 xmpp.offerman.com.
_xmpp-server._tcp.xmpp  IN      SRV     5 0 5269 xmpp.offerman.com.
_xmpp-client._tcp       IN      SRV     5 0 5222 xmpp.offerman.com.
_xmpp-server._tcp       IN      SRV     5 0 5269 xmpp.offerman.com.

Original issue reported on code.google.com by aadoffer...@gmail.com on 22 Feb 2014 at 9:18

GoogleCodeExporter commented 9 years ago
Can you try with only "gtalksms" only for your login (without the domain)?

Original comment by Florent....@gmail.com on 22 Feb 2014 at 9:39

GoogleCodeExporter commented 9 years ago
In addition:

Entering the Server host manually
and removing the host name from the Login
results in an endless loop of Connecting and Waiting.

Nothing interesting happening at the server, except for registering the 
incoming connection:

=INFO REPORT==== 2014-02-22 22:36:46 ===
I(<0.752.0>:ejabberd_listener:281) : (#Port<0.19003>) Accepted connection 
{{88,888,888,888},34416} -> {{222,222,22,222},5222}

Original comment by aadoffer...@gmail.com on 22 Feb 2014 at 9:47

GoogleCodeExporter commented 9 years ago
Can you provide the GTalkSMS logs?

Original comment by Florent....@gmail.com on 22 Feb 2014 at 9:51

GoogleCodeExporter commented 9 years ago
Just sent it by mail...

Original comment by aadoffer...@gmail.com on 23 Feb 2014 at 7:24

GoogleCodeExporter commented 9 years ago
Sorry for the loooooonnnnnnng wait...
You set an empty service name. If your login is gtalksms@jabber.example.com 
your service name shoud be jabber.example.com.

Original comment by Florent....@gmail.com on 15 Apr 2014 at 8:02