Skip to content

panic: Both MQTT and Webhook buses are disabled. Nothing to do! #30

@eddiex666

Description

@eddiex666

2023-02-23T12:38:22.793747923Z panic: Both MQTT and Webhook buses are disabled. Nothing to do!
2023-02-23T12:38:22.793881085Z
2023-02-23T12:38:22.793885081Z goroutine 1 [running]:
2023-02-23T12:38:22.794528495Z github.com/toxuin/alarmserver/config.(*Config).Load(0x8?)
2023-02-23T12:38:22.794644780Z /tmp/app/config/config.go:160 +0xe8b
2023-02-23T12:38:22.794730582Z main.main()
2023-02-23T12:38:22.794974695Z /tmp/app/main.go:25 +0x35

Any ideas?

config file is:

debug: true

hikvision:
enabled: true
cams:
myCam:
address: 192.168.1.19
https: false
username: admin
password: admin
rawTcp: true

mqtt:
enabled: true
username: alarmserver
password: "assword"
port: 1883
server: "192.168.1.20"
topicroot: camera-alerts

testet config file name = config.yml and config.yaml

Running on Ubuntu, Docker

Eddie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions