# Troubleshooting HTTPS Secure Connection

The following table lists the most common issues and their possible solutions when configuring the secure HTTPS connection for an In-Sight device in In-Sight Vision Suite.

Status Message | Possible Solution
An error occurred when setting the security settings. Please check the Cognex Network Server credentials. | This error occurs when the user credentials you provided for the Cognex Network Server (CNS) are invalid. Do the following to troubleshoot the problem: Verify that the password you specified in the Cognex Network Server Password field of the Configure Secure Connection utility is correct. If you entered the correct password and the problem still persists, then open the Cognex Network Server Manager tool. Open the Service Control tab, and then either: Set a new password by specifying the current password and your new password, and then clicking the Set button. Or reset the password with the Reset button. Specify the new password in the Cognex Network Server Password field of the Configure Secure Connection utility again, and ensure that the correct password is used.
An error occurred when setting the security settings. Please check if Cognex Network Server is running on the provided address and that it is available. | This error occurs when the connection cannot be established to the specified CNS for some reason. Do the following to troubleshoot the problem: Open the Cognex Network Server Manager tool and verify that the CNS status is Running. If CNS is not running, click the Start button of the Service Control menu group. If it is running, ensure that the Host Name or IP address of the CNS specified in the Cognex Network Server Address property of the Configure Secure Connection utility matches the one listed in the Server Identification tab of the Cognex Network Server Manager tool. The below example shows the IP address being specified in the Configure Secure Connection utility. If CNS is running and the Configure Secure Connection utility has the correct settings, then ensure that the CNS, the configured In-Sight device and the PC running In-Sight Vision Suite are all on the same network domain.
Could not download Cognex Network Server Certificate Authority. Please check your internet connection. | This error also occurs when the connection cannot be established to the specified CNS for some reason. See the above procedure for troubleshooting steps.
Could not install Cognex Network Server Certificate Authority. | This error occurs if In-Sight Vision Suite cannot install the certificates specified in the Configure Secure Connection utility. In such cases, ensure that you have Administrator privileges on the PC running In-Sight Vision Suite.
Failed to read device security settings of <device>. | This error occurs if In-Sight Vision Suite cannot properly detect the security settings of your configured In-Sight device. Try to restart the device. If the problem persists after restart, contact Cognex support.
Restart failed. Please restart the In-Sight device manually to complete the configuration. | This error occurs if In-Sight Vision Suite cannot automatically restart the configured In-Sight device. Do the following to troubleshoot the problem: In case of using an In-Sight ViDi PC device, restart the In-Sight ViDi PC Manager process manually: Right-click on the In-Sight ViDi PC Manager icon on the tray, and click Open In-Sight ViDi PC Manager. Note: Opening the Manager requires elevated privileges, so ensure you have Administrator rights on the PC running In-Sight Vision Suite. Click the Stop button of the Status section of the In-Sight ViDi PC Manager dialog to stop the process. Once the process has stopped, click Start next to it to restart it. In case of an In-Sight vision system (such as a D900 series vision system), try to power cycle the system.
The device's certificate appears to be outdated or for a different server. | This error occurs if the HTTPs certificate on the In-Sight device is not based on the Certificate Authority (CA) of the CNS server deployed on the network. To solve this problem, update the certificate on the configured In-Sight device as described below: Enter the correct server information in the Configure Secure Connection utility. Then, click Save and Restart to apply the changes. This restarts the device and replaces the old certificate with the new one. If the problem still persists afterwards, turn off HTTPs mode by unchecking the Encrypt HMI communication checkbox, and then clicking Save and Restart. Once the device is restarted, switch the device back to HTTPS mode by checking the Encrypt HMI communication checkbox, and clicking Save and Restart.
The Secure Connection Settings are currently not available, due to unsupported network settings. In order to use this utility, please ensure that your device is not bound to localhost. | This error occurs in two cases: In-Sight Vision Suite is running an Emulator on your PC The Public Network Adapter setting of In-Sight ViDi PC is set to 127.0.0.1 (localhost). To resolve this error, make sure that In-Sight ViDi PC is in Production mode and that it is using a dedicated network adapter for communication. In case In-Sight Vision Suite is running an emulator on your PC, perform the following steps to disable it and launch In-Sight ViDi PC in Production mode: Right-click the In-Sight ViDi PC Manager icon on the tray, and click Open In-Sight ViDi PC Manager. Note: Opening the Manager requires elevated privileges, so ensure you have Administrator rights on the PC running In-Sight Vision Suite. Check the Status section of the dialog. If In-Sight Vision Suite is running an emulator on your PC, the dialog will indicate it with a status message. Also, the Stop button of the dialog will appear as Stop Emulator, as shown below. Click Stop Emulator to stop the emulation. Alternatively, open the Emulator Configuration dialog with the cogwheel button (Settings) > Emulator option, then click Stop there. Make sure that the Public Network Adapter property of the In-Sight ViDi PC Manager dialog is set to a network adapter other than 127.0.0.1 (localhost). Click Start to start the In-Sight ViDi PC service with the new settings in Production mode. In case In-Sight ViDi PC is running with its network adapter set to 127.0.0.1 (localhost), perform the following steps: Right-click the In-Sight ViDi PC Manager icon on the tray, and click Open In-Sight ViDi PC Manager. Note: Opening the Manager requires elevated privileges, so ensure you have Administrator rights on the PC running In-Sight Vision Suite. Check the Public Network Adapter setting. If it is set to 127.0.0.1 (Software Loopback Interface), as shown below, it must be changed to another network adapter installed in the PC. Click Stop to stop the In-Sight ViDi PC service, if it is currently running. Afterward, use the Public Network Adapter drop-down menu to change the value of the setting to the appropriate Ethernet adapter of the PC used to communicate on the network. Once you are done, click Start to restart the In-Sight ViDi PC service.
Invalid Certificate. The uploaded certificate is not valid for this device, because it is issued to <device_name>. Are you sure you want to continue? | This message appears if the secure connection is being configured with custom certificates, but the selected certificates are either signed for another device, or they are wildcard certificates. Although you can continue configuration in this case by clicking Yes in the dialog, Cognex recommends not to use certificates that are meant for another device. If you use wildcard certificates, you may continue configuration at your discretion.