Unhandled Exception

Is Virtual Radar Server not behaving itself? If so then please report it here.
dcj
Posts: 1
Joined: Wed Dec 27, 2017 6:25 pm

Unhandled Exception

Postby dcj » Wed Dec 27, 2017 7:02 pm

Hello,

I am running VRS 2.4 on an Ubuntu 16.04 VM, using Mono.
I followed the installation directions on the website and it was very straightforward.
I get my data feed from a uAvionix pingStation.

https://www.uavionix.com/products/pingstation/

Mostly VRS is working great.
Occasionally it seems to hang.
A couple of times I have seen unhandled exceptions, here is the last one I saw:

Code: Select all

Starting web server
Starting rebroadcast servers
Initialising UPnP manager
Initialising online lookup manager
Starting plugins
Local address: http://127.0.0.1:8080/VirtualRadar
Network address: http://192.168.128.189:8080/VirtualRadar
Press Q to quit
_wapi_connect: error looking up socket handle 0xb
Unhandled Exception Caught
VirtualRadar.Interface.WebServer.RequestException: Exception {System.NullReferenceException: Object reference not set to an instance of an object} caught during request for {/VirtualRadar/bundle-4d557563-f232-4173-a0ff-dc96518d5db3.js} - see inner exception for details
No stack trace
-- INNER EXCEPTION --
System.NullReferenceException: Object reference not set to an instance of an object
 at VirtualRadar.WebServer.WebServer.GetContextHandler (IAsyncResult asyncResult) <0x41525830 + 0x007a2> in <filename unknown>:0


Any ideas about what causes this, and is there any way to recover automatically?

One idea I had was to run VRS under a process monitor (e.g. Monit)
What test could I run against the VRS process to see if it is running or not?
Can it be configured to write a PID file that can be tested, OR, is there a URL I can access that would give me a simple heath check?
If I can configure Monit so it can determine if the VRS process is running or not, then I can get Monit to restart VRS in case of failure....

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest