Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/redirect-to returns 404 #617

Closed
codenirvana opened this issue Jun 20, 2020 · 21 comments · Fixed by php-http/client-integration-tests#60
Closed

/redirect-to returns 404 #617

codenirvana opened this issue Jun 20, 2020 · 21 comments · Fixed by php-http/client-integration-tests#60
Assignees
Labels

Comments

@codenirvana
Copy link
Member

All the /redirect-to endpoints are returning 404s.

$ curl -v -X GET "http://httpbin.org/redirect-to?url=http://httpbin.org/get"
*   Trying 34.235.192.52...
* TCP_NODELAY set
* Connected to httpbin.org (34.235.192.52) port 80 (#0)
> GET /redirect-to?url=http://httpbin.org/get HTTP/1.1
> Host: httpbin.org
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: awselb/2.0
< Date: Sat, 20 Jun 2020 06:48:23 GMT
< Content-Type: text/plain; charset=utf-8
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host httpbin.org left intact
* Closing connection 0
@basrieter
Copy link

Same here

mrkkrp added a commit to srid/req that referenced this issue Jun 21, 2020
The endpoint currently returns 404. The issue is reported:

postmanlabs/httpbin#617
mrkkrp added a commit to mrkkrp/req that referenced this issue Jun 21, 2020
The endpoint currently returns 404. The issue is reported:

postmanlabs/httpbin#617
evazion added a commit to danbooru/danbooru that referenced this issue Jun 23, 2020
pplr added a commit to pplr/smocker that referenced this issue Jun 23, 2020
@convoliution
Copy link

@codenirvana I can't find information on who the current maintainer is for httpbin.
Since it's within the Postman org (which I think you're a member of), do you know who could resolve this?

@codenirvana
Copy link
Member Author

cc. @kunagpal

@borkdude
Copy link

Also experiencing this problem with tests for https://github.com/borkdude/babashka.curl

borkdude added a commit to babashka/babashka.curl that referenced this issue Jun 28, 2020
projectgus added a commit to espressif/esp-idf that referenced this issue Jun 29, 2020
@splitbrain
Copy link

Is @ken-reitz still the maintainer for httpbin? His website is still linked from httpbin.org but the repository now redirects to the postmanlabs organization?

sue445 added a commit to itamae-kitchen/itamae that referenced this issue Jun 29, 2020
Weekly build is failing since https://travis-ci.org/github/itamae-kitchen/itamae/builds/700342208

https://httpbin.org/#/Redirects/get_redirect_to says `https://httpbin.org/redirect-to` returns 302, but actual is 404

```
$ curl -I https://httpbin.org/redirect-to?url=https%3A%2F%2Fhttpbin.org%2Fget
HTTP/2 404
server: awselb/2.0
date: Mon, 29 Jun 2020 15:43:42 GMT
content-type: text/plain; charset=utf-8
content-length: 0
```

This is issue of https://httpbin.org

c.f. postmanlabs/httpbin#617

So I temporarily disabled
gcampax added a commit to stanford-oval/thingpedia-api that referenced this issue Jun 30, 2020
httpbin.org is having some issues with redirect endpoints, see
postmanlabs/httpbin#617

(my favorite conspiracy theory is that an open-redirect HTTP
server is a huge security hole that can be abused in all sorts
of ways, so someone "plugged" it by blackholing the endpoint)
@ddliu
Copy link

ddliu commented Jul 1, 2020

Same for /redirect/{n}.

splitbrain added a commit to dokuwiki/dokuwiki that referenced this issue Jul 1, 2020
Until postmanlabs/httpbin#617 is fixed or we
found an alternative, the redirect tests will be skipped.
@SmetDenis
Copy link

Hey,
Do you have any news/updates?

dbaxa added a commit to dbaxa/requests-futures that referenced this issue Jan 10, 2021
…ostmanlabs/httpbin#617 is still open.

Signed-off-by: David Black <dblack@atlassian.com>
ross added a commit to ross/requests-futures that referenced this issue Jan 13, 2021
s-leroux added a commit to s-leroux/getpro that referenced this issue Jan 22, 2021
waitingsong added a commit to waitingsong/fetch that referenced this issue Jan 30, 2021
puzza007 added a commit to puzza007/katipo that referenced this issue Feb 8, 2021
@JustAnotherArchivist
Copy link

Same for /absolute-redirect/{n}.

jonathonmcmurray added a commit to jonathonmcmurray/reQ that referenced this issue Jun 18, 2021
Switch to an alternative mirror for httpbin as httpbin.org redirect URLs are
currently broken (postmanlabs/httpbin#617)

Due to a few other changes between mirrors, some other minor tweaks required to
ignore minor differences in responses etc.
mogenson added a commit to mogenson/Adafruit_CircuitPython_Requests that referenced this issue Jul 8, 2021
Follow 3XX status redirects with a new request. Parse the 'location'
header for an absolute url, absolute path, or relative path. Replace or
amend the url from the original request and place a new request.

Expand the requests_simpletest_cpython.py example with new requests
utilizing the three supported types of redirects.

Note: We're using the httpbingo.org domain for redirects until
the following issue on httpbin.org is resolved:
postmanlabs/httpbin#617

This has been tested on CPython and an ESP32-S2 based MagTag board.
mogenson added a commit to mogenson/Adafruit_CircuitPython_Requests that referenced this issue Jul 8, 2021
Follow 3XX status redirects with a new request. Parse the `location`
header for an absolute url, absolute path, or relative path. Replace or
amend the url from the original request and place a new request.

Convert all keys in the headers dictionary to lowercase to perform a
case-insensitive search.

There's no limit on the number of consecutive redirects. Since the
`requets()` method is now recursive, multiple redirects may crash the
stack. Especially on a CircuitPython microcontroller.

Expand the requests_simpletest_cpython.py example with new requests
utilizing the three supported types of redirects.

Note: We're using the httpbingo.org domain for redirects until
the following issue on httpbin.org is resolved:
postmanlabs/httpbin#617

This has been tested on CPython 3.8 and an ESP32-S2 based MagTag board
running CircuitPython 6.0.
@jrochkind
Copy link

August 2020 @kunagpal wrote:

Everyone, we're sorry for the complete radio silence on this 😞. The /redirect-to endpoint had to be 404'd due to an internal issue. As I write this, we're working on fixing and bringing this back up without further disruptions. Unfortunately, there's no E.T.A for this at the moment.

#617 (comment)

About a year later... I guess it's probably not coming back?

karenetheridge added a commit to karenetheridge/Test-LWP-UserAgent that referenced this issue Jan 15, 2022
@jimmywarting
Copy link

please return back to this project and fix this issue 🙏

@anshuljain03
Copy link

Sorry for not getting to this a lot sooner. This should be fixed now.

@dgw
Copy link

dgw commented Apr 5, 2022

Sorry for not getting to this a lot sooner. This should be fixed now.

Doesn't look like it's fixed. Or are we waiting for a rollout?

$ curl --head "http://httpbin.org/redirect-to?url=http://httpbin.org/get"
HTTP/1.1 404 Not Found
Server: awselb/2.0
Date: Tue, 05 Apr 2022 18:57:13 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 0
Connection: keep-alive

@anshuljain03
Copy link

@dgw should work now!

@dgw
Copy link

dgw commented Apr 5, 2022

@anshuljain03 Tested again and yep, it does! 🥳

mrkkrp added a commit to mrkkrp/req that referenced this issue Apr 7, 2022
mrkkrp added a commit to mrkkrp/req that referenced this issue Apr 7, 2022
riseeverytime pushed a commit to riseeverytime/smocker that referenced this issue Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.