Thank you Brion!

On Apr 17, 2010, at 6:42 PM, Brion Vibber wrote:

> Well, what stage are you at?

I haven't received a confirmation message. I've added 
[email protected] to my "buddy list" both with a gtalk and my plain 
jabber account. If I log on to my jabber server *as*[email protected] 
I can send messages to my other accounts.

My logs show that using SSL isn't working at all for me. I get stuff like this:

1271525694 [VERBOSE]: RECV: 
1271525694 [WARNING]: Reconnecting (30)...
1271525694 [INFO]: Connecting to tcp://status.smscotten.com:5223
1271525694 [VERBOSE]: Socket is ready; send it.
1271525694 [VERBOSE]: SENT: <stream:stream to="status.smscotten.com" 
xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client" 
version="1.0">
1271525694 [VERBOSE]: Successfully sent 125 bytes.
1271525694 [DEBUG]: EVENT: reconnect
1271525694 [VERBOSE]: RECV: 
1271525694 [WARNING]: Reconnecting (30)...
1271525694 [INFO]: Connecting to tcp://status.smscotten.com:5223
1271525694 [VERBOSE]: Socket is ready; send it.
1271525694 [VERBOSE]: SENT: <stream:stream to="status.smscotten.com" 
xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client" 
version="1.0">
1271525694 [VERBOSE]: Successfully sent 125 bytes.
1271525694 [DEBUG]: EVENT: reconnect
1271525694 [VERBOSE]: RECV: 

on and on several times per second until my server is so tied up it can't hand 
out web pages any more. So I decided to do it without SSL and set encryption to 
false and the port to 5222 (instead of true and 5223):

Starting /home/steves/status.smscotten.com/scripts/xmppdaemon.php...1271525959 
[INFO]: Connectingtotcp://status.smscotten.com:5222
1271525959 [VERBOSE]: Socket is ready; send it.
1271525959 [VERBOSE]: SENT: <stream:stream to="status.smscotten.com" 
xmlns:stream="http://etherx.jabber.org/streams"; xmlns="jabber:client" 
version="1.0">
1271525959 [VERBOSE]: Successfully sent 125 bytes.
1271525959 [VERBOSE]: RECV: <?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' id='4BC9F247' 
xmlns='jabber:client' from='status.smscotten.com'>
DONE.

To me, this looks awesome! But "[email protected]" doesn't show as 
online in my Jabber client. So I go to /settings/im, put my jabber address in, 
(tried with gtalk too) and get the "Awaiting Confirmation" message on the SN 
page, but never receive any such confirmation message on jabber.

I have 'queue enabled' as 'true' in my config.php

There is literally nothing going into jabber error.log when I start the 
daemons. Likewise nothing going into record.log. I do have one entry in 
record.log:

[email protected] login ok 208.97.187.133 HappyDreamHostJabberRobot

but that was from hours ago. None of the retests as I've written this email 
have put anything into record.log. I'm not using stomp... to my knowledge.

My queue_item table shows eight items, all from today, transport xmppout, 
claimed null. I haven't examined the contents of the BLOBs but the most recent 
one says

s:515:"<message from='[email protected]/uniquenamedaemon' 
to='[email protected]' type='chat'><body>User &quot;smscotten&quot; on 
status.smscotten.com has said that your Jabber ID belongs to them. If that's 
true, you can confirm by clicking on this 
URL:http://status.smscotten.com/main/confirmaddress/8NWJMR2YF2YM6 . (If you 
cannot click it, copy-and-paste it into the address bar of your browser). If 
that user isn't you, or if you didn't request this confirmation, just ignore 
this message.</body></message>";

and the other seven blobs show roughly the same size.

If one item in the queue fails, will it hold the rest of them up as well? 
Should I perhaps delete the items in the queue, some of which are 12 hours old? 
Or would manually deleting the items in the queue_item table screw things up 
worse?

Oh. It just occurred to me that I have the confirmation URL right there. I 
could see what happens if I plug it into a browser…

OK, my jabber address is now confirmed, but [email protected] still 
doesn't appear as online and I'm neither receiving messages via Jabber nor do 
messages I send (despite the apparent offline status) appear on the statusnet 
site. No entries appear in either of the jabber logs.

What might my next steps be? I know that's a lot of information without much 
holding it all together. I'm pretty much stumped.

After running startdaemons.php I have five queuedaemon.php processes reported 
by ps. Also two of xmppdaemon.php and one each of synctwitterfriends.php and 
twitterstatusfetcher.php

Thanks for looking at this! I hope it's enough information.


Steve
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to