ory / examples

A curated collection of examples and solutions created and maintained by the Ory Community.
https://www.ory.sh/community/
Apache License 2.0
140 stars 67 forks source link

kratos-keto-flask returns 404 instead of homepage. #51

Open znorris opened 2 years ago

znorris commented 2 years ago

Preflight checklist

Describe the bug

The example documentation says, "You will see a pretty welcome screen." However I get a 404 instead.

% curl -v http://localhost:8080/
*   Trying 127.0.0.1:8080...
* Connected to localhost (127.0.0.1) port 8080 (#0)
> GET / HTTP/1.1
> Host: localhost:8080
> User-Agent: curl/7.79.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Vary: Origin
< Date: Mon, 29 Aug 2022 17:07:37 GMT
< Content-Length: 95
<
{"error":{"code":404,"status":"Not Found","message":"Requested url does not match any rules"}}
* Connection #0 to host localhost left intact

Reproducing the bug

  1. docker-compose up
  2. run curl -v http://localhost:8080/
  3. Get a 404 response code. If it were working, I'd expect a 200 response.

Relevant log output

No response

Relevant configuration

No response

Version

d8bca0e835309cf5b5fe3647cafca7bff3e37972

On which operating system are you observing this issue?

macOS

In which environment are you deploying?

Docker Compose

Additional Context

No response

dukeofcool199 commented 1 year ago

I got the same results

yaroslaff commented 11 months ago

Seems ory abandoned support for self-hosted version or kratos/keto and support only their online/paid service? I found fief project is working well with python and flask (and has very responsive support), but I'd be happy to get successful results with ory products, because I like idea to have authentication inside small, standalone golang application with low memory requirements.

znorris commented 10 months ago

@yaroslaff Do you have a reference about Ory abandoning self-hosted Kratos or Keto? I've been busy working on other projects so I'm a bit out of touch. However, I don't believe this is the case. I see all the regular documentation and github projects available.

yaroslaff commented 10 months ago

@znorris I do not have any other references, only my guesses. But I see this ticket from Aug 30 (about problem which is very easy to reproduce) and still no reply. I guess problem is very easy to solve (there could be no big problems in "hello world" examples) but for newbies it's blocking issue.

Pterygoidien commented 10 months ago

Hi, I have the same issue, and I am indeed a newbie in that domain since i'm only in the learning phase (originally frontend developper, i'm only starting in backend and microservices, so I don't know all the tools, including Ory ecosystem). Did somebody work around this ? It is indeed a blocking issue for me !