-
Notifications
You must be signed in to change notification settings - Fork 60
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
onReceived is never called #19
Comments
Same problem |
@nmiloserdov check if you're using "async" on backend and change to "redis". Worked for me. |
@patrickemuller I use 'redis' by default. What do you mean by using "async" on the backend? |
There is and option on |
@patrickemuller I found the problem. ActilnCable rejected my connection because of the custom validation of the user id. |
@cpunion you just need to describe these methods on documentation :) |
@nmiloserdov @cpunion Also, I added |
What I'm trying to do?
I'm trying to use the backend with some background jobs to notify user about the "processing" time of some CSV file. For that, I'm notifying the frontend about the processed rows of the file, but,
onReceived
function is never called. What I'm doing wrong?Backend
(this is working, tested manually)
Frontend
(this is not working, OnReceived is never called)
App.js (REACT_APP_WS_URL is localhost:3001/cable for development)
ProgressBar.js
The text was updated successfully, but these errors were encountered: