I cant get sentinel to work with queue module.
./console queuedtracking:monitor
Queue is enabled
Request sets in the queue will be processed automatically after a tracking request
Up to 1 workers will be used
Processor will start once there are at least 50 request sets in the queue
ERROR [2024-08-13 14:55:42] 71607 Uncaught exception: /var/www/…/plugins/QueuedTracking/Queue/Backend/Sentinel.php(58): Could not receive an actual master from sentinel [Query: , CLI mode: 1]
This is my config:
select * from matomo_plugin_setting;
+----------------+------------------------------+-------------------------------+--------------+------------+------------------+
| plugin_name | setting_name | setting_value | json_encoded | user_login | idplugin_setting |
+----------------+------------------------------+-------------------------------+--------------+------------+------------------+
| Tour | browse_marketplace_completed | 1 | 0 | matomo | 2 |
| QueuedTracking | backend | redis | 0 | | 71 |
| QueuedTracking | useSentinelBackend | 1 | 0 | | 74 |
| QueuedTracking | sentinelMasterName | queue | 0 | | 77 |
| QueuedTracking | redisHost | 10.4.0.20,10.4.0.19,10.4.0.18 | 0 | | 80 |
| QueuedTracking | redisPort | 6380,6380,6380 | 0 | | 83 |
| QueuedTracking | redisDatabase | 0 | 0 | | 86 |
| QueuedTracking | redisPassword | somepass | 0 | | 89 |
| QueuedTracking | queueEnabled | 1 | 0 | | 92 |
| QueuedTracking | numQueueWorkers | 1 | 0 | | 95 |
| QueuedTracking | numRequestsToProcess | 50 | 0 | | 98 |
| QueuedTracking | processDuringTrackingRequest | 1 | 0 | | 101 |
+----------------+------------------------------+-------------------------------+--------------+------------+------------------+
I would assume that sentinel and redis is configured correctly because i was able connect to redis without the use of sentinel and the status seems to be fine:
10.4.0.19:26379> info sentinel
# Sentinel
sentinel_masters:2
sentinel_tilt:0
sentinel_running_scripts:0
sentinel_scripts_queue_length:0
sentinel_simulate_failure_flags:0
master0:name=queue,status=ok,address=10.4.0.20:6380,slaves=2,sentinels=3
What am I doing wrong?