Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
edmyjose #1
Member since Aug 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: Issue gmail and wlm get connect but not show contacts
hi. greetings.

i having a problem when im gets connected to my gmail account and wlm account. when i connect to gmail account i cant get all the contact bust if im connect to facebook i get it normally, this same happens when i get connected to my windows live messenger account.

other issue im facing is i cant receive the incoming messages from gmail and wlm, from facebook i get it fine.

i look it and the problen is on presence with a wrong jid, always send me my jid and not from my contacts, i check onmessage and i receive but its doesnt show, im tired to look at it to see what is wrong and i dont know where is the problem.

https://dl.dropbox.com/u/103373379/SignalR%20Chat%20Comple…

facebook, and wlm its get connect by sasl, and google by username and password, i culdnt find how to connect by sasl

this is how to run my web site

Unzip the content to a folder
open visual studio 2010 or better
open web site
select the folder
and Enjoy it
This post was edited 2 times, last on 2012-09-06, 18:21 by edmyjose.
Edit reason: Update dropbox links
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I don't download files from "rip off" pages like depositfiles. Please use other services for your files like dropbox for example.
Avatar
edmyjose #3
Member since Aug 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
Ready, i update the first post with my link, but heres too

https://dl.dropbox.com/u/103373379/SignalR%20Chat%20Comple…
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you always have a Sendpresence call after the Open call. Thtas wrong and must be removed. Other than this I see no errors.

  1. XmppClientWLM.Open()
  2. XmppClientWLM.SendPresence() // must be removed

Alex
Avatar
edmyjose #5
Member since Aug 2012 · 13 posts
Group memberships: Members
Show profile · Link to this post
well i can see the first problem. i removed XmppClientWLM.SendPresence(), but i gets the same issue, sometime load my contacts and sometimes not


second i only have the problem with wlm and gmail when someone send me a chat message,l i couldnt receive, i get the message onmessage event right but when i load the msg to the page its not working, i look the code and is fine, with facebook works.

third  i just see other issue but its weird. i recently bought and celular phone with windows phone 7, and im always get connected to facebook and wlm, with facebook i have no problem if im connected in my phone and my website, but when i try to connect to wlm from my website and im connected to my phone i get this event

OnBeforeSasl
OnLogin
OnIq
OnIq
OnPresence
OnPresence
OnPresence
OnPresence
OnClose

onRosterItem cant load my contacts, is not get fired. lthis one is from other email i use alone, just 1 connection, only from my website
OnBeforeSasl
OnLogin
OnIq
OnIq
OnRosterStart
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterItem
OnRosterEnd
OnBeforeSendPresence
OnIq
OnIq
OnPresence

