Skip to content

Observing TypeError and ReferenceError in docker logs #170

@Ziabatcha

Description

@Ziabatcha

Observing below error reference error and TypeError in docker logs

package: v.1.1.0.d_impl
Logs:

Error: Too many pending tasks in queue ./database/config.json
    at AsyncLock.acquire (/home/openbackhaul/NotificationProxy/node_modules/async-lock/lib/index.js:195:15)
    at Object.exports.readFromDatabaseAsync (/home/openbackhaul/NotificationProxy/node_modules/onf-core-model-ap/applicationPattern/databaseDriver/JSONDriver.js:30:23)
    at Function.getLogicalTerminationPointListAsync (/home/openbackhaul/NotificationProxy/node_modules/onf-core-model-ap/applicationPattern/onfModel/models/ControlConstruct.js:32:59)
    at Object.exports.getKafkaClient (/home/openbackhaul/NotificationProxy/service/individualServices/KafkaHandler.js:44:60)
    at sendMessageToKafka (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationManagement.js:782:49)
    at notifyAllDeviceSubscribers (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationManagement.js:736:13)
    at exports.handleDeviceNotification (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationManagement.js:713:17)
    at EventSource.eventSource.onmessage (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationStreamManagement.js:153:9)
    at EventSource.emit (node:events:513:28)
    at _emit (/home/openbackhaul/NotificationProxy/node_modules/eventsource/lib/eventsource.js:287:17)
TypeError: Cannot read properties of undefined (reading 'layer-protocol')
    at Object.exports.getKafkaTopicName (/home/openbackhaul/NotificationProxy/service/individualServices/KafkaHandler.js:66:41)
    at sendMessageToKafka (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationManagement.js:783:44)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
ReferenceError: y is not defined
    at Object.exports.getKafkaTopicName (/home/openbackhaul/NotificationProxy/service/individualServices/KafkaHandler.js:70:28)
    at sendMessageToKafka (/home/openbackhaul/NotificationProxy/service/individualServices/NotificationManagement.js:783:44)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
message [object Object] successfully sent to all_notifications

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions