Closed ssgutierrez42 closed 3 years ago
Thanks for your interest in openfaas-cloud. We don't provide support for this project on GitHub, but there is a Slack community where you can chat with the community.
The proxy message you've shared looks like it may be related to the dashboard
The "faas-cli login" message from list-functions is unexpected, I wonder if you haven't configured basic-auth correctly? Check the secret attached to "list-functions", get the value and see if it matches the value for your gateway's basic-auth password.
PRs are welcome if you want to contribute upstream
/msg: slack
-- Join Slack to connect with the community https://docs.openfaas.com/community
@alexellis @Waterdrips thanks for reviewing this and for the quick PR fix #243. Everything is working fine now đź‘Ť you guys rock!
What are you going to use OFC for? Please do join us on Slack as suggested.
Will do -- just received an invite to the Slack this morning. I am evaluating OFC as the driver of a micro-services architecture for a growing start-up.
After running ofc-bootstrap with GitHub config, unable to see functions.
Expected Behaviour
Should see functions added via GitHub on dashboard list.
Current Behaviour
Infinite load + 500 internal server error response, with message "Proxy request failed" on console.
Context
I have followed https://docs.openfaas.com/openfaas-cloud/self-hosted/troubleshoot/
HTTPS and domains are live and working well.
I have checked my
app_id
andprivate-key
, and the GitHub App is installed on my repository. GitHub OAuth app seems to work in the sense that I am able to login to my self-hosted page https://system.**domain**/dashboard/ssgutierrez42. (enable_oauth
is set to TRUE).I have checked by GitHub app permissions.
I also successfully created a GitHub OpenFaas function repository and pushed to ECR. I can see my function on https://gateway.**domain**/ui/ and I can run it successfully without a problem.
Access control CUSTOMERS file is read fine via GitHub app > Advanced logs.
I have cross-checked
app_id
/private-key
/github-webhook-secret
.After running
kubectl logs -n openfaas-fn deploy/list-functions
to view logs forlist-functions
image, I get the following error:unauthorized access, run "faas-cli login" to setup authentication for this server
I also get the exact same error when running
list-functions
from the gateway:I am creating this issue in the event that there is a bug on the GitHub auth config.
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS): macOS
faas-cli version
( full output ):CLI: commit: e53b9c46b4ea7391aef71cd165b0c871fecb3543 version: 0.12.20 Handling connection for 31112
Gateway uri: http://127.0.0.1:31112 version: 0.20.2 sha: 9bbb25e3c7c4cc5cd355edb3a122f8c7812e32db commit: Fix a bug that caused the services list to keep growing
Provider name: faas-netes orchestration: kubernetes version: 0.12.9 sha: c402b912ce21f0bf01bc3aa45ebc330decc41ac5
ofc-bootstrap version
/ _ | / | | | | | | | | | || | _|| | \/|_| ____| ofc-bootstrap Bootstrap your own OpenFaaS Cloud within 100 seconds
Commit: c7114a5fb7ccf94b6777ca647da5d05b870de8a3 Version: 0.9.8
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T12:50:19Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.9-eks-d1db3c", GitCommit:"d1db3c46e55f95d6a7d3e5578689371318f95ff9", GitTreeState:"clean", BuildDate:"2020-10-20T22:18:07Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}