Kong / Kong/insomnia

Insomnia 12.0.0: Cannot login "Network failed" from proxy

Open
#9,367 4 comments 0 reactions 1 assignee Claimed by @yaoweiprc 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

I would expect, that I get logged in.

### Actual Behavior

I can not login.

### Reproduction Steps

1. Install Insomnia 12.0.0 -> OK
2. Open Insomunia and press the login button using your email address. -> OK
3. Perform authentication in your browser and press the launch button. -> OK
4. Insomunia is launched from the browser, but the login process does not complete. -> NG

I tried the following as an alternative procedure, but it failed.
1. Install Insomnia 12.0.0 -> OK
2. Open Insomunia and press the login button using your email address. -> OK
3. Press "Show login alternatives" button in insomunia. -> OK
4. Enter the displayed URL into your browser and log in. -> OK
5. Click the “Manually enter token” button in your browser and copy the token. ->OK
6. Enter the token copied from Insomunia and press the login button. -> NG
Insomunia is causing error.
"Network failed, please try agein. If the problem persists, check your network and proxy settings."

### 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.
- [ ] Local only

### Additional Information

The environment you are attempting to log in from is behind a proxy.

I set the following values for HTTP_PROXY and HTTPS_PROXY in Preferences > Proxy, but the login failed.
`http://username:password@proxy.com`

The following warning appeared in main.log when the login button was pressed.
`[warn] [analytics] Error sending segment event Error: [407] Proxy Authentication Required at Publisher.send (C:\Users\XXX\AppData\Local\insomnia\app-12.0.0\resources\app.asar\entry.main.min.js:34738:31`

Access to `api.insomnia.rest` and `updates.insomnia.rest` was successful from the insomnia scratchpad.

### Insomnia Version

12.0.0

### What operating system are you using?

Windows

### Operating System Version

Windows 11 24H2

### Installation method

download "Insomnia.Core-12.0.0.exe" from insomnia.rest

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