---
title: "Fix Realtime API reconnection error for Vision"
slug: "fix-realtime-api-reconnection-error-for-vision"
updated: 2022-09-30T16:57:32Z
published: 2022-09-30T16:57:32Z
canonical: "support.tulip.co/fix-realtime-api-reconnection-error-for-vision"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Fix Realtime API reconnection error for Vision

## Overview

*Fix the 'certificate has expired' problem on Player preventing Vision from sending video feed or action events.*

          NOTE

          

This article has been deprecated in favor of the programmatic fix that went out in Player 1.3.2.

Tulip Vision internally makes a persistent secure connection to send and receive configurations between the Player PC running Vision and the cloud Tulip Instance. Vision was using an expired certificate which has been updated to use a newer certificate by the same [trusted certificate authority](https://letsencrypt.org/certificates/) as of September 30, 2021. Although this has been updated on the Tulip cloud side, some Tulip Players running on Windows machines might encounter a problem connecting to the cloud using the newer certificates.

You might see a warning in your Player logs similar to:

```
Realtime API reconnection error: "Error: Failed to retrieve WebSocket URL for connection "models-xxxxx" due to REST API error with message "request to https://<your-instance>/api/v2/ws/connect/models failed, reason: certificate has expired"
```

This is likely caused due to the conflicting expired certificate still present in the Windows Certificate Store on your computer.

## Prerequisites

- When performing this procedure you must be logged into the machine as an Administrator or have "Run as Administrator" permission enabled for your user.

## Solution Procedure

In order to rectify the certificate error you can follow these steps:

1. Go to this website [https://valid-isrgrootx1.letsencrypt.org/](https://valid-isrgrootx1.letsencrypt.org/) using any browser (Chrome preferred) on your Windows machine. This auto-prompts Windows to add the certificate (if not previously present) to the certificate store.
2. Use the Windows + R keys to open up the Run command box. Type in "mmc" to open up the Microsoft Management Console.

          NOTE

          

If you are not logged in on an Administrator account you will need to run "mmc" as Administrator (this can be achieved by holding Shift+Ctrl when clicking "OK" in the Run dialog).

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397189546.png)

1. Click on "File", then choose the "Add/Remove Snap-ins" option. This opens up another dialog box.

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397189840.png)

1. Choose "Certificates" then click on "Add". Choose "Computer Account" then "Local Computer" in the subsequent dialog boxes. Your dialog box would now show Certificates added to the "Selected Snap ins".

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397190223.png)

1. Click on OK and close the above dialog box. The main dialog box should now show "Certificates".

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397190498.png)

1. Double click on Certificates, choose "Trusted Root Certification Authorities", then double click on "Certificates".

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397190771.png)

1. Click on "DST Root CA X3", in the right panel under DST Root CA X3, expand the "More Options" menu and choose "Delete" to delete this expired certificate.

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Fixing%20%27Realtime%20API%20reconnection%20error%20-%20certificate%20has%20expired%27%20for%20Vision_397191098.png)

1. Restart your computer and check Player again. The error should now have subsided and you should be able to use Vision again.

If the problem persists, please contact us at [support.tulip.co](https://support.tulip.co).

## Further Reading

- [How to use the Tulip Player](https://support.tulip.co/docs/how-to-use-the-tulip-player)
- [How to Troubleshoot the Tulip Player](https://support.tulip.co/docs/how-to-troubleshoot-the-tulip-player)

**Tulip Player**

**Tulip Player** is the Windows/Mac executable program where users can run Tulip apps. Tulip player allows you to create a more seamless user experience by removing the need for a web browser, and allows increased IT controls.

**Tulip Vision**

**Vision**is a simple no-code tool to use cameras for visual inspection, process adherence, equipment, personnel, and material tracking on the shop floor.

**Tulip Instance**

A Tulip customer account. Your instance can be found at https://[your-instance].tulip.co

When *your instance*is referenced, we are just talking about your Tulip account on an organization-level, not user-level.