and my xml log is

Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="messenger.live.com" version="1.0" >
Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="44374" xmlns="jabber:client" >
Recv: <stream:features xmlns:stream="http://etherx.jabber.org/streams"> <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"> <required /> </starttls> </stream:features>
Send: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
Recv: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="messenger.live.com" version="1.0" >
Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="44375" xmlns="jabber:client" >
Recv: <stream:features xmlns:stream="http://etherx.jabber.org/streams"> <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"> <mechanism>X-MESSENGER-OAUTH2</mechanism> </mechanisms> </stream:features>
Send: <auth mechanism="X-MESSENGER-OAUTH2" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">EwAwAq1DBAAUlbRWyAJjK5w968Ru3Cyt/6GvwXwAAUZXHv9/MfLgSyLYxMQGEwaBG7aoURl2TAqWDugGEZdlk5SoXkkWsf2uK8b176Zzae/F7ubJk/mMxOG0izTDoB8R1CYQ2rmj+LJ0Bei7VLDWkKLJRFd1omCVeTdQwe2W3R59wH9fjOwuHuoJMLXL30XUCRPiBNMrTtjoD6q+pXU8W5FtGnSjf8PpoFMJKCcvyvk3O5VzUgUkyINrjyw6TNzNjSmT8C7pKU0pRMFQ//fxyC8TwfmtZP89gjIzTLXNVPOKvnZsyUiNUNaPecby5F9lvjZNh5v9MbL6sGsleasfi3SQDt3qXYswD59RKypt5JmRq1pDHFIV8X9FHP7ipCoDZgAACEywpD+8qMhJAAHv2CnLF7btE6xiYVM5Sncbf0e2h4B2zbdnu9jrB22sv+/cRV/aSwzl8LYMFaFs6YGfDTLzH+rXb+kAPcLf0LPWFdltslB+etP+GKjzrBzDlTbEiV3DFAFIT0Cinc6Uqh54ATM90ITBby04lRnZKPq5PdDIIWPXYmLQvTi+XadnSWR7WyQWyY3vL35bDuVF67NTaqPsKrO3cExG8pjxQEGkKFVefX1rCVM//np18sQTFuoWk+o6sT2UhK69vHRGC5sQIvPew25JUyC/JWk5XzSfcEZs284rQRzcGR96hordE8De8C4ydNnR3SV+t0RdZA1EhZ1d2sjAEyEDZui6XM91AAA=</auth>
Recv: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
Send: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="messenger.live.com" version="1.0" >
Recv: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="messenger.live.com" version="1.0" id="44376" xmlns="jabber:client" >
Recv: <stream:features xmlns:stream="http://etherx.jabber.org/streams"> <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind" /> <session xmlns="urn:ietf:params:xml:ns:xmpp-session" /> <sub xmlns="urn:xmpp:features:pre-approval" /> </stream:features>
Send: <iq id="MX_1" type="set" xmlns="jabber:client"> <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"> <resource>MatriX</resource> </bind> </iq>
Recv: <iq id="MX_1" type="result" xmlns="jabber:client"> <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"> <jid>561a04e80df5013b@messenger.live.com/{2557efd1-5c5e-4541-b70f-4dde7b9fcd90}</jid> </bind> </iq>
Send: <iq id="MX_2" type="set" xmlns="jabber:client"> <session xmlns="urn:ietf:params:xml:ns:xmpp-session" /> </iq>
Recv: <iq id="MX_2" type="result" xmlns="jabber:client"> <session xmlns="urn:ietf:params:xml:ns:xmpp-session" /> </iq>
Send: <iq id="MX_3" type="get" xmlns="jabber:client"> <query xmlns="jabber:iq:roster" /> </iq>
Recv: <presence from="589a89b2ab1efb7a@messenger.live.com/{ee1897c8-7ddd-47b2-810c-d5b660743cc6}" to="561a04e80df5013b@messenger.live.com/{2557efd1-5c5e-4541-b70f-4dde7b9fcd90}" xmlns="jabber:client"> <show>away</show> <status>(F) (F)(F) Ping 279B07AE(F)(F)(F)</status> <x xmlns="vcard-temp:x:update"> <photo /> </x> </presence>
Recv: <presence from="804b1d268c48a0d2@messenger.live.com/{8606f01d-69eb-4af7-b3b5-e4ac148b1621}" to="561a04e80df5013b@messenger.live.com/{2557efd1-5c5e-4541-b70f-4dde7b9fcd90}" xmlns="jabber:client"> <show>chat</show> <status>Estrenando mi Rum Rum (au)</status> <x xmlns="vcard-temp:x:update"> <photo /> </x> </presence>
Recv: <presence from="corpmaier@yahoo.com/{00000000-0000-0000-0000-000000000000}" to="561a04e80df5013b@messenger.live.com/{2557efd1-5c5e-4541-b70f-4dde7b9fcd90}" type="unavailable" xmlns="jabber:client" />
Recv: <presence from="delabastide@yahoo.com/{00000000-0000-0000-0000-000000000000}" to="561a04e80df5013b@messenger.live.com/{2557efd1-5c5e-4541-b70f-4dde7b9fcd90}" type="unavailable" xmlns="jabber:client" />

thanks so much, i guess this is the only 3 issue that i have to resolve to have my web site complete, i hope you could run my web site
Avatar
Alex #6
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
your windows live account is broken. The server sends you presence with a resource that contains only zeros. This is a known bug in the WLM XMPP server. Please contact Microsoft to get this account fixed or try another account.
See also here: http://forum.ag-software.de/thread/1382-How-to-convert-JID…

No idea what wrong with your messages, a xml logfile would help there as well. I assume that there is either a bug in your code behind code or a bug in your JavaScript code. If you have no exception handlers in your JS code then all exceptions go to the SignalR JS code and will cause a SignalR disconnect.

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: