delthas / JavaSkype

A lightweight, comprehensive Java API for Skype using MSNP24
MIT License
72 stars 28 forks source link

Only one day account available - unable to connect #44

Open w-tomaszewski opened 6 years ago

w-tomaszewski commented 6 years ago

Hi I have an issue with using JavaSkype. When I create new account Skypebot works good. But after one - two days I am unable to use skype.connect() method. The code is stuck on this method and the only way to avoid it is to create a new account and use connect for a new account. I only used connect method and I didn't use disconnect method. It is possible if I will not use disconnect method my bot account will be blocked?

Regards, Wojciech

ChmilevFA commented 6 years ago

@rissekwow I have the same issue. Did you solve it?

haroflow commented 6 years ago

@rissekwow @ChmilevFA I don't know if it's the same problem, but you mentioned the code is stuck on connect(), and we also experienced this.

Could you please test again with the changes on #46 and see if it helps? We've been succesfully (until now) using it with our accounts. This change to NotifConnector in particular should solve the infinite loop: https://github.com/delthas/JavaSkype/pull/46/commits/bd951a1180b1e5690de6e1bf8462b81deca51830#diff-648855617f289116bbea49858961ee7fR703 authenticated = false;

The debug logs could be helpful as well, if you could post them here.

SteveyO commented 6 years ago

Hi all, Same issue here. Yesterday I used JavaSkype for this first time. I created a new Microsoft/Skype account and the skype.connect() method connected to my new account (in approx 5 seconds) and retrieved my 2 contacts. Worked perfectly.

Fast forward one day and now as previously reported it just hangs on the connect() method.

I have enabled debugging and attached my log file. (My username has been replaced by xxxxxxx and my contact names changed, otherwise it is as is). ps. Is my decrypted password here? (In which case I should change it).

javaskypelog.txt

Thanks/Steve

Edit Fast forward one more day and it seems to work again (no code changes). Not entirely sure what is happening. Will keep checking!