Hi, I'm sorry for this newbie question.
I'm new in this field and hardly find any guidance.
I already reserve sandbox and can connect normaly with pidgin and already try several api like change state and subscription.
But when i try to connect with my apps it always return 'LogError connecting to 10.10.20.100:5222'.
Inner exception : "SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"
My code :
var client = new XmppClient
{
Username = "Agent002",
Password = "ciscopsdt",
XmppDomain = "hq-uccx.abc.inc",
HostnameResolver = new StaticNameResolver("abc.inc"),
Resource = "vNext",
CertificateValidator = new AlwaysAcceptCertificateValidator(),
};
client.XmppXElementStreamObserver.Where(el => el is Message).Subscribe(el =>
{
Console.WriteLine(el.ToString());
});
await client.ConnectAsync();
I'm using .net core enviroment and using Matrix vNext nuget library.
I can connect just fine with pidgin with the same credential.
Can someone help me ? thanks before