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

Kong and hello microservice containers fail to launch in "Secure microservices with Kong and Ory" tutorial code #33

Open
3 of 6 tasks
tsagkase opened this issue Jun 28, 2022 · 0 comments
Labels
bug Something is not working.

Comments

@tsagkase
Copy link
Contributor

tsagkase commented Jun 28, 2022

Preflight checklist

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:

  1. docker-compose up --build
  2. (In new terminal) bash kong.config.sh
  3. Check docker logs kratos-oathkeeper-kong-kong-1 output
  4. Check docker logs kratos-oathkeeper-kong-kong-migrations-1 output
  5. Check docker logs kratos-oathkeeper-kong-hello-1 output

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 af34280

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 <3372410+aeneasr@users.noreply.github.com>
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

No branches or pull requests

2 participants