MongooseIM mod_event_pusher RabbitMQ

108 Views Asked by At

I trying to understand MongooseIM file configuration ( not easy , this is my point of view ) I spent 2 days to understand how I can config mod_event_pusher & RabbitMQ but not working This is my config

[auth]
  methods = ["http"]
  password.format = "plain"
  sasl_mechanisms = ["plain"]

  [auth.http]

  [outgoing_pools.http.auth.connection]
    host = "https://---------------"

[outgoing_pools.rabbit.event_pusher.connection]
    amqp_host = "---------damqp.com"
    amqp_port = 1883
    amqp_username = "---------"
    amqp_password = "eld_8NZ_________DY8x"

But when I execute ./bin/mongooseimctl live I have some error like

Could not read the TOML configuration file

If someone have an example , it will be great .

1

There are 1 best solutions below

1
chrzaszcz On

The provided configuration file is missing the general section. This section is mandatory because it contains the list of hosts that the server is handling and the default_server_domain, see the documentation.