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

ActionCabel issue - Connections cannot be established with probability #31089

Closed
liuziyuan opened this issue Nov 8, 2017 · 1 comment
Closed

Comments

@liuziyuan
Copy link

liuziyuan commented Nov 8, 2017

Steps to reproduce

F5 to Refresh browser, the code is

const auction = ActionCable.createConsumer().subscriptions.create({
channel: 'AuctionChannel',
auction_id: '1',
user_id: '2'
}, {
connected () {
console.log('-----message client connected ------------')
},
disconnected () {
console.log('-----message client disconnected ------------')
}

Expected behavior

will be show console

console.log('-----message client connected ------------')

when connected ,then show :
screenshot from 2017-11-08 20-57-29

Actual behavior

sometimes , Don't show connected log
if not connect , then show :
screenshot from 2017-11-08 20-56-54

System configuration

Rails version:
5.1.4
Ruby version:
2.4.1

@liuziyuan liuziyuan changed the title Connections cannot be established with probability ActionCabel issue - Connections cannot be established with probability Nov 8, 2017
@rails-bot rails-bot bot added the stale label Feb 8, 2018
@rails-bot
Copy link

rails-bot bot commented Feb 8, 2018

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 Feb 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants