Skip to content

Cron Connector stuck in crash loop when installing #22

Open
@kferrone

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions