kythyria / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 0 forks source link

Login error with the DotMSNClient.exe #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I download the latest version of MSNPShpae, compile it with VS2008 and these is 
no error.
Then I run the DotMSNClient.exe , use the default account to login. Sometimes I 
can login, while most other times I was waiting for connecting. I use my owner 
account for test, the issue also exists. My network has no problam, because 
everytime I can login successfully with the microsoft's MSN.

I check the infomation showing in the TraceForm, as follows:

[2011-11-11 21:03:10Z] ContactService: FindMembership: System.Net.WebException: 
请求失败,错误信息为:
--
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><ServiceHeader 
xmlns="http://www.msn.com/webservices/AddressBook"><Version>16.02.2225.0001</Ver
sion><CacheKeyChanged>false</CacheKeyChanged><PreferredHostName>proxy-sn.contact
s.msn.com</PreferredHostName><SessionId>ABCH.443f9472-8335-4d29-97d6-002feb0b36b
e</SessionId></ServiceHeader></soap:Header><soap:Body><FindMembershipResponse 
xmlns="http://www.msn.com/webservices/AddressBook" 
/></soap:Body></soap:Envelope>
--.
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)

I don't understand where this error come from, who can help me to check it?
Thanks.

Original issue reported on code.google.com by Jason.Ya...@gmail.com on 11 Nov 2011 at 1:06

GoogleCodeExporter commented 9 years ago
Please check out the code from SVN, there is a bug we recently fixed but not 
yet release the code on download site.

Original comment by freezing...@gmail.com on 12 Nov 2011 at 1:33

GoogleCodeExporter commented 9 years ago
If the code in SVN works, please report back so we can close this issue.

Original comment by freezing...@gmail.com on 12 Nov 2011 at 1:34

GoogleCodeExporter commented 9 years ago
btw, please DO FOLLOW the issue format from the template we provided, or your 
information is insufficient and the problem is hard to reproduce.

Original comment by freezing...@gmail.com on 12 Nov 2011 at 1:46

GoogleCodeExporter commented 9 years ago
I'll update the code and try again soon. And I will report back after that.
Thanks for your reply.
Also, I'm sorry for not following the template. I will be care for that later.

Original comment by Jason.Ya...@gmail.com on 12 Nov 2011 at 1:23

GoogleCodeExporter commented 9 years ago
Just now I got the latest code and tested. It's all OK now. :)
Thanks again.
Now you can close this issue.

Original comment by Jason.Ya...@gmail.com on 12 Nov 2011 at 2:47

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 12 Nov 2011 at 5:45

GoogleCodeExporter commented 9 years ago
my project was based on v3.20 r2471. Recently I found the program cannot work: 
when it signs in, the traceform reports:

在 
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMess
age message, WebResponse response, Stream responseStream, Boolean asyncCall)
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
[2011-11-18 20:59:53Z] ContactService: System.Net.WebException: 
请求失败,错误信息为:
--
<?xml version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><ServiceHeader 
xmlns="http://www.msn.com/webservices/AddressBook"><Version>16.02.2225.0001</Ver
sion><CacheKey>14r2;BFHCpna7dvjM/EVxhfmYHqDHhga4eZ3cgN/sdUCbZ/IT9SAvPWzoMBlwBPO6
Kj4HIkaYXtbLx9UULPpdnbXJxCZ7N45vHiZkOLxJZrF5cPNg4jdaGKcNYeyYXRqwLrkTRuNOFxg5f8/Y
ivw1vzbQT3UO7enc2HoFWI5EgFAd63E=</CacheKey><CacheKeyChanged>true</CacheKeyChange
d><PreferredHostName>proxy-sn.contacts.msn.com</PreferredHostName><SessionId>ABC
H.9347a052-2461-42b8-9d2d-d18317ecf788</SessionId></ServiceHeader></soap:Header>
<soap:Body><FindMembershipResponse 
xmlns="http://www.msn.com/webservices/AddressBook" 
/></soap:Body></soap:Envelope>
--.
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   在 System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)

Can anybody tell me why?

Original comment by langfang...@gmail.com on 18 Nov 2011 at 1:05

GoogleCodeExporter commented 9 years ago
I've got this error too. If you found a solution, please report it :) I've been 
testing with several accounts. Once it worked, but now it doesn't anymore...:(

Original comment by worldrac...@googlemail.com on 18 Nov 2011 at 11:21

GoogleCodeExporter commented 9 years ago
I've got a dirty solution so that you can go further with developing your 
project:

Just delete the *.mcl files within your binary folder. Then you can login 
normally.

Original comment by worldrac...@googlemail.com on 18 Nov 2011 at 11:50

GoogleCodeExporter commented 9 years ago
Thank you man. I'm using the 'dirty solution' you told me to continue 
developing my project.  :-)

Original comment by langfang...@gmail.com on 1 Dec 2011 at 2:53

GoogleCodeExporter commented 9 years ago
Please checkout the latest 3.2.x stable, this issue already been fixed, no need 
to use the dirty solution.

Original comment by freezing...@gmail.com on 2 Dec 2011 at 12:03