Giter VIP home page Giter VIP logo

Comments (3)

stephenlacy avatar stephenlacy commented on May 19, 2024

I got it to work by changing the build version of the gateway to the local image: https://github.com/alexellis/faas/blob/master/docker-compose.yml#L10 latest-dev. And changing localhost to 127.0.0.1
Still some form of issue as I needed to change the image.

from faas.

alexellis avatar alexellis commented on May 19, 2024

Hi @stevelacy,

Thanks for your message.

You may have an ipv4/ipv6 conflict on the name localhost in your hosts file such as:

cat /etc/hosts
127.0.0.1	localhost
::1		localhost ip6-localhost ip6-loopback

You can comment out the 2nd line, or use 127.0.0.1 or the IP address of your LAN/WAN connection instead.

Curl can also be forced into ipv4 mode with the -4 flag.

docker-compose is not used for FaaS, but it does have a docker-compose.yml file which is used for creating the Docker stack, so docker-compose up/down/build are not going to be valid.

The tag 0.5.6 for the gateway image is working (I also re-tested it this morning), but you can switch out to a newer (master) version like you did by running ./build.sh and updating the image tag to: latest-dev.

Hope this helps. I'll close the issue for now since you have got up and running, but do re-open if you need to.

from faas.

stephenlacy avatar stephenlacy commented on May 19, 2024

Thanks

from faas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.