我刚刚安装了Erlang 19.0,然后是Rabbitmq Server 3.6.3。操作系统 - Windows 10.然后我安装了rabbitmq_management插件,然后我启动了rabbitmq-server。我可以成功登录管理控制台。问题是,当我进入队列时,我得到了错误:
回复代码500与正文{"错误":" JSON编码错误: {bad_term,#{error_logger =>是的,kill => true,size => 0}}","原因":"编码时:\ n [{total_count,1},\ n {item_count,1},\ n {filtered_count,1},\ n {page,1},\ n {page_size,100},\ n {page_count,1},\ n {items,\ n [[{memory,22048},\ n {减少,6633},\ n {reductions_details,[{rate,0.0}]},\ n {messages,0},\ n {messages_details,[{rate,0.0}]},\ n {messages_ready,0},\ n {messages_ready_details,[{速率,0.0}]},\ n {messages_unacknowledged,0},\ n {messages_unacknowledged_details,[{速率,0.0}]},\ n {idle_since,<< \" 2016-07-08 20:55:04 \">>},\ n {consumer_utilisation,'},\ n {policy,''},\ n {exclusive_consumer_tag,'},\ n {消费者,1},\ n {recoverable_slaves,'},\ n {state,running},\ n {减少,6633},\ n {garbage_collection,\ n [{max_heap_size,#{error_logger =>是的,kill => true,size => 0}},\ n {min_bin_vheap_size,46422},\ n {min_heap_size,233},\ n {fullsweep_after,65535},\ n {minor_gcs,3}]},\ n {messages_ram,0},\ n {messages_ready_ram,0},\ n {messages_unacknowledged_ram,0},\ n {messages_persistent,0},\ n {message_bytes,0},\ n {message_bytes_ready,0},\ n {message_bytes_unacknowledged,0},\ n {message_bytes_ram,0},\ n {message_bytes_persistent,0},\ n {head_message_timestamp,''},\ n {disk_reads,0},\ n {disk_writes,0},\ n {backing_queue_status,\ n {struct,\ n [{mode,default},\ n {q1,0},\ n {q2,0},\ n {delta,[delta,undefined,0,undefined]},\ n {q3,0},\ n {q4,0},\ n {len,0},\ n {target_ram_count,infinity},\ n {next_seq_id,0},\ n {avg_ingress_rate,0.0},\ n {avg_egress_rate,0.0},\ n {avg_ack_ingress_rate,0.0},\ n {avg_ack_egress_rate,0.0}]}},\ n {node,' rabbit @ DESKTOP-330SD1I'},\ n {arguments,{struct,[]}},\ n {exclusive,false},\ n {auto_delete,false},\ n {durable,true},\ n {vhost,<< \" / \">>},\ n {name,<< \" queue1 \">>}] ]}]"}
如果我从自己身上移除了访问" /"虚拟主机错误消失,但没有显示队列,我认为这是错误的,因为我有一个正在运行的应用程序,它发送和发送消息。
Here is最接近我的问题,但这些解决方案并没有帮助。
P.S。我甚至不希望有人帮助我,我只是想发布这个问题,所以至少可以用Google搜索这个错误。
答案 0 :(得分:17)
Erlang 19存在一些已知问题,discussed in the RMQ Google Group, here。
换句话说,3.6.3实际上不是Erlang 19.0兼容:
您需要安装以前版本的Erlang,直到可以重新构建RMQ以支持Erlang 19中的更改
答案 1 :(得分:3)
我已经安装了Erlang OTP 18.0,RabbitMq 3.6.3管理控制台开始正常工作。在我尝试使用OTP 19.0之前,我在浏览Web控制台时遇到了错误。
答案 2 :(得分:2)
我将RabbitMQ升级为 3.6.5 ,错误得到解决。它现在正在使用Erlang 19.0 。