通过STOMP连接到rabbitmq时处理错误

2024-05-05 21:47:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我尝试使用telnet通过STOMP协议连接到RabbitMQ(v2.5.1),得到以下错误:

  #telnet localhost 61613

  Trying ::1...
  Connected to localhost.localdomain.
  Escape character is '^]'.
  CONNECT
  login:guest
  passcode:guest

  ^@  
  ERROR
  message:Processing error
  content-type:text/plain
  version:1.0,1.1
  content-length:17


  Processing error

SASL日志给出:

^{pr2}$

rabbit节点上运行的应用程序:

Eshell V5.7.4  (abort with ^G)
(rabbit@skynet)1> application:which_applications().
[{amqp_client,"RabbitMQ AMQP Client","2.3.1"},
 {rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","2.5.1"},
 {rabbit,"RabbitMQ","2.5.1"},
 {mnesia,"MNESIA  CXC 138 12","4.4.12"},
 {os_mon,"CPO  CXC 138 46","2.2.4"},
 {sasl,"SASL  CXC 138 11","2.1.8"},
 {stdlib,"ERTS  CXC 138 10","1.16.4"},
 {kernel,"ERTS  CXC 138 10","2.13.4"}]

当我试图通过pythonstomp连接时,也会发生同样的错误(http://code.google.com/p/stomppy)或者php-stomp(http://pecl.php.net/package/stomp)模块。在

提前谢谢!在


Tags: localhosthttp错误rabbitmqerrorcontenttelnetphp