Comments (4)
The address gateway.openfaas.svc.cluster.local
is incorrect. This only works on Kubernetes.
You will not find that in the Ebook, are you sure that you have a copy?
The only reason I can think of for a function to go to not ready is because you have an unhandled exception and it crashed the function. See the notes in the troubleshooting chapter to get the logs from journalctl for specific functions. No need to copy the input commands here, but have a good look over it.
This is a really well supported use-case, and there's no reason it shouldn't work as described, but you need to get your code right.
Did you say you had a separate issue with vendoring? Do you want to raise an issue so we can support you separately, without crossing streams?
https://github.com/openfaas/golang-http-template
Alex
from faasd.
No, the gateway address is not from the ebook but here. The ebook does have a link in chapter 10 leading me there so I assumed it worked for faasd. Anyway, I'll look into nats-connector as alternative.
Regarding the Not Ready
error, it's because I have a log.Fatal("2", err)
inside error handling, which causes the function to exit with status 1. Removing this solves the problem.
from faasd.
Glad you figured out what was going wrong with your function.
We'll get this closed. Feel free to attend our weekly call if you'd like to say hello or get more support.
https://docs.openfaas.com/community/
from faasd.
/lock: support question resolved
from faasd.
Related Issues (20)
- Remove basic auth plugin HOT 3
- Inter-function Communication Feature Asking HOT 5
- Update to containerd 1.7.0 - last release with 32-bit Arm support
- Support request logging in HOT 2
- Issues with rust HOT 1
- Access host's network from a docker-compose.yaml's service HOT 5
- Support request for Docker installed with faasd (invalid) HOT 5
- Can docker-compose be used with faasd? HOT 8
- Support question on MQTT HOT 4
- Executing install.sh fails because of wrong version HOT 1
- Grafana installation - volume permissions HOT 2
- Multi-node support HOT 3
- Support request for monitoring with cAdvisor HOT 6
- NATS JetStream support HOT 2
- disable printing function invocation duration
- Terrraform install fails on macOS Sonoma HOT 2
- faasd and faasd provider in different ports HOT 1
- faasd namespace support openfaas=true instead of openfaas=1
- Is Scale to Zero included in the Community Edition of OpenFaaS? HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faasd.