examples
examples copied to clipboard
Kong and hello microservice containers fail to launch in "Secure microservices with Kong and Ory" tutorial code
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [ ] This issue affects my Ory Cloud project.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Describe the bug
Example code linked to in "Secure microservices with Kong and Ory" tutorial fails to run out of the box.
Specifically:
~/ory/examples/kratos-oathkeeper-kong (master)$ bash kong.config.sh
curl: (7) Failed to connect to localhost port 8001 after 0 ms: Connection refused
curl: (7) Failed to connect to localhost port 8001 after 0 ms: Connection refused
curl: (7) Failed to connect to localhost port 8000 after 0 ms: Connection refused
Reproducing the bug
The following steps should be enough:
-
docker-compose up --build - (In new terminal)
bash kong.config.sh - Check
docker logs kratos-oathkeeper-kong-kong-1output - Check
docker logs kratos-oathkeeper-kong-kong-migrations-1output - Check
docker logs kratos-oathkeeper-kong-hello-1output
Relevant log output
~/ory/examples/kratos-oathkeeper-kong (master)$ docker logs kratos-oathkeeper-kong-kong-1 2>&1 | tail -1
exec /docker-entrypoint.sh: no such file or directory
~/ory/examples/kratos-oathkeeper-kong (master)$ docker logs kratos-oathkeeper-kong-hello-1 2>&1 | tail -1
exec /hello: no such file or directory
~/ory/examples/kratos-oathkeeper-kong (master)$ docker logs kratos-oathkeeper-kong-kong-migrations-1 2>&1 | tail -1
exec /docker-entrypoint.sh: no such file or directory
Relevant configuration
No response
Version
Commit af3428050da4b3ad0c70e7194fb390a34f7a1a2a
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
~/ory/examples/kratos-oathkeeper-kong (master)$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/ory/examples/kratos-oathkeeper-kong (master)$ git log -1
commit af3428050da4b3ad0c70e7194fb390a34f7a1a2a (HEAD -> master, origin/master, origin/HEAD)
Author: aeneasr <[email protected]>
Date: Wed Jun 22 15:19:51 2022 +0000
chore: update repository templates
[skip ci] - updated repository templates to https://github.com/ory/meta/commit/8a3d37122ffbfd7323a9189367d8616a69e82b01