Wearg: Difference between revisions
From Nasqueron Agora
No edit summary |
|||
| Line 27: | Line 27: | ||
If the MariaDB connection is broken, <code>.+log [server] message works</code>, but not directly <code>[server] message</code>. | If the MariaDB connection is broken, <code>.+log [server] message works</code>, but not directly <code>[server] message</code>. | ||
Short-term solution: <code>.tcl sqlrehash</code> in the Wearg partyline | * Short-term solution: <code>.tcl sqlrehash</code> in the Wearg partyline | ||
Long-term solution: {{T|2282}} | * Long-term solution: automate reconnect with {{T|2282}} | ||
Latest revision as of 09:48, 21 March 2026
Wearg is an eggdrop and a notifications client.
Features
Wearg handles two important workflows for the Nasqueron Operations SIG:
- Publish notifications on IRC channels: Services --HTTPS--> Notifications center --AMQP--> broker --AMQP--> Wearg --IRC--> Channel publication
- Allow to log to servers log: Channel publication --HTTPS--> Nasqueron API --IO--> servers log
Troubleshoot
No messages are received
Check through another client (the CLI client for example) all works fine at notifications center and broker level.
If so:
- Check we're connected through
.tcl mq connected - If so, disconnect it with
.tcl mq disconnect - Check timer through .tcl utimers, you should have one (and only one) timer with ::broker::on_tick as callback
- Too many timers? kill extra timers with
.tcl killutimer timer<id>, good luck for the guess the second game - No timer?
.tcl broker::on_tick
- Too many timers? kill extra timers with
- Ask next message in the queue .tcl mq get wearg-notifications
- If stuck at the previous operation, close the connection through the broker interface: http://white-rabbit.nasqueron.org:15672/#/connections (username is daeghrefn, source IP is 212.83.187.132). This method is pretty effective
Can't publish to servers log
MariaDB server connectivity
If the MariaDB connection is broken, .+log [server] message works, but not directly [server] message.
- Short-term solution:
.tcl sqlrehashin the Wearg partyline - Long-term solution: automate reconnect with T2282
