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

error: Unable to create API: API creation failure: Unable to obtain API(s) from the API Gateway: "connect EHOSTUNREACH 172.20.189.80:9000" #332

Open
4n70w4 opened this issue Apr 18, 2021 · 1 comment

Comments

@4n70w4
Copy link

4n70w4 commented Apr 18, 2021

Hi, trying to get this thing up and running via docker-compose for the first time. Spent a few hours and nothing works.

Installing apimgmt actions
ok: updated action apimgmt/getApi
ok: updated action apimgmt/createApi
ok: updated action apimgmt/deleteApi
waiting for the Whisk invoker to come up ...
 ... OK
creating the hello.js function ...
invoking the hello-world function ...
adding the function to whisk ...
ok: created action hello
invoking the function ...
invocation result: { "payload": "Hello, World!" }
{ "payload": "Hello, World!" }
creating an API from the hello function ...
ok: updated action hello
error: Unable to create API: API creation failure: Unable to obtain API(s) from the API Gateway: "connect EHOSTUNREACH 172.20.189.80:9000"
invoking:
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
Error invoking the web action
==> /root/tmp/openwhisk/invoker/logs/invoker-local_logs.log <==
...
make: *** [Makefile:417: hello-world] Error 1

I try make destroy then make quick-start but the same error.

I try make docker-pull and make docker-build, and then docker-compose ps to check the dockers. After that I run make run and make hello-world but the same error.

docker ps | grep whisk | grep 9000
37470161e446        openwhisk/apigateway:nightly                               "/usr/bin/dumb-init …"   5 minutes ago       Up 5 minutes             0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:9000->9000/tcp, 8423/tcp, 0.0.0.0:9090->8080/tcp   openwhisk_apigateway_1
f8ea5e51b880        minio/minio:RELEASE.2018-07-13T00-09-07Z                   "/usr/bin/docker-ent…"   6 minutes ago       Up 6 minutes (healthy)   0.0.0.0:9001->9000/tcp                                                                               openwhisk_minio_1
http://172.20.189.80:9000/
404 Not Found
openresty/1.17.8.2
@Areej-Fatima
Copy link

Hi, Were you able to solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants