Jump to content

Unhandled Exception


Recommended Posts

woznicbh
Posted

I am receiving this error after just doing a fresh reinstall of MB3. I am not sure what is causing the web socket error.

 

Here are the logs.

-----------------------------------------------------------------------------------------

2014-03-24 22:15:56.7756 Info - HttpServer: Starting HttpListner
2014-03-24 22:15:56.7856 Info - App: Starting Alchemy web socket server on port 8945
2014-03-24 22:15:56.7856 Info - App: Alchemy Web Socket Server started
2014-03-24 22:15:57.7247 Error - Main: UnhandledException
Only one usage of each socket address (protocol/network address/port) is normally permitted
System.Net.Sockets.SocketException
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at System.Net.Sockets.TcpListener.Start(Int32 backlog)
  at System.Net.Sockets.TcpListener.Start()
  at Alchemy.TcpServer.Listen(Object state)
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
  at System.Threading.ThreadPoolWorkQueue.Dispatch()
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
 
2014-03-24 22:15:58.2367 Error - Main: UnhandledException
Only one usage of each socket address (protocol/network address/port) is normally permitted
System.Net.Sockets.SocketException
  at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
  at System.Net.Sockets.Socket.Bind(EndPoint localEP)
  at System.Net.Sockets.TcpListener.Start(Int32 backlog)
  at System.Net.Sockets.TcpListener.Start()
  at Alchemy.TcpServer.Listen(Object state)
  at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
  at System.Threading.ThreadPoolWorkQueue.Dispatch()
  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
 
2014-03-24 22:15:59.2907 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/System/Info
2014-03-24 22:16:00.0338 Debug - HttpServer: HTTP Response 200 to 127.0.0.1:50392. Response time: 2878.1646 ms
-------------------------------------------------------------
 
5330f99fd2db4_UnhandledException.jpg
woznicbh
Posted

It also has been stuck on 52.6% on the media scan for the last half hour and has stopped there everytime I have restarted the server to see if it would fix it after waiting. I had turned on logging but it seems like it just stops. I assume the above error probably has something to do with it.

 

5330fa54ef44b_Stuckon526.jpg

Posted

The first error can happen once in a while if you're stopping and starting the server repeatedly. Windows sometimes takes several minutes to release the ip bindings. Just give it a good five minutes or reboot the system. If it still persists, then something on your system is preventing us from getting access to the port. I've seen malware on some users systems cause this, I've also seen conflicts with other apps cause this.

 

As for the scan, stopping and restarting the server will make no difference. best thing to do is just be patient. if you think there's a problem, post a log.

Posted

If it is a fresh install, be sure the service and tray app aren't going at the same time.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...