NodeJS in Azure-Kubernetes: How to prevent serviceBusService.receiveQueueMessage() to handle 2 messages at same time?

9/26/2019

I used NodeJS with Azure-Kubernetes for handing Azure ServiceBus messages. From kubeclt log of pod, it was working fine at the beginning but after faced below Puppeteer error, it messed up the program to handle 2 messages at same time.

{"message":"Protocol error (Runtime.callFunctionOn): Target closed."}

Possible fixing method

P.S. I am using node:alpine12 with Chromium v76, Puppeteer v1.17
* Could not use Puppeteer v1.20 as node:alpine12 only with Chromium v76

-- DaiKeung
azure-kubernetes
azureservicebus
message-queue
node.js
puppeteer

0 Answers