hibiken / asynqmon

Web UI for Asynq task queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Error: Could not retrieve queues live data — See the logs for details

munnu-kumar opened this issue · comments

I am getting below error on dashboard:
Could not retrieve queues live data — See the logs for details

I have build docker image locally and executed command: docker run --rm
--name asynqmon
-p 8080:8080
hibiken/asynqmon

Note: I am able to connect to my redis server through asynq library in my service

@munnu-kumar thanks for opening an issue! (Sorry for the delay in response).

Are you running redis in a docker container or directly on the host machine?

If it's the latter, then you probably need to pass a flag like this --redis-addr=host.docker.internal:6379

Any luck?

I'm having the same problem. It just started happening today. I'm using the latest docker image of asynqmon.

Screen Shot 2022-03-02 at 11 09 59 AM

This is my redis info:

redis_version:5.0.0
redis_git_sha1:0
redis_git_dirty:0
redis_build_id:0
redis_mode:standalone
os:Amazon ElastiCache
arch_bits:64
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:0.0.0
process_id:1
run_id:1826a21c5fb4c8a120379455fe6fd1451e0a058b
tcp_port:6379
uptime_in_seconds:972431
uptime_in_days:11
hz:10
configured_hz:10
lru_clock:2070288
executable:-
config_file:-

# Clients
connected_clients:183
client_recent_max_input_buffer:4
client_recent_max_output_buffer:0
blocked_clients:1

# Memory
used_memory:707093560
used_memory_human:674.34M
used_memory_rss:1097330688
used_memory_rss_human:1.02G
used_memory_peak:5142636144
used_memory_peak_human:4.79G
used_memory_peak_perc:13.75%
used_memory_overhead:367492384
used_memory_startup:3668464
used_memory_dataset:339601176
used_memory_dataset_perc:48.28%
allocator_allocated:707267968
allocator_active:1033715712
allocator_resident:1102073856
used_memory_lua:64512
used_memory_lua_human:63.00K
used_memory_scripts:12016
used_memory_scripts_human:11.73K
number_of_cached_scripts:19
maxmemory:5140907060
maxmemory_human:4.79G
maxmemory_policy:volatile-lru
allocator_frag_ratio:1.46
allocator_frag_bytes:326447744
allocator_rss_ratio:1.07
allocator_rss_bytes:68358144
rss_overhead_ratio:1.00
rss_overhead_bytes:18446744073704808448
mem_fragmentation_ratio:1.55
mem_fragmentation_bytes:390201384
mem_not_counted_for_evict:0
mem_replication_backlog:1048576
mem_clients_slaves:49798
mem_clients_normal:3607338
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0

# Persistence
loading:0
rdb_changes_since_last_save:123598146
rdb_bgsave_in_progress:0
rdb_last_save_time:1645265025
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
rdb_last_cow_size:1392640
aof_enabled:0
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok
aof_last_cow_size:0

# Stats
total_connections_received:71691827
total_commands_processed:589077444
instantaneous_ops_per_sec:696
total_net_input_bytes:117546624864
total_net_output_bytes:158171687092
instantaneous_input_kbps:64.35
instantaneous_output_kbps:46.69
rejected_connections:0
sync_full:4
sync_partial_ok:0
sync_partial_err:4
expired_keys:456229
expired_stale_perc:0.02
expired_time_cap_reached_count:0
evicted_keys:1276938
keyspace_hits:54702633
keyspace_misses:147955773
pubsub_channels:2
pubsub_patterns:0
latest_fork_usec:7596
migrate_cached_sockets:0
slave_expires_tracked_keys:0
active_defrag_hits:0
active_defrag_misses:0
active_defrag_key_hits:0
active_defrag_key_misses:0

# Replication
role:master
connected_slaves:1
slave0:ip=172.16.4.124,port=6379,state=online,offset=664495733479,lag=1
master_replid:567d52793ed57d8eb6e9b00eb05d17aec0ecd6e4
master_replid2:8ecbf63bd04876a4db010f007bdf3022df0cc5b5
master_repl_offset:664495755991
second_repl_offset:578168117700
repl_backlog_active:1
repl_backlog_size:1048576
repl_backlog_first_byte_offset:664494707416
repl_backlog_histlen:1048576

# CPU
used_cpu_sys:4239.335236
used_cpu_user:5104.546704
used_cpu_sys_children:2.056233
used_cpu_user_children:14.153302

# SSL
ssl_enabled:no
ssl_connections_to_previous_certificate:0
ssl_connections_to_current_certificate:0
ssl_current_certificate_not_before_date:(null)
ssl_current_certificate_not_after_date:(null)
ssl_current_certificate_serial:0

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=2811569,expires=2810411,avg_ttl=31109109523

@wricardo thanks for reporting! Could it be the version compatibility issue with the core Asynq library (see this chart for version compatibility between core library and the web UI).

Closing this.