Kong / Kong/insomnia

Timeout still reached even redirect disabled

Open
#5,839 0 comments 0 reactions 0 assignees 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

Result from Postman with disabled "Automatically follow redirects" setting:

You are being
href="http://127.0.0.1?state=&code=46****d4&scope=read,activity:write,activity:read_all" redirected

### Actual Behavior

Error: Timeout was reached

### Reproduction Steps

POST request to https://www.strava.com/oauth/accept_application?client_id=6***7&redirect_uri=http%3A%2F%2F127.0.0.1&response_type=code&scope=activity%3Aread_all%2Cactivity%3Awrite

You need correct form-data and headers setted.

Also need set HTTP version to 1.1 otherwise I got Stream Error in the HTTP/2 framing layer

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

Seems that Don't follow redirects option doesn't work.

### Insomnia Version

2023.1.0

### What operating system are you using?

Windows

### Operating System Version

25300.1000

### Installation method

web

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the POST request to the Strava OAuth endpoint in Insomnia 2023.1.0 on Windows, with Automatically follow redirects disabled, correct form-data and headers, and HTTP/1.1 selected. Trace the redirect handling for this request and verify that disabling redirects returns the redirect response instead of timing out; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.