Yahoo "unidentified error" or no connection?

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
treblekicker
Harmless
Posts: 2
Joined: Fri Jul 18, 2014 2:33 pm

Re: Yahoo "unidentified error" or no connection?

Postby treblekicker » Fri Jul 18, 2014 3:21 pm

hi all, i registered just so i could make this single post. i've been following this issue since late spring and will gladly return to adium if/when the yahoo issue is fixed. in the meantime, i've been using trillian 1.4.52 with reasonable satisfaction:
https://itunes.apple.com/us/app/trillia ... 820?mt=12#
not as customizable as adium, but stable and connects without issue to all of the chat clients that i need.

trane
Harmless
Posts: 15
Joined: Thu Jun 12, 2008 12:08 pm

Re: Yahoo "unidentified error" or no connection?

Postby trane » Fri Jul 18, 2014 9:57 pm

:rolleyes:

Things have gone from bad to worse here. Not only does Adium 1.5.10 not connect to Yahoo! on my OS X 10.7.5 system, but now both ICQ and AIM logons fail.

The Yahoo! problem seems to also affect iChat on 10.7.5. It connects, but then immediately disconnects.

:\

Edited to add: No, the ICQ and AIM issues were caused by Kaspersky. D'oh.

jeannius
Muffin
Posts: 29
Joined: Thu Jun 18, 2009 2:27 pm

Re: Yahoo "unidentified error" or no connection?

Postby jeannius » Sun Jul 20, 2014 8:39 pm

are there any new plans to fix adium to work with yahoo? I see it is still 1.5.10, which is what I've had on my machine for months. I have yahoo messenger 3.0.2 working, but it asks me three times (and I keep pressing 'always allow') to access my keychain info! kind of annoying and would be nice to have it all in one again.

poetnerd
Harmless
Posts: 5
Joined: Fri Mar 21, 2014 3:01 pm

Re: Yahoo "unidentified error" or no connection?

Postby poetnerd » Mon Aug 11, 2014 3:55 pm

Here is information that should be useful to the Adium developers:

I have a MacOS 10.6.8 system that has not been able to sign onto YIM since April.
I have a MacOS 10.9.4 system that has no trouble at all signing onto YIM.
I have debug output from BOTH systems to compare! (See detail below.)

I see two differences:

1. The failed connection says it's using cypher c011 whereas the successful connection says it uses cypher c027.
2. The failed connection additionally sets "Strict-Transport-Security: max-age=86400" in the cookie.

I confess to not being at all familiar with the libPurple, and only familiar with the abstract concepts of secure
connection negotiation. The next step, I believe, is to find someone more familiar with SSL dialogs and ask if
the two cyphers are significant. I've seen other situations where a crypto protocol is old and gets denied.

10.6 fails as follows:

10:28:43: (Libpurple: proxy) Attempting connection to 98.139.21.169
10:28:43: (Libpurple: proxy) Connecting to login.yahoo.com:443 with no proxy
10:28:43: (Libpurple: proxy) Connection in progress
10:28:43: (Libpurple: proxy) Connecting to login.yahoo.com:443.
10:28:43: (Libpurple: proxy) Connected to login.yahoo.com:443.
10:28:43: (Libpurple: cdsa) Connecting
10:28:43: (Libpurple: cdsa) Connecting
10:28:43: (Libpurple: cdsa) Connecting
10:28:44: (Libpurple: cdsa) Connecting
10:28:44: (Libpurple: cdsa) SSL_connect: verifying certificate
10:28:44: (Libpurple: cdsa) SSL_connect complete
10:28:44: (Libpurple: util) request constructed
10:28:44: (Libpurple: cdsa) Using cipher c011.
10:28:44: (Libpurple: util) Response headers: 'HTTP/1.1 200 OK
Date: Mon, 11 Aug 2014 14:28:44 GMT
Set-Cookie: B=1gbfa1h9uhkos&b=3&s=ma; expires=Thu, 11-Aug-2016 14:28:44 GMT; path=/; domain=.yahoo.com
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
Cache-Control: private
Pragma: no-cache
Expires: Thu, 05 Jan 1995 22:00:00 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Age: 0
Transfer-Encoding: chunked
Connection: close
Strict-Transport-Security: max-age=86400
Server: ATS

