Kong / Kong/insomnia

WebSocket Requests disappearing in Insomnia Sync

Open
#5,228 0 comments 0 reactions 0 assignees View on GitHub
B-bug S-verified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

**This is a pre-emptive Issue made by the Insomnia team to document a known edge case with Team Sync**

If you are using Team Sync, you may experience synced Websocket requests mysteriously disappearing from Team Sync collections between syncing updates between different members of a team. This is because WebSocket support is only available on Insomnia versions >= 2022.6.0. If there are people on your Insomnia team who are not using an Insomnia version compatible with WebSocket Support, then the pull of a synced WebSocket Request will not be registered in their local Insomnia data system. Thus, when they edit the collection and push it up via sync, this will rewrite the collection to not have the previously synced WebSocket request.

This issue also exists for gRPC request

### Actual Behavior

**To avoid this behavior**, we (the Insomnia Team) recommend that all members of a team using Sync be on the latest version of Insomnia. You can do so by going into your Insomnia preferences page and in the Software updates section clicking on "Check now"

We recommend setting your Software Update settings to "Automatically download and install updates"

Screen Shot 2022-09-27 at 8 13 43 AM

### Reproduction Steps

_No response_

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2022.5.5

### What operating system are you using?

macOS

### Operating System Version

MacOS Monterrey

### Installation method

Download via Insomnia.rest

### Last Known Working Insomnia version

2022.6.0

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by examining Team Sync handling of WebSocket and gRPC requests across client versions; done means synced requests remain present when an older client edits and pushes a collection.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, typescript
Domain
cloud, distributed-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.