Subject: Getting ClientSocket Connection request failed from sample code I downloaded
I got your latest demo code, the code go the OnError method with an Errror:
ClientSocket Connection request failed
what am I doing wrong?
the debug trace shows this:
[78476] InitSideBySide failed create an activation context. Error: 1814
[76588] Client Verbose: 0 :
[76588] Common model for csharp intellisense-members is cached.
[76588] Client Verbose: 0 :
[76588] Attempting to get team models for csharp intellisense-members at C:\Work\JabberMatrixSDKNET2\MatriX\samples\csharp\SendMessage\.
[76588] Client Verbose: 0 :
[76588] The path C:\Work\JabberMatrixSDKNET2\MatriX\samples\csharp\SendMessage\ does not belong to a Git repository, and cannot have any team models attached to it.
[76588] Client Verbose: 0 :
[76588] Common model for csharp intellisense-arguments is cached.
[24924] InitSideBySide failed create an activation context. Error: 1814
ClientSocket Connection request failed
what am I doing wrong?
- using System;
- using Matrix.Xmpp;
- using Matrix.Xmpp.Client;
- namespace SendMessage
- {
- class Program
- {
- static void Main(string[] args)
- {
- {
- XmppDomain = "traffictech.lan",
- Username = "masjab",
- Password = "SomePassword",
- Port = 1080
- };
- xmppClient.OnRosterEnd += delegate
- {
- {
- To = "perron@traffictech.lan",
- Type = MessageType.chat,
- Body = "Hello World"
- });
- };
- xmppClient.Open();
- Console.WriteLine("Press return key to exit the application");
- Console.ReadLine();
- xmppClient.Close();
- void xmppClient_OnError(object sender, Matrix.ExceptionEventArgs e)
- {
- Console.WriteLine("xmppClient_OnError Fired " + e.Exception.ToString());
- }
- }
- }
- }
the debug trace shows this:
[78476] InitSideBySide failed create an activation context. Error: 1814
[76588] Client Verbose: 0 :
[76588] Common model for csharp intellisense-members is cached.
[76588] Client Verbose: 0 :
[76588] Attempting to get team models for csharp intellisense-members at C:\Work\JabberMatrixSDKNET2\MatriX\samples\csharp\SendMessage\.
[76588] Client Verbose: 0 :
[76588] The path C:\Work\JabberMatrixSDKNET2\MatriX\samples\csharp\SendMessage\ does not belong to a Git repository, and cannot have any team models attached to it.
[76588] Client Verbose: 0 :
[76588] Common model for csharp intellisense-arguments is cached.
[24924] InitSideBySide failed create an activation context. Error: 1814
The author has attached one file to this post:
![](unb_lib/designs/modern/img/attach.png)
You have no permission to open this file.