'
10:28:44: (Libpurple: cdsa) receive failed (-9816): Unknown error: 0
10:28:44: (Libpurple: yahoo) Authentication: In yahoo_auth16_stage1_cb
10:28:44: (Libpurple: yahoo) Login Failed, unable to retrieve login url: Error reading from login.yahoo.com: Unknown error: 0
10:28:44: (Libpurple: connection) Connection error on 0x1179a6560 (reason: 0 description: Error reading from login.yahoo.com: Unknown error: 0)
10:28:44: Connection Disconnected: gc=179a6560 (Error reading from login.yahoo.com: Unknown error: 0)
10:28:44: <ESPurpleYahooAccount:4c08810 4>:baretoon accountConnectionReportDisconnect: Error reading from login.yahoo.com: Unknown error: 0
10:28:44: (Libpurple: account) Disconnecting account baretoon (0x117b97260)
10:28:44: (Libpurple: connection) Disconnecting connection 0x1179a6560
10:28:44: (Libpurple: yahoo) In yahoo_buddy_icon_upload_data_free()
10:28:44: Disconnected: gc=179a6560
10:28:44: <ESPurpleYahooAccount:4c08810 4>:baretoon: Telling the core we disconnected
10:28:44: -[AIContactObserverManager endListObjectNotificationsDelaysImmediately]:144:
10:28:44: <ESPurpleYahooAccount:4c08810 4>:baretoon: Disconnected ("Error reading from login.yahoo.com: Unknown error: 0"): Automatically reconnecting in 5.000000 seconds (0 attempts performed)
10:28:44: (Libpurple: connection) Destroying connection 0x1179a6560

------------------------------------------------------------------------------------------------------------------------

10.9 succeeds as follows:

11:15:49: (Libpurple: proxy) Attempting connection to 98.139.21.169
11:15:49: (Libpurple: proxy) Connecting to login.yahoo.com:443 with no proxy
11:15:49: (Libpurple: proxy) Connection in progress
11:15:49: (Libpurple: proxy) Connecting to login.yahoo.com:443.
11:15:49: (Libpurple: proxy) Connected to login.yahoo.com:443.
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) SSL_connect: verifying certificate
11:15:49: (Libpurple: cdsa) SSL_connect complete
11:15:49: (Libpurple: util) request constructed
11:15:49: (Libpurple: cdsa) Using cipher c027.
11:15:49: (Libpurple: util) Response headers: 'HTTP/1.1 200 OK
Date: Mon, 11 Aug 2014 15:15:36 GMT
Set-Cookie: B=aht13tt9uhngo&b=3&s=9c; expires=Thu, 11-Aug-2016 15:15:36 GMT; path=/; domain=.yahoo.com
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
Cache-Control: private
Pragma: no-cache
Expires: Thu, 05 Jan 1995 22:00:00 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Age: 0
Transfer-Encoding: chunked
Connection: close
Server: ATS

