powered by Jive Software

Yahoo Buddy Adding issues

Has anybody noticed strange behavior when adding yahoo buddies? We have a mature instance of openfire running that heavily relies on the IM Gateway. Now, whenever we try to add a Yahoo Buddy, the buddy is not stored on that client’s Yahoo Messenger Buddy List. Also, a Yahoo Buddy request is not sent out to the targeted buddy. I have tried this on Spark and my custom client, with no positive results. Anything that can be done?

Thanks.

You probably know what I’m going to ask

What version?

I’m working on 1.1.4. This problem has persisted as long as I’ve known. I think I even tried it with 1.2.0 with the same issues. This is occurring on all the instances of openfire we have running on our servers.

Is that a picture of optimus prime as your icon?

Hrm. I’ve added a few yahoo contacts and they appear to work right. I haven’t noticed any misbehavior. I wonder what’s different about what you are doing and what I am doing? Hrm. Well, I have to ask the typical question . . . got any debug logs I can look at during an add?

=) It’s actually Soundwave from the Decepticons. (right hand man of megatron, in the original series megatron transformed into a gun and soundwave held him and shot people with him hehehe I always loved how flawlessly loyal he was and ‘logical’)

Here my logs, I’m trying to add yjaddme49:

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18450”

           to="yjaddme3@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme3@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18451”

           to="yjaddme10@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme10@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18452”

           to="yjaddme1@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme1@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18453”

           to="yjaddme4@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme4@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18454”

           to="yjaddme2@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme2@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18455”

           to="yjaddme51@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme51@yahoo.imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

Received presence packet: <presence id=“TBi1a-18456”

           to="yjaddme53@yahoo.imtest-sandbox.yjsinc.com" type="unsubscribe"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"/&gt;

2007.11.26 11:35:07

yahoo: Sending packet: <presence type=“unsubscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme53@yahoo.imtest-sandbox.yjsinc.com"/&gt;

           2007.11.26 11:35:07 yahoo: contact add badiibz_yahoo:yjaddme49@yahoo.imtest-sandbox.yjsinc.com:yjaddme49:[BuddiesYJ-2]

2007.11.26 11:35:07

Updating status for

2007.11.26 11:35:07 (YAHOO) Storing new buddy:

           2007.11.26 11:35:07 yahoo: contact update badiibz_yahoo:yjaddme49@yahoo.imtest-sandbox.yjsinc.com:yjaddme49:[BuddiesYJ-2]

2007.11.26 11:35:09

Received presence packet: <presence id=“TBi1a-18458”

           to="yjaddme49@yahoo.imtest-sandbox.yjsinc.com"

           from="badiibz_yahoo@imtest-sandbox.yjsinc.com"

type=“subscribe”><priority>10</priority></prese nce>

2007.11.26 11:35:09

yahoo: Sending packet: <presence type=“subscribed”

           to="badiibz_yahoo@imtest-sandbox.yjsinc.com"

           from="yjaddme49@yahoo.imtest-sandbox.yjsinc.com"/&gt;

This occurs, but I don’t get an outgoing buddy request to yjaddme49 from yjaddme50. This was done using a custom client, I can do the test over with spark if you like.

One more thing - When I do this test on Spark, (Adding yjaddme49 to yjaddme50’s roster), when I sign off and back on, yjaddme49 is no longer in my roster.

Hi. I’m not sure if this has been fixed already but I’m currently working on version 1.2.0 and I also encountered this problem.

If you are working from the source, this can be resolved by adding one character into the code

Look for the syncContactGroups(YahooBuddy budd) method in the YahooSession class. It should be somewhere around line 356 (i’m not sure cuz mine is already heavily modified)

Change “if (yahooGroup.getUsers().contains(yBuddy.yahooUser)) {”

to “if (**!**yahooGroup.getUsers().contains(yBuddy.yahooUser)) {”

Hope this helps.

hahaahha dammit! Thank you! Yes that helps a great deal and makes it all work like candy! =( Applying that update.

Dustman, I appreciate it. Thanks very much. I’ll either test the fix out from source on our test system or wait until dan puts the fix in.

I actually am having this problem too.

I’m on version

1.2.2a

Ditto … Any advise? This is a huge problem… Which file should be edited with the change recommended by Dustman? I’m also running 1.2.2a

This is a major issue and it would be great if someone could just let us know which files need edting to correct the issue.