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

Anycable-rails and Seachkick together hangs the server #178

Closed
davidklsn opened this issue Nov 4, 2022 · 2 comments
Closed

Anycable-rails and Seachkick together hangs the server #178

davidklsn opened this issue Nov 4, 2022 · 2 comments

Comments

@davidklsn
Copy link

davidklsn commented Nov 4, 2022

I have been using Anycable in production for a year now and just love it! I added Searchkick, but then the server just keeps freezing. Any guidance or help with this would be highly appreciated. I have a tried everything I can think of.. I have posted this issue in the Searchkick repo but they could not help me.

What I did
Added the Searchkick gem in a working application using Anycable.

What I expected
Everything working as normal

What happened
Server can't take any requests and just hangs. Nothing in the logs. The client just tries to load the page until I kill the server.

I tried to isolate everything in a new rails project with the same versions. It seems to be an issue when running Anycable-rails together with Searchkick. I can reproduce the issue here: https://github.com/davidklsn/searchkick-anycable-incompatibility

OS: Ubuntu 20.04.5

Versions
ruby 3.0.1
rails 7.0.4

searchkick (5.1.0)
anycable (1.2.3)
anycable-rails (1.3.4)
grpc (1.50.0 x86_64-linux)

Cheers!

@palkan
Copy link
Member

palkan commented Nov 4, 2022

I can reproduce the issue here: https://github.com/davidklsn/searchkick-anycable-incompatibility

What are the reproduction steps? I launched the app (bin/rails s) and I can the default Rails welcome page.

@palkan palkan added the awaiting response Awaiting response from the reporter label Nov 4, 2022
@davidklsn
Copy link
Author

Okey! Thanks for trying to reproduce it. There is no more steps than that. It it is probably something on my local machine then. I will close this issue and do further investigations. Cheers!

@palkan palkan removed the awaiting response Awaiting response from the reporter label Nov 5, 2022
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