You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched existing issues and found nothing related to my issue.
Describe the bug
I am requesting a site that is excluded from the Proxy by setting the "Proxy Bypass" in the settings.
That site then sends a 302 Found-Redirect to a URL that needs a Proxy.
The automatic redirect from Bruno does not use a Proxy for the redirected Request and results in a timeout.
The Proxy is set to an invalid URL "invalid-proxy:1234" with bypassProxy to "github.com"
I am expecting this Test to fail, since the redirected URL should use the invalid Proxy.
The test will pass which shows, that the Proxy is not used for the redirected Request to objects.githubusercontent.com
.bru file to reproduce the bug
Test-Case:
meta {
name: TestRedirect
type: http
seq: 1
}
get {
url: https://github.com/usebruno/bruno/releases/download/v1.38.1/latest.yml
body: none
auth: none
}
fyi: I used a workaround to get this working for me in my reallife scenario.
The first requests uses req.setMaxRedirects(0); to fetch the URL from the header "location" and stores it in a variable.
Then there is a second request that uses the URL previously stored in the variable.
Now bruno successfully uses the Proxy for objects.githubusercontent.com.
I have checked the following:
Describe the bug
I am requesting a site that is excluded from the Proxy by setting the "Proxy Bypass" in the settings.
That site then sends a 302 Found-Redirect to a URL that needs a Proxy.
The automatic redirect from Bruno does not use a Proxy for the redirected Request and results in a timeout.
Test Setup:
I am expecting this Test to fail, since the redirected URL should use the invalid Proxy.
The test will pass which shows, that the Proxy is not used for the redirected Request to objects.githubusercontent.com
.bru file to reproduce the bug
Test-Case:
Proxy-Config:
Screenshots/Live demo link
The text was updated successfully, but these errors were encountered: