Kong / Kong/insomnia

WebSocket requests not containing cookies or partial

Open
#8,412 2 comments 0 reactions 1 assignee Claimed by @ryan-willis View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

One issue I have always had with WebSockets has been requests not sending cookies, or sending only 1 cookie.

In my case, a backend hosted on 127.0.0.1, the cookie header looks like this:
```
cookie: null;
```

However, that very same backend hosted on an external domain the cookie header will only send 1 cookie, and forgets about the rest of the cookies that match the cookie path:
```
cookie: a=1;
```

In the browser both scenarios work fine and 2 cookies are always sent reliably.

### Actual Behavior

Sending `null` as a cookie value, or only sending 1 cookie, depending on the hostname.

### 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.

### Which sync method do you use?

- [ ] Git sync.
- [ ] Insomnia Cloud sync.
- [x] Local only

### Additional Information

_No response_

### Insomnia Version

10.3.1

### What operating system are you using?

Windows

### Operating System Version

Windows 11 Home Version - Windows Feature Experience Pack 1000.26100.48.0

### Installation method

insomnia.com

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.