Opened 8 years ago

Last modified 8 years ago

#23 new defect

gmail access

Reported by: maxim.reznik Owned by: alexander.basov
Priority: major Milestone:
Component: axmpp library Version: 0.0.1
Keywords: Cc:


Trying to connect with google account, I get next error:

 <host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams"/>
 <str:text xmlns:str="urn:ietf:params:xml:ns:xmpp-streams">
Set the 'to' attribute of stream element to the domain part of the user's JID. Example: to=''.

while AXMPP request is

<stream:stream xmlns:stream='' version='1.0' xmlns='jabber:client' to='' >

Pidjin request is

<stream:stream to='' xmlns='jabber:client' xmlns:stream='' version='1.0'>

It seems @to is invalid.

Settings in con_cli are:

   S.Set_JID (League.Strings.To_Universal_String (""));
   S.Set_Host (League.Strings.To_Universal_String (""));

Change History (1)

comment:1 by maxim.reznik, 8 years ago

If I write

  S.Set_Host (League.Strings.To_Universal_String (""));

It goes futher:

Recieved from GNUTLS.Record_Recv : 
 <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">

Sending XML :
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>

Recieved from GNUTLS.Record_Recv : 
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><invalid-mechanism/></failure>
Last edited 8 years ago by maxim.reznik (previous) (diff)
Note: See TracTickets for help on using tickets.