Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotmail authentication not working? #42

Open
sonereker opened this issue Feb 2, 2012 · 19 comments
Open

Hotmail authentication not working? #42

sonereker opened this issue Feb 2, 2012 · 19 comments

Comments

@sonereker
Copy link

Anyone else having problems with Hotmail authentication? Not accepting username/password.

@bryanwoods
Copy link

I'm seeing this issue as well (getting a protocol error). Haven't had the chance to dig much into the code, but happy to help if nobody's already working on this.

@jockee
Copy link

jockee commented Feb 11, 2012

Having the same issue.

@flgm-repo
Copy link

I just found out that, I got this error on my logs:

Hotmail has changed its protocols, please upgrade this library first. If that does not work, report this error at http://rubyforge. org/forum/?group_id=2693

@deneuxa
Copy link

deneuxa commented Feb 19, 2012

Get the same error ("Hotmail has changed its protocols...")
please help ! don't know nothing about hotmail's protocol !!

@liangzan
Copy link

hi i've patched the gem
https://github.com/liangzan/contacts
its working for my own code so far. let me know at the repo if there're problems

@flgm-repo
Copy link

Hi Liangzan, is your fixed ready for production? Is there anything with yahoo that I think is broken too, how can I help?

@liangzan
Copy link

my fix has all tests passing. the tests are ran against real email accounts. i haven't seen anything wrong with yahoo so far. feel free to raise an issue on my repo. for a working ruby 1.8 version, you can check out https://github.com/deneuxa/contacts
mine is meant only for ruby 1.9

@flgm-repo
Copy link

Excellent, let me try that one then!

@deneuxa
Copy link

deneuxa commented Feb 23, 2012

Feel free to make any improvment as I'm pretty newbie :)

@flgm-repo
Copy link

Hi there, should I install the gem like
gem install liangzan-contacts
for 1.8 ?

@deneuxa
Copy link

deneuxa commented Feb 23, 2012

nope: do that gem 'deneuxa-contacts', '~>1.2.10', :require => 'contacts'
just updated the readme now...

@flgm-repo
Copy link

Perfect, installing now, let me check! thanks again

@flgm-repo
Copy link

Hi guys! the gem is fixed and it works, unfortunately I don't why with my yahoo account it says that username and password don't match, but in my local works correctly, has anyone faced that?

@flgm-repo
Copy link

c = Contacts.new('yahoo','[email protected]','mypassword')
Contacts::AuthenticationError: Username and password do not match
from /usr/local/lib/ruby/gems/1.8/gems/deneuxa-contacts-1.2.10/lib/contacts/yahoo.rb:18:in real_connect' from /usr/local/lib/ruby/gems/1.8/gems/deneuxa-contacts-1.2.10/lib/contacts/base.rb:25:inconnect'
from /usr/local/lib/ruby/gems/1.8/gems/deneuxa-contacts-1.2.10/lib/contacts/base.rb:20:in initialize' from /usr/local/lib/ruby/gems/1.8/gems/deneuxa-contacts-1.2.10/lib/contacts/base.rb:206:innew'
from /usr/local/lib/ruby/gems/1.8/gems/deneuxa-contacts-1.2.10/lib/contacts/base.rb:206:in `new'
from (irb):6

@flgm-repo
Copy link

But in my local works:

c = Contacts.new('yahoo','[email protected]','mypassword')
=> #<Contacts::Yahoo:0x1078a2520 @captcha_response=nil, @cookies="SSL=v=1&s=g6vbMv5ReLz2IhxeIBoqDRaL72ZFkfx6fzCOaBmWi.CCinwgSszYWu8WhcekyOcvJ52YwqUA2_UewOknQJ9okg--&kv=0; PH=fn=wC4Nt6oej.C4ACCgqNRYUp3.fTr2ew--&l=en-US; B=24v6ge57kfpb9&b=4&d=ZrJ4M6ZpYFS3V_ShAWZp3Y2Ll8dwQserp6o-&s=p5&i=MlOhmnVapPNK6gaBb16P; C=mg=1; Y=v=1&n=cc0vqpl02ncr7&l=bei2kcfb4/o&p=m2mvvca113000h00&ig=0a91i&iz=V7L1C2&r=75&lg=en-US&intl=us&np=1; F=a=WRfkFfoMvTeF2vTXjL6K4ySmshFY_eKXH9YDjmzFQrS9EYFIIXmmkk2Z6yjNHtSXfMbGi_E-&b=Kble; T=z=pV.RPBpplWPBiy185OUFCkiNjUyTwZPME9OMTNPNDQ-&a=YAE&sk=DAAYx2L.pzSi7U&ks=EAAgUr_gB2chrDmg5gQyEntCw--~E&d=c2wBTVRJMU9BRTROemc1TmpRNE16TS0BYQFZQUUBaWcBeGZnVUJBAWcBUzNKQVhJN0taN1RTNlNETDdKV1Q2QzZRU00Bc2NpZAFycEFXczdlM2dNNUcuRWZha3JSNFMuX1lmc0EtAW9rAVpXMC0BdGlwATlXNnVFQgF6egFwVi5SUEJBN0U-", @connections={2148444580=>{"login.yahoo.com:443"=>#<Net::HTTP login.yahoo.com:443 open=true>}}, @captcha_token=nil, @attempt=1, @login="[email protected]", @password="mypassword">

@deneuxa
Copy link

deneuxa commented Feb 28, 2012

It's working for me with yahoo on both: prod and local

@liangzan
Copy link

me too

@flgm-repo
Copy link

I created a new yahoo account and I was able to see my contacts, I'm getting errors from other users specially with yahoo, I don't know if yahoo blocks or have some security enable when trying several times with wrong credentials.

@khanhnguyen
Copy link
Contributor

It's work perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants