TReKiE / msnp-sharp

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

FindMembership Exception. #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Configured a Socks4 and WebProxy proxies on specified area of the code
2.Executed the MNSPSharp (Debug Mode)
3.Tried to Login
4.SyncronizeContacts Method
5.Findmembership request.

What is the expected output? What do you see instead?
As I said, i am behind proxies to test the environment (Im using tunnels to
connect). 
After the successful login, I expected the full contacts list. But i got
this exception

System.Net.WebException: Unable to connect to the remote server --->
System.Net.Sockets.SocketException: No connection could be made because the
target machine actively refused it 207.46.113.73:443.

I looked out for this IP Address and I see that this is ip of msn for
msn-contacts.

I know that maybe I am with a configuration problem. But i try to find some
useful information on internet and I didnt find a solution.

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
Im using the latest branch available on SVN (/trunk)

Original issue reported on code.google.com by h.kens...@gmail.com on 25 Nov 2009 at 9:14

GoogleCodeExporter commented 9 years ago
Have you set the Messenger.NSMessageHandler.ConnectivitySettings.WebProxy 
correctly? 
You have to implement a webproxy class for sock4 by yourself, we don't provide 
this 
support.

Original comment by freezing...@gmail.com on 2 Dec 2009 at 8:01

GoogleCodeExporter commented 9 years ago
Yes, i set the WebProxy too, i have a squid webproxy server running on my 
server too.
Here are my proxy-configs, maybe could help.

            // You can set proxy settings here
            // for example: messenger.ConnectivitySettings.ProxyHost = "10.0.0.2";
            messenger.ConnectivitySettings.ProxyType = ProxyType.Socks5;
            messenger.ConnectivitySettings.ProxyHost = "127.0.0.1";
            messenger.ConnectivitySettings.ProxyPort = 8049;

            System.Net.WebProxy webProxy = new System.Net.WebProxy("127.0.0.1", 8050);
            webProxy.BypassProxyOnLocal = true;
            webProxy.Credentials = new System.Net.NetworkCredential("[user]",
"[password]");

            messenger.ConnectivitySettings.WebProxy = webProxy;

Original comment by h.kens...@gmail.com on 9 Dec 2009 at 4:55

GoogleCodeExporter commented 9 years ago
Would you please provide me the call stack when the exception was thrown?

Original comment by freezing...@gmail.com on 12 Dec 2009 at 4:03

GoogleCodeExporter commented 9 years ago
Please check out the code in MSNPSHARP_30_STABLE and rebuild the library to see 
whether this issue still exist.

Original comment by freezing...@gmail.com on 18 Dec 2009 at 1:21

GoogleCodeExporter commented 9 years ago

Original comment by freezing...@gmail.com on 22 Dec 2009 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by hepha...@gmail.com on 20 Sep 2010 at 10:49