VPILOT Unhandled Exception Target machine refused

Hi all…
Ive just recently (after latest Vpilot update) been getting an unhandled exception on connecting.(win 11)
its a single PC…not a network… looks like its talking about the target machine refusing the connection (which is my local machine)
Ive checked previous threads on this and mic permissions are correct etc…
any idea what this specific odd error is being caused by…I cant use Vatsim as it happens on every connect…I can hit continue, but it keeps coming back…

Can you post the rest of the exception details?

Thanks for fast Reply Ross…fingers crossed you can solve it …!
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:8964
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

vPilot
Assembly Version: 3.9.0.0
Win32 Version: 3.9.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/vPilot.exe

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9181.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

Serilog
Assembly Version: 2.0.0.0
Win32 Version: 2.10.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Serilog.DLL

Serilog.Sinks.File
Assembly Version: 5.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Serilog.Sinks.File.DLL

Ninject
Assembly Version: 3.2.0.0
Win32 Version: 3.2.2.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Ninject.DLL

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Ninject.Extensions.Factory
Assembly Version: 3.2.0.0
Win32 Version: 3.2.1.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Ninject.Extensions.Factory.DLL

Castle.Core
Assembly Version: 3.2.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Castle.Core.DLL

bbv.Common.EventBroker
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/bbv.Common.EventBroker.DLL

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Castle.Core.dll

DynamicProxyGenAssembly2
Assembly Version: 0.0.0.0
Win32 Version: 3.2.0.2259
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Castle.Core.dll

abacus
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/abacus.DLL

RossCarlson.Vatsim.Vpilot.Plugins
Assembly Version: 3.9.0.0
Win32 Version: 3.9.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/RossCarlson.Vatsim.Vpilot.Plugins.DLL

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

protobuf-net
Assembly Version: 2.0.0.668
Win32 Version: 2.0.0.668
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/protobuf-net.DLL

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

CoreCompat.Portable.Licensing
Assembly Version: 1.2.0.0
Win32 Version: 1.2.14.52145
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/CoreCompat.Portable.Licensing.DLL

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/log4net.DLL

Microsoft.FlightSimulator.SimConnect
Assembly Version: 10.0.61259.0
Win32 Version: 10.0.61637.0 (FSX-Xpack.20070926-1421)
CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.FlightSimulator.SimConnect/10.0.61259.0__31bf3856ad364e35/Microsoft.FlightSimulator.SimConnect.dll

msvcm80
Assembly Version: 8.0.50727.9680
Win32 Version: 8.00.50727.9680
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9680_none_d090cb7c44278b28/msvcm80.dll

System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

SharpDX.DirectInput
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/SharpDX.DirectInput.DLL

SharpDX
Assembly Version: 2.6.3.0
Win32 Version: 2.6.3
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/SharpDX.DLL

GeoVR.Shared
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Shared.DLL

netstandard
Assembly Version: 2.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll

GeoVR.Client
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.DLL

GeoVR.Connection
Assembly Version: 2.2.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Connection.DLL

NLog
Assembly Version: 4.0.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: 13.0.1.25517
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Newtonsoft.Json.DLL

Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Net.Http.Formatting
Assembly Version: 5.2.7.0
Win32 Version: 5.2.61128.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/System.Net.Http.Formatting.DLL

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

SMDiagnostics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9236.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

NAudio.WinForms
Assembly Version: 2.0.1.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

NAudio.Core
Assembly Version: 2.0.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

NAudio.WinMM
Assembly Version: 2.0.1.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

NAudio.Wasapi
Assembly Version: 2.0.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9214.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

Concentus
Assembly Version: 1.1.6.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

System.Runtime
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll

System.Runtime.Extensions
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll

System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9032.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

bkiel-ingamepanel-lnm
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Plugins/bkiel-ingamepanel-lnm.dll

VSRPlugin
Assembly Version: 1.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/Plugins/VSRPlugin.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.9032.0 built by: NET481REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

RestSharp
Assembly Version: 106.12.0.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

System.IdentityModel.Tokens.Jwt
Assembly Version: 6.12.2.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

Microsoft.IdentityModel.Tokens
Assembly Version: 6.12.2.0
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/BP/AppData/Local/vPilot/GeoVR.Client.dll

System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9232.0 built by: NET481REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I think this error is coming from one of your vPilot plugins. I can’t tell which one because the stack trace appears to be cut off in the exception details.

I would try removing plugins one at a time until it goes away. I’d start with the VSR plugin as I’m guessing that’s the one, since it does try to make a socket connection AFAIK.

aaaah thats interesting… will try that with VSR and report back. ! …thanks Ross

Ok …Fixed… I only had 2 Vpilot plugins…VSR and Littlenavmap VR
it was Littlenavmap VR that which was causing the exception … removing it removes the issue !
It talks to Vatsim presumablyto show received messages it would seem ?
So presumably I should tell the author to have. a look at this thread .?
Thanks Ross…your prompt replies are really appreciated. !
https://flightsim.to/file/43086/little-navmap-vr-panel

It’s not connecting to VATSIM. My guess is that the plugin connects to LNM running on your local machine. Is LNM running?

negative…LNM wasnt running when I just tested it, though it was when I made my original report
does this not imply its connecting to Vatsim
" * Vatsim/vPilot integration with support of receiving messages (since v1.6.0)"

It receives the messages through vPilot, through the vPilot plugin. The plugin does not connect directly to VATSIM … only vPilot does.

Thanks Ross…understood…I have passed the info to the author… again thanks for your fast help !

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.