'
11:15:49: (Libpurple: yahoo) Authentication: In yahoo_auth16_stage1_cb
11:15:49: (Libpurple: util) requesting to fetch a URL
11:15:49: (Libpurple: util) Defaulting max download from https://login.yahoo.com/config/pwtoken_ ... Pdz.dqU3nf
ilBBC6WQ- to 524288
11:15:49: (Libpurple: dnsquery) Performing DNS lookup for login.yahoo.com
11:15:49: -[AdiumPurpleDnsRequest startLookup]:198: Performing DNS resolve: login.yahoo.com:443
11:15:49: DNS resolve complete for login.yahoo.com:443; 1 addresses returned
11:15:49: (Libpurple: dnsquery) IP resolved for login.yahoo.com
11:15:49: (Libpurple: proxy) Attempting connection to 98.139.21.169
11:15:49: (Libpurple: proxy) Connecting to login.yahoo.com:443 with no proxy
11:15:49: (Libpurple: proxy) Connection in progress
11:15:49: (Libpurple: proxy) Connecting to login.yahoo.com:443.
11:15:49: (Libpurple: proxy) Connected to login.yahoo.com:443.
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) Connecting
11:15:49: (Libpurple: cdsa) SSL_connect: verifying certificate
11:15:49: (Libpurple: cdsa) SSL_connect complete
11:15:49: (Libpurple: util) request constructed
11:15:49: (Libpurple: cdsa) Using cipher c027.
11:15:49: (Libpurple: util) Response headers: 'HTTP/1.1 200 OK
Date: Mon, 11 Aug 2014 15:15:36 GMT
Set-Cookie: B=bjslm859uhngo&b=3&s=di; expires=Thu, 11-Aug-2016 15:15:36 GMT; path=/; domain=.yahoo.com
Set-Cookie: Y=v=1&n=bh80ar5sdca22&l=chilll/o&p=m1s01o9413000500&r=92&lg=&intl=us&np=1; path=/; domain=.yahoo.com
Set-Cookie: T=z=Y4N6TBY.i6TBsTevgYOEI.oNjEzTgY2NDI2N083NDM2NzE0Mz&a=YAE&sk=DAAw9vzVYcbCZ2&ks=EAAYvZGDyBTQGwhZimahhkH4A--~E&d=c2wBTVRZME9RRXhNelV4TURnd016UXhNRFl6TkRJeU1nLS0BYQFZQUUBZwFMWUVKM1dBRTZFUUhQNkYyS0xUUEFBR0JZWQFzY2lkAXRUUkFDNDg0SlZpLjBFYWg1M1NsNDFzRTU2SS0BYWMBQUY1UXJkYi5uUkpvAW9rAVpXMC0BYWwBYmFyZXRvb24Bc2MBeW1zZ3IBenoBWTRONlRCZ1dBAXRpcAFZTVpGU0I-; path=/; domain=.yahoo.com
Set-Cookie: SSL=v=1&s=CZtK32MBzeoEJlgHmXMTYrso4CrGg0G_HG6TY3_UBG0J1Km6oAPwxR3e1okUwNsQ0d9LAYdvFc2aT_z4aqA.AQ--&kv=0; path=/; domain=.yahoo.com; secure; httponly
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
Cache-Control: private
Pragma: no-cache
Expires: Thu, 05 Jan 1995 22:00:00 GMT
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Age: 0
Transfer-Encoding: chunked
Connection: close
Server: ATS

'
11:15:49: (Libpurple: yahoo) Authentication: In yahoo_auth16_stage2
11:15:49: (Libpurple: yahoo) Got needed part of B cookie: bjslm859uhngo&b=3&s=di
11:15:49: (Libpurple: yahoo) Got auth16 stage 2 response code: 0
11:15:49: (Libpurple: yahoo) Authentication: In yahoo_auth16_stage3
11:15:49: (Libpurple: yahoo) yahoo status: 0

poetnerd
Harmless
Posts: 5
Joined: Fri Mar 21, 2014 3:01 pm

Re: Yahoo "unidentified error" or no connection?

Postby poetnerd » Mon Aug 11, 2014 4:56 pm

Addendum: I've dug a bit into the SSL crypto libraries available.
If we assume that the reported cyper ids, c0011 and c0027 are decimal numbers representing the SSL cypher suite chosen,
then cypher 011 is:
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA
and cypher 027 is:
SSL_DH_ANON_WITH_3DES_EDE_CBC_SHA

With more detail:
CipherSuite Key Exchange Cipher Hash
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA DH_DSS_EXPORT DES40_CBC SHA
SSL_DH_anon_WITH_3DES_EDE_CBC_SHA DH_anon 3DES_EDE_CBC SHA

This DOES look like, a choice of the more secure 3DES cipher in preference to the 40bit DES.
I'd bet that the differing Diffe-Helman Key exchange is also adoption of something more secure.

So there is evidence to support my theory.

Now the tricky bit: How do we tell Adium running under older versions of MacOS to use the more recent cypher?
I'll bet these are defaults that are NOT in libpurple, NOT in Adium source, but instead in configuration files
for how OpenSSL was integrated into MacOS.

sphynx
Latté
Posts: 75
Joined: Sun May 06, 2007 4:58 pm

Re: Yahoo "unidentified error" or no connection?

Postby sphynx » Tue Aug 12, 2014 9:41 pm

poetnerd wrote:Addendum: I've dug a bit into the SSL crypto libraries available.
If we assume that the reported cyper ids, c0011 and c0027 are decimal numbers representing the SSL cypher suite chosen,
then cypher 011 is:
SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA
and cypher 027 is:
SSL_DH_ANON_WITH_3DES_EDE_CBC_SHA


Those are hexadecimal, so they actually correspond to ECDHE-RSA-RC4-SHA and ECDHE-RSA-AES128-SHA256 respectively. I'm quite sure the cipher suite is irrelevant to the problem. As I described here, the problem is that Yahoo! is not following the TLS protocol by closing the connection before sending a close_notify packet. Why this is treated as an error on only some versions of OS X I'm not sure, perhaps related to the switch from OpenSSL to SecureTransport in CDSA.

annette143
Harmless
Posts: 1
Joined: Sat Aug 30, 2014 2:32 am

Re: Yahoo "unidentified error" or no connection?

Postby annette143 » Sat Aug 30, 2014 2:35 am

I'm not able to log into Yahoo with Adium. I hope it gets fixed at some point.
Can Adium copy what they have? send SMS to a cell phone from their chat app.

treblekicker
Harmless
Posts: 2
Joined: Fri Jul 18, 2014 2:33 pm

Re: Yahoo "unidentified error" or no connection?

Postby treblekicker » Fri Sep 12, 2014 3:46 pm

this looks promising:
https://trac.adium.im/ticket/16678

Changed 9 days ago by reanimus
I went ahead and made a small change in ssl-cdsa.c that seems to fix the issue Yahoo is experiencing. It seems to be fairly analogous to the fix that they've contributed over in the GNUTLS portion of libpurple (see ​https://hg.pidgin.im/pidgin/main/rev/42ba908c25c7).
I feel like this may have not-so-great security implications (as discussed in the other thread), but hey, Yahoo works again.

Last edited 9 days ago by reanimus (previous) (diff)
Changed 9 days ago by reanimus
Attachment adium-yim-cdsa-fix.diff​ added
CDSA premature/error abort fix

Changed 8 days ago by nullx8
Confirming .. Yahoo is back online via Singapore Servers
after adding the 2 Cases in ssl-cdsa.c
running Adium 1.5.11hg on OSX 10.10 (14A343f)
comment:58

Thorzdad
Latté
Posts: 56
Joined: Fri May 11, 2007 4:34 pm

Re: Yahoo "unidentified error" or no connection?

Postby Thorzdad » Fri Sep 12, 2014 4:18 pm

treblekicker wrote:this looks promising:
https://trac.adium.im/ticket/16678

Changed 9 days ago by reanimus
I went ahead and made a small change in ssl-cdsa.c that seems to fix the issue Yahoo is experiencing. It seems to be fairly analogous to the fix that they've contributed over in the GNUTLS portion of libpurple (see ​https://hg.pidgin.im/pidgin/main/rev/42ba908c25c7).
I feel like this may have not-so-great security implications (as discussed in the other thread), but hey, Yahoo works again.

Last edited 9 days ago by reanimus (previous) (diff)
Changed 9 days ago by reanimus
Attachment adium-yim-cdsa-fix.diff​ added
CDSA premature/error abort fix

Changed 8 days ago by nullx8
Confirming .. Yahoo is back online via Singapore Servers
after adding the 2 Cases in ssl-cdsa.c
running Adium 1.5.11hg on OSX 10.10 (14A343f)
comment:58

Here's hoping.
Here also hoping that it works for the older OSX versions, and not just on 10.10.

zmunkz
Muffin
Posts: 25
Joined: Tue Mar 18, 2014 4:25 pm

Re: Yahoo "unidentified error" or no connection?

Postby zmunkz » Mon Sep 15, 2014 2:14 pm

Any idea how long it takes for a submission like that to make it to a nightly build?

zmunkz
Muffin
Posts: 25
Joined: Tue Mar 18, 2014 4:25 pm

Re: Yahoo "unidentified error" or no connection?

Postby zmunkz » Sat Sep 27, 2014 3:38 pm

zmunkz wrote:Any idea how long it takes for a submission like that to make it to a nightly build?


Evidently, more than 2 weeks...

djharris
Harmless
Posts: 6
Joined: Thu Sep 17, 2009 2:42 am

Re: Yahoo "unidentified error" or no connection?

Postby djharris » Thu Oct 16, 2014 3:42 pm

I applied the patch in ticket 16678 to the source code from version 1.5.10 and then built it. Just copy Adium.app inside the zip file to your Applications folder. If you need this fix, this should tide you over until the next update. I verified I can log in to Yahoo and can see my buddy list but haven't verified sending messages and transferring files works yet. (But if you can connect it probably does) Enjoy!

