Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

There is nothing running on port 8080 after running the job faas.hcl #92

Open
AllanOricil opened this issue Oct 13, 2020 · 0 comments
Open

Comments

@AllanOricil
Copy link

AllanOricil commented Oct 13, 2020

What are the steps to reproduce this issue?

1 - Follow the instructions from the README on a Ubuntu 18 VM running on OpenSUSE
2 - After running the job faas.hcl check that there is nothing on port 8080. You can't access through the browser nor with curl or ping.
3 - check with sudo docker ps that there is no container mapped to port 8080
image

4 - check that the port 8080 is not being used by any other process or service with sudo lsof -i -P -n | grep LISTEN
image

5 - check on Consul UI that Gateway is not listed and everything is Healthy. Also, it sometimes appears and disapears (WHY?)

image

6 - check the stderr logs for the gateway task are complaining only about nats not available, when it is available:

image

image

What happens?

The faas.hcl is not throwing any errors and the container does not start on port 8080

What were you expecting to happen?

The Open faas gateway should be running on port 8080. So I could deploy my function or access the UI.

image

Obs: On Consul UI I was seeing Gateway service appearing and disapearing. Why?

Additional Information

Ubuntu, Docker, Nomad and Consult versions:
image

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

No branches or pull requests

1 participant