Coder Social home page Coder Social logo

客户端报错 about sharplink HOT 1 CLOSED

randoms avatar randoms commented on August 19, 2024
客户端报错

from sharplink.

Comments (1)

randoms avatar randoms commented on August 19, 2024
System.AggregateException: One or more errors occurred. ---> System.ObjectDisposedException: Safe handle has been closed
  at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x00025] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at (wrapper managed-to-native) SharpTox.Core.ToxFunctions:SelfGetConnectionStatus (SharpTox.Core.ToxHandle)
  at SharpTox.Core.Tox.get_IsConnected () [0x00007] in <f9bb004d935d44b9abd96d8d6354af21>:0 
  at Skynet.Base.Skynet.sendMsg (SharpTox.Core.ToxId toxid, System.Byte[] msg) [0x00068] in <e193e2bea4174220b851be7b719cdd78>:0 
  at Skynet.Base.Skynet.sendRequest (SharpTox.Core.ToxId toxid, Skynet.Models.ToxRequest req, System.Boolean& status) [0x00166] in <e193e2bea4174220b851be7b719cdd78>:0 
  at SharpLink.LinkClient+<HandShake>c__async0.MoveNext () [0x000fc] in <e33687cda7a24ad5915a4db594b1d330>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at SharpLink.LinkClient.Connect (Skynet.Base.Skynet mSkynet, System.String targetToxId, System.Net.IPAddress ip, System.Int32 port, System.Action`1[T] msgHandler, System.Action closeHandler, System.Action`1[T] errorHander) [0x0002f] in <e33687cda7a24ad5915a4db594b1d330>:0 
  at SharpLink.Program+<Main>c__AnonStorey0+<Main>c__AnonStorey1.<>m__0 () [0x000a0] in <e33687cda7a24ad5915a4db594b1d330>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Threading.Tasks.Task.Execute () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.ObjectDisposedException: Safe handle has been closed
  at System.Runtime.InteropServices.SafeHandle.DangerousAddRef (System.Boolean& success) [0x00025] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at (wrapper managed-to-native) SharpTox.Core.ToxFunctions:SelfGetConnectionStatus (SharpTox.Core.ToxHandle)
  at SharpTox.Core.Tox.get_IsConnected () [0x00007] in <f9bb004d935d44b9abd96d8d6354af21>:0 
  at Skynet.Base.Skynet.sendMsg (SharpTox.Core.ToxId toxid, System.Byte[] msg) [0x00068] in <e193e2bea4174220b851be7b719cdd78>:0 
  at Skynet.Base.Skynet.sendRequest (SharpTox.Core.ToxId toxid, Skynet.Models.ToxRequest req, System.Boolean& status) [0x00166] in <e193e2bea4174220b851be7b719cdd78>:0 
  at SharpLink.LinkClient+<HandShake>c__async0.MoveNext () [0x000fc] in <e33687cda7a24ad5915a4db594b1d330>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at SharpLink.LinkClient.Connect (Skynet.Base.Skynet mSkynet, System.String targetToxId, System.Net.IPAddress ip, System.Int32 port, System.Action`1[T] msgHandler, System.Action closeHandler, System.Action`1[T] errorHander) [0x0002f] in <e33687cda7a24ad5915a4db594b1d330>:0 
  at SharpLink.Program+<Main>c__AnonStorey0+<Main>c__AnonStorey1.<>m__0 () [0x000a0] in <e33687cda7a24ad5915a4db594b1d330>:0 
  at System.Threading.Tasks.Task.InnerInvoke () [0x00012] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 
  at System.Threading.Tasks.Task.Execute () [0x00016] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0 <---

from sharplink.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.