Not logged in. · Lost password · Register
Forum: MatriX and XmppDotNet RSS
Avatar
Suvitruf #1
Member since Sep 2015 · 10 posts
Group memberships: Members
Show profile · Link to this post
Subject: Matrix.Net.SynchronousConnectException: ClientSocket Connection request failed.
Hello there.

Some of our users have this error:

Matrix.Net.SynchronousConnectException: ClientSocket Connection request failed. ---> Matrix.Net.SynchronousConnectException: ClientSocket Connection request failed. ---> System.ObjectDisposedException: The object was used after being disposed.
  at System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException () [0x00000] in <filename unknown>:0
  at System.Net.Sockets.Socket.EndConnect (IAsyncResult result) [0x00000] in <filename unknown>:0
  at Matrix.Net.ClientSocket.EndConnect (IAsyncResult ar) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  --- End of inner exception stack trace ---

What is this? And how can we handle it?
This post was edited on 2017-11-07, 16:21 by Alex.
Avatar
Alex #2
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
  • Which MatriX version are you running? Is it the latest build?
  • On which OS/platform are you running?
  • Do you have a test case to reproduce this?
Avatar
Suvitruf #3
Member since Sep 2015 · 10 posts
Group memberships: Members
Show profile · Link to this post
1) Where can I find it? I've imported Matrix.dll to our Unity3d project a year ago, don't remember the version.
2) Win 10.
3) No. This user is from Brazil. When I'm trying to login with his login+pas, I don't have such problem.
Avatar
Alex #4
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by Suvitruf:
1) Where can I find it? I've imported Matrix.dll to our Unity3d project a year ago, don't remember the version.

here on NuGet: https://www.nuget.org/profiles/agsoftware

Quote by Suvitruf:
3) No. This user is from Brazil. When I'm trying to login with his login+pas, I don't have such problem.

maybe its a specific issue on the users machine or networl.
Avatar
Suvitruf #5
Member since Sep 2015 · 10 posts
Group memberships: Members
Show profile · Link to this post
Quote by Alex:
Quote by Suvitruf:
1) Where can I find it? I've imported Matrix.dll to our Unity3d project a year ago, don't remember the version.

here on NuGet: https://www.nuget.org/profiles/agsoftware

Quote by Suvitruf:
3) No. This user is from Brazil. When I'm trying to login with his login+pas, I don't have such problem.

maybe its a specific issue on the users machine or networl.

Maybe, but how can we handle it? If we can handle it we can try to reconnect.
Avatar
Alex #6
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
first try updatading to the latest version. I have not seen such and exception in a while.
You should get an OnError event where you can handly and tryto reconnect.
Avatar
Suvitruf #7
Member since Sep 2015 · 10 posts
Group memberships: Members
Show profile · Link to this post
Is it possible only via NuGet? Can we download .dll manually?
Avatar
Alex #8
Member since Feb 2003 · 4449 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
NuGet is using a zip format. You can also manual download from NuGet and extract the dll yourself.
Avatar
Suvitruf #9
Member since Sep 2015 · 10 posts
Group memberships: Members
Show profile · Link to this post
Oh, right. I will try it, and will tell about results.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: