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

404 page doesn't actually 404 #47

Open
pettazz opened this issue Jun 8, 2019 · 1 comment
Open

404 page doesn't actually 404 #47

pettazz opened this issue Jun 8, 2019 · 1 comment
Labels
blocked Blocked by something we can't control bug Something isn't working

Comments

@pettazz
Copy link
Member

pettazz commented Jun 8, 2019

On a url that doesn't exist, we redirect to the 404 page /404/index.html that displays a visible "not found message" but the responses are never actually 404, but instead a series of redirects and eventually a 200:

$ wget https://warrantynowvoid.com/peepee-poopoo
--2019-06-08 12:45:38--  https://warrantynowvoid.com/peepee-poopoo
Resolving warrantynowvoid.com... 52.85.139.144, 52.85.139.243, 52.85.139.127, ...
Connecting to warrantynowvoid.com|52.85.139.144|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /peepee-poopoo/ [following]
--2019-06-08 12:45:38--  https://warrantynowvoid.com/peepee-poopoo/
Reusing existing connection to warrantynowvoid.com:443.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /404.html [following]
--2019-06-08 12:45:38--  https://warrantynowvoid.com/404.html
Reusing existing connection to warrantynowvoid.com:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /404/ [following]
--2019-06-08 12:45:38--  https://warrantynowvoid.com/404/
Reusing existing connection to warrantynowvoid.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'peepee-poopoo'

peepee-poopoo                           [ <=>                                                             ]   2.10K  --.-KB/s    in 0s

2019-06-08 12:45:39 (24.1 MB/s) - 'peepee-poopoo' saved [5775]
@pettazz pettazz added the bug Something isn't working label Jun 8, 2019
@pettazz pettazz added this to the Backend 1 milestone Jun 8, 2019
@pettazz
Copy link
Member Author

pettazz commented Jun 21, 2019

Looks like this may be a limitation of Amplify as a platform? https://forums.aws.amazon.com/message.jspa?messageID=905089

@pettazz pettazz added the blocked Blocked by something we can't control label Jun 21, 2019
@pettazz pettazz removed this from the Backend 1 milestone Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by something we can't control bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant