[rabbitmq-discuss] Connections loses its only channel, websocket doesn't close

Nikita Tsukanov keks9n at gmail.com
Tue Feb 25 07:04:00 GMT 2014


How to reproduce:
1) Connect to stomp, make some subscriptions
2) Try to SEND something to exchange you don't have rights to, a record
like this will appear in log which is OK:


=ERROR REPORT==== 25-Feb-2014::10:40:32 ===
connection <0.27089.0>, channel 1 - soft error:
{amqp_error,access_refused,
            "access to exchange 'production.main.services.presence' in
vhost 'frontend' refused for user
'{\"userId\":1,\"namespaces\":[\"production.main\"]}'",
            'basic.publish'}


3)
https://lh4.googleusercontent.com/-YXrCFotPYRk/Uww8v7H0FHI/AAAAAAAADXM/dtH_H3ZzkE8/s756/file2nqmNa.png
Websocket remains active, js is able to send messages, without any reaction
althrough.

Expected behaviour:
Connection should be closed with the channel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140225/34ff0ff3/attachment.html>


More information about the rabbitmq-discuss mailing list