https://www.dropbox.com/s/daeug5m82p20w05/adium-wyahoopatchto16678.zip?dl=0

EDIT: Works great! :) I'm glad everyone finds this useful. Just be aware that there is a slight security risk (i.e. could be vulnerable to man-in-the-middle attacks) however until (or if) Yahoo fixes things on their end, this is what we have to use to make it work.
Last edited by djharris on Fri Oct 31, 2014 1:35 am, edited 1 time in total.

poetnerd
Harmless
Posts: 5
Joined: Fri Mar 21, 2014 3:01 pm

Re: Yahoo "unidentified error" or no connection?

Postby poetnerd » Thu Oct 16, 2014 4:34 pm

I have taken and installed that test version.
For me, it successfully connects to YIM, and I am able to exchange messages.
(I too have not tried file transfer.)

Thank you! Thankyouthankyouthankyouthankyouthankyou!

zmunkz
Muffin
Posts: 25
Joined: Tue Mar 18, 2014 4:25 pm

Re: Yahoo "unidentified error" or no connection?

Postby zmunkz » Sun Oct 19, 2014 6:12 am

djharris wrote:I applied the patch in ticket 16678 to the source code from version 1.5.10 and then built it.


You, sir, are a god among men. It works! It finally works!!

johnkzin
Harmless
Posts: 21
Joined: Sat Jul 05, 2008 8:40 pm

Re: Yahoo "unidentified error" or no connection?

Postby johnkzin » Sun Oct 19, 2014 10:28 pm

I had been having adium problems with yahoo for the last 2 or 3 days (ever since I upgraded to Yosemite, I think).

That patched version fixed it.

malakas44
Harmless
Posts: 5
Joined: Mon Apr 28, 2014 12:56 am

Re: Yahoo "unidentified error" or no connection?

Postby malakas44 » Sun Oct 19, 2014 11:42 pm

Same here! The patch worked! Thanky kindly, sir!

haroon
Harmless
Posts: 14
Joined: Wed Nov 24, 2010 2:11 pm

Re: Yahoo "unidentified error" or no connection?

Postby haroon » Sat Nov 08, 2014 8:09 pm

While it's nice that a workaround has been created, it seems the Adium developers simply intend to remove Yahoo support in coming releases:

https://trac.adium.im/ticket/16678#comment:82

Maybe I'm reading that wrong.

trane
Harmless
Posts: 15
Joined: Thu Jun 12, 2008 12:08 pm

Re: Yahoo "unidentified error" or no connection?

Postby trane » Sat Nov 08, 2014 8:59 pm

haroon wrote:While it's nice that a workaround has been created, it seems the Adium developers simply intend to remove Yahoo support in coming releases:

https://trac.adium.im/ticket/16678#comment:82

Maybe I'm reading that wrong.


I didn't see anything that even hinted at the removal of Yahoo support. I only saw a patch/compile recipe for doing the job yourself.

haroon
Harmless
Posts: 14
Joined: Wed Nov 24, 2010 2:11 pm

Re: Yahoo "unidentified error" or no connection?

Postby haroon » Sat Nov 08, 2014 9:04 pm

You're not looking very close then.

comment:82 Changed 2 weeks ago by Robby
Keywords yahoo removed
Milestone set to Adium 1.5.11
Severity changed from normal to regression

trane
Harmless
Posts: 15
Joined: Thu Jun 12, 2008 12:08 pm

Re: Yahoo "unidentified error" or no connection?

Postby trane » Sat Nov 08, 2014 9:24 pm

haroon wrote:You're not looking very close then.

comment:82 Changed 2 weeks ago by Robby
Keywords yahoo removed
Milestone set to Adium 1.5.11
Severity changed from normal to regression


Regression: a return to a former or less developed state.

In programming terms, denotes a change in behaviour that 'regresses' from something functioning normally to something that (re)introduces a bug. In other words, it describes a bug that introduces a step backward in functionality. It has nothing to do with stripping out said functionality. It merely classifies the nature of the problem domain.

EDITED: D'oh. I just caught the 'yahoo removed'. Sorry. I got caught on the regression bit.

Well, this totally sucks. Seriously. Time to look at different options.


Return to “Adium”

Who is online

Users browsing this forum: No registered users