Stomp.js Direct connection RabbitMQ, connection failed to subscribe to Times with subscribe after successful connection: precondition_failed

var ws = new WebSocket("ws://192.168.11.91:15674/ws");
// Stomp client
var client = Stomp.over(ws);
this.client = client;

this.client.heartbeat.outgoing = 0;
this.client.heartbeat.incoming = 0;
var self = this;

// 
var on_connect = function(x) {
    console.log("RabbitMQ ");
    self.client.subscribe("o.u."+this.currentUser.userId, this.handleMessage);
};

// 
var on_error =  function(err) {
     console.log("RabbitMQ :" + err);
};

// RabbitMQ
 this.client.connect("admin", "guoguo", on_connect, on_error, "/");

where is the problem of asking for advice?

Jan.11,2022
Menu