Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron Connector stuck in crash loop when installing #22

Open
1 of 2 tasks
kferrone opened this issue Aug 27, 2021 · 1 comment · May be fixed by #27
Open
1 of 2 tasks

Cron Connector stuck in crash loop when installing #22

kferrone opened this issue Aug 27, 2021 · 1 comment · May be fixed by #27

Comments

@kferrone
Copy link

Expected Behaviour

The cron-connector should install without issue.

Current Behaviour

When I install the cron-connector using the helm chart with the following values set:

basicAuth: false

I get this error in the pod for the connector and it never fully installs:

2021/08/27 16:50:55 Version: aa14f05b4e3d2c771d631671523736886aeaa66c	Commit: 0.5.0
2021/08/27 16:50:55 Gateway URL: http://gateway.openfaas:8080
2021/08/27 16:50:55 Async Invocation: false
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x68c883]

goroutine 1 [running]:
main.startFunctionProbe(0x2540be400, 0x70d419, 0xd, 0xc000056370, 0xc00000e040, 0xc000074400, 0x0, 0x0)
	/go/src/github.com/openfaas/cron-connector/main.go:115 +0x83
main.main()
	/go/src/github.com/openfaas/cron-connector/main.go:57 +0x41f

Are you a GitHub Sponsor (Yes/No?)

Check at: https://github.com/sponsors/openfaas

  • Yes
  • No

List All Possible Solutions and Workarounds

I'm totally brand new to OpenFaas, I have no idea what is wrong.

Which Solution Do You Recommend?

na

Steps to Reproduce (for bugs)

  1. install the cron-connector helm chart with basicAuth=false
  2. watch error in pod

Context

Can't use the cron-connector

Your Environment

  • FaaS-CLI version ( Full output from: faas-cli version ): na

  • Docker version docker version (e.g. Docker 17.0.05 ): na

  • What version and distriubtion of Kubernetes are you using? kubectl version

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:38:26Z", GoVersion:"go1.16.6", Com
piler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-0389ca3", GitCommit:"8a4e27b9d88142bbdd21b997b532eb6d493df6d2", GitTreeState:"clean", BuildDate:"2021-07-31T01:34:46Z", GoVersion:"g
o1.16.5", Compiler:"gc", Platform:"linux/amd64"}

This all running on EKS.

  • Operating System and version (e.g. Linux, Windows, MacOS): Linux

  • Link to your project or a code example to reproduce issue: na

  • What network driver are you using and what CIDR? i.e. Weave net / Flannel AWS

@alexellis
Copy link
Member

I would really recommend that you don't turn basic authentication off for internal components.

If you use openfaas as recommended, does this problem go away?

@alexellis alexellis transferred this issue from openfaas/faas-netes Aug 28, 2021
viveksyngh added a commit to viveksyngh/cron-connector that referenced this issue Sep 15, 2021
Fix issue with the cron connector when it is deployed with
basic auth disabled.

Fixes: openfaas#22
viveksyngh added a commit to viveksyngh/cron-connector that referenced this issue Sep 15, 2021
Fix issue with the cron connector when it is deployed with
basic auth disabled.

Fixes: openfaas#22
Signed-off-by: Vivek Singh <[email protected]>
@nitishkumar71 nitishkumar71 linked a pull request Sep 2, 2022 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants