Closed andeplane closed 4 years ago
Thanks for the fix. Please provide concrete instructions in the steps section. We shouldn't have any ambiguity here.
Yep, will do.
Fixed via #89 thank you for the PR. please give exact repeatable steps for future issues 👍
If function call ends up giving 503,
nats-queue-worker
crashes withpanic: runtime error: invalid memory address or nil pointer dereference
when trying to do callback ifX-Callback-Url
is set.Expected Behaviour
It doesn't crash.
Current Behaviour
It crashes and pod dies.
Possible Solution
See https://github.com/openfaas/nats-queue-worker/pull/89
Steps to Reproduce (for bugs)
1) Deploy OpenFaaS in GCP using marketplace (default timeout settings). 2) Create function with the following handle, based on
python3
template3) Deploy function using default timeout settings
faas up -f sleep.yml
4) Do an async function call with callback to e.g. https://requestbin.com and watch the kubernetes logs for the queue worker and wait for the following error queueworker_crash.txtContext
It started crashing some functions I thought failed for another reason.
Your Environment
Kubernetes