OpenFaaS faasd function deployed but the URL fails with the message "cannot find service"

1.1k views Asked by At

I followed this tutorial for faasd. https://github.com/openfaas/faasd/blob/master/docs/MULTIPASS.md

I was able to deploy my function in Clojure successfully, but the URL returned shows the message of

Cannot find service: mybot.openfaas-fn.

And when I tried the URL without .openfaas-fn extension, it just fails to load showing

This page isn’t working 
192.168.64.3 is currently unable to handle this request. 
HTTP ERROR 500

I wonder if there's anyway to debug this. I tried faas-cli describe mybot

Name: mybot
Status: Ready
Replicas: 1
Available replicas: 1
Invocations: 7
Image:
Function process:
URL: http://192.168.64.3:8080/function/mybot
Async URL: http://192.168.64.3:8080/async-function/mybot

Actually, I tried to deploy with Kubernetes before, but that didn't work out either. Functions can be deployed and work for a few minutes then get into CrashLoopBackOff, stopped working and the page would keep loading forever.

How can I possibly solve this or would there be any alternatives for deployment? Thanks in advance!

0

There are 0 answers