rabbitmq / rabbitmq-web-stomp

Provides support for STOMP over WebSockets
Other
89 stars 26 forks source link

Connections loses its only channel, websocket doesn't close #6

Closed kekekeks closed 10 years ago

kekekeks commented 10 years ago

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 through.

Expected behaviour: Connection should be closed with the channel.

michaelklishin commented 10 years ago

Thank you for reporting. This repository is a mirror. Please post this to rabbitmq-discuss.