Error -307673: Another VeriStand Gateway Already Is Connected to the Execution Host

Updated May 1, 2023

Reported In

Software

  • VeriStand

Issue Details

  • When I deploy my VeriStand project, I see Error -307673.
  • When I use the run project button in the VeriStand project window, my project fails to run with the following error.
 
The VeriStand Gateway encountered an error while deploying the System Definition file.
Details: Error -307673 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi

Possible reason(s): NI VeriStand: Another VeriStand Gateway already is connected to the execution host. Only one VeriStand Gateway can be connected to an execution host at a time.


Error Gateway Snap.png

Solution

This error comes about because the target is already running a system definition file and connection to another VeriStand session.
To resolve, you could look at: 
  1. In the project explorer, select Operate and Manage Targets to identify the current state of the target you are deploying to.
  2. Ensure no other hosts are connected to the target or running applications already
  3. Ensure you have not disconnected from the target instead of an undeploy. Try Connect to join the current VeriStand execution.
  4. Use the Deploy feature instead to force deploy the system definition file and start the project. Use this instead of run.
  5. Power cycling the target will force a restart of the VeriStand engine or in VeriStand 2020 onwards you can use the Restart VeriStand Engine button

If the above do not resolve the problem, check your network settings and configuration to ensure you do not have network related problems, for example:
  • Multiple devices on the same IP as the target.
  • Firewalls blocking the connection or filtering the WebDAV functionality that VeriStand uses to deploy.
  • The IP used is not the default for any network equipment like a router or switch.