Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery mechanism causes crashes #90

Open
kelsos opened this issue Jul 24, 2021 · 0 comments
Open

Discovery mechanism causes crashes #90

kelsos opened this issue Jul 24, 2021 · 0 comments
Assignees
Milestone

Comments

@kelsos
Copy link
Collaborator

kelsos commented Jul 24, 2021

Description

There is a crash when the application attempts to get the plugin address using the discovery mechanism.

Information

Musicbee Remote: v1.5.0
Plugin version: 1.4.1.0

MusicBee v3.4.7805.33439D (Win10.0)

Stacktrace

System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.EndReceiveFrom(IAsyncResult asyncResult, EndPoint& endPoint)
   at System.Net.Sockets.UdpClient.EndReceive(IAsyncResult asyncResult, IPEndPoint& remoteEP)
   at MusicBeePlugin.AndroidRemote.Networking.ServiceDiscovery.OnDataReceived(IAsyncResult ar)
   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
   at System.Net.ContextAwareResult.CompleteCallback(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
   at System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
   at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
@kelsos kelsos added this to the 1.4.2 milestone Jul 24, 2021
@kelsos kelsos self-assigned this Jul 24, 2021
@kelsos kelsos changed the title Discover mechanism causes crashs Discovery mechanism causes crashes Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant