Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-2008, 11:07 AM
Trained Alumni
 
Posts: 342
Default [SOLVED] Zimbra to Yahoo IM Connection Broken after 5.0.4

We upgraded to 5.0.4 this past weekend. Now IM won't connect to the Yahoo service for some reason. Was there a change made to IM that wasn't listed in the release notes?

I found that when I try to make a connection and it fails, the zmmailboxd.out log gets an entry that looks like this.

Response is: 0
ymsgr=AE1RzEdgiH6sX3atHtpjP_...............
partnerid=B9ZW0S_..........

Not much help there. The UI window just tells me "Connection FAILED: Incorrect username or password", but I can login from my desktop using another IM client just fine with the same username/password.

Anyone know?

Matt
Reply With Quote
  #2 (permalink)  
Old 04-01-2008, 01:14 PM
Zimbra Employee
 
Posts: 93
Default

Have you tried disabling and then re-enabling the Yahoo registration for the account? (Go to the IM app, click the Yahoo icon, choose logout -- then re-register)?

Have you tried to log into the affected account with one of the standard yahoo messenger clients?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 04-01-2008, 01:57 PM
Trained Alumni
 
Posts: 342
Default

Tried all that...

I think I see what's wrong. Looks like it is trying to connect to the yahoo service at yahoo.mydomain.edu....instead of trying to contact Yahoo's servers.

We didn't change anything when we upgraded, and I don't remember anyplace where this was configured. How do I tell this IM service to connect to Yahoo's servers and not try to connect to Yahoo IM service on my local domain?

Matt
Reply With Quote
  #4 (permalink)  
Old 04-01-2008, 02:07 PM
Zimbra Employee
 
Posts: 93
Default

the yahoo.mydomain.ext connection is correct -- that's the internal XMPP service trying to connect to the yahoo gateway (which should be hosted on your internal server).

Sounds like your server is missing the yahoo interop extension. You're using network edition? Look in /opt/zimbra/lib/ext/ and see if you have the zimbraiminterop extension (again, Network Edition only) installed.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 02:28 PM
Trained Alumni
 
Posts: 342
Default

An 'ls -l' on that directory returns this...

[root@zcs8 zimbraiminterop]# ls -l
total 1580
-r--r--r-- 1 root root 86015 Mar 21 15:21 cindy.jar
-r--r--r-- 1 root root 204536 Mar 21 15:21 jml-1.0b1.jar
-r--r--r-- 1 root root 682375 Mar 21 15:21 joscar-client.jar
-r--r--r-- 1 root root 22375 Mar 21 15:21 joscar-common.jar
-r--r--r-- 1 root root 531917 Mar 21 15:21 joscar-protocol.jar
-r--r--r-- 1 root root 64866 Mar 21 15:21 zimbraiminterop.jar
[root@zcs8 zimbraiminterop]#

Matt
Reply With Quote
  #6 (permalink)  
Old 04-01-2008, 02:39 PM
Zimbra Employee
 
Posts: 93
Default

Hmm. That looks correct. What are the exact error messages you're seeing in the logs?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 04-01-2008, 02:44 PM
Trained Alumni
 
Posts: 342
Default

Which logs have the info I'm looking for? The one I mentioned up in my first post didn't give me much info.

Matt
Reply With Quote
  #8 (permalink)  
Old 04-02-2008, 01:29 PM
Zimbra Employee
 
Posts: 93
Default

Actually I managed to track this one down. Looks like things get into a bad state if you enter an invalid password once. The client isn't unregistering the existing session (in a 'bad_auth' state) before it tries to reconnect -- and the server doesn't do the right thing at all (it should just drop the existing session and reconnect).

I've added bug 26634 to track this. The fix is checked in and will come out in 5.0.5.

Unfortunately for you, it looks like the account is going to remain stuck until you restart the server - I don't see any way to work around this from the Web Client.

If you're comfortable doing a little bit of scripting, you can manually unregister the account from interop by sending the proper SOAP request
Code:
<IMGatewayRegisterRequest service="yahoo" op="unreg" xmlns:ns0="urn:zimbraIM"/>
to the server. There's a perl script you can run, if you have the source installed somewhere:

Code:
cd <SOURCE_ROOT>/ZimbraServer/src/perl/soap
perl imGatewayRegister.pl -u USERNAME -op unreg -gw yahoo -h http(s)://YOUR_HOST -pw PASSWORD
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #9 (permalink)  
Old 04-02-2008, 02:46 PM
Trained Alumni
 
Posts: 342
Default

Thanks Tim for figuring that out. We're restarting later this week, so I'll see if I can get it working after that.

Matt
Reply With Quote
  #10 (permalink)  
Old 10-27-2009, 03:54 AM
Active Member
 
Posts: 40
Default

did restarting help?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.