Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionCable Connections hanging #30754

Closed
fabriciofreitag opened this issue Sep 29, 2017 · 1 comment
Closed

ActionCable Connections hanging #30754

fabriciofreitag opened this issue Sep 29, 2017 · 1 comment
Labels

Comments

@fabriciofreitag
Copy link

I'm not sure if I'm missing something, but here it goes..

Steps to reproduce

1 - Given an actioncable connection with two identifiers;
2 - Connect one user passing both identifiers;
3 - Close the browser or call unsubscribe;
4 - Open rails console and disconnect that specific connection manually
image

Expected behavior

After unsubscribing / manually disconnecting I would expect the connection to no longer be listed in Redis pubsub, or at least some state change on ActionCable.server.remote_connections.

Actual behavior

The connection seems to live in redis pubsub and ActionCable.server.remote_connections.

System configuration

Rails version:
Rails 5.1.4
Ruby version:
2.4.2

@fabriciofreitag fabriciofreitag changed the title Connections hanging ActionCable Connections hanging Sep 29, 2017
@rails-bot rails-bot bot added the stale label Dec 29, 2017
@rails-bot
Copy link

rails-bot bot commented Dec 29, 2017

This issue has been automatically marked as stale because it has not been commented on for at least three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 5-1-stable branch or on master, please reply with all of the information you have about it in order to keep the issue open.
Thank you for all your contributions.

@rails-bot rails-bot bot closed this as completed Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant