Git Product home page Git Product logo

Comments (8)

rgee0 avatar rgee0 commented on May 23, 2024

Provided the file you’re cat-ing contains the appropriate password then you might try admin as the username:

https://docs.openfaas.com/deployment/kubernetes/#install-openfaas-community-edition-ce-via-arkade-or-helm

If you're using faasd then there's a book that would likely help:

https://openfaas.gumroad.com/l/serverless-for-everyone-else

@alexellis sometimes makes discount codes available for academia, and over holiday periods.

from faas.

prateekrai1 avatar prateekrai1 commented on May 23, 2024

cat faas_password.txt | faas-cli login --username admin --password-stdin --gateway https://127.0.0.1:8080
Calling the OpenFaaS server to validate the credentials...
Cannot connect to OpenFaaS on URL: https://127.0.0.1:8080. Get "https://127.0.0.1:8080/system/functions": dial tcp 127.0.0.1:8080: connect: connection refused
I tried with admin and password as admin as well, still got the connection refused

from faas.

prateekrai1 avatar prateekrai1 commented on May 23, 2024

Is it better to install via arkade as I am using a remote node?
After the installation you'll receive a command to retrieve your OpenFaaS URL and password.
Does this statement mean arkade will set my credentials?

from faas.

rgee0 avatar rgee0 commented on May 23, 2024

If you're using a remote node then 127.0.0.1 isn't usually going to be correct. You will need to specify the gateway in the login command, or set the CLI env var for the gateway.

I'm not sure why you are guessing the password. You are provided with the password for the gateway when you install, or if you're using k8s then you can retrieve it as per the command in the documentation.

This kind of conversation demonstrates why the template exists. It's really difficult for someone else to help when information drips into an issue.

from faas.

rgee0 avatar rgee0 commented on May 23, 2024

/set title: Unable to log in to the gateway - connection refused

from faas.

prateekrai1 avatar prateekrai1 commented on May 23, 2024

Was able to connect to the gateway after going through the documentation. Thank you.

from faas.

alexellis avatar alexellis commented on May 23, 2024

"Was able to connect to the gateway after going through the documentation."

👏 great!

from faas.

alexellis avatar alexellis commented on May 23, 2024

/lock: not an issue.

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.