-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Issues deploying to Heroku #133
Comments
I think, that could be related to the default anycable-go host change: https://docs.anycable.io/v1/#/upgrade-notes/0_6_0_to_1_0_0?id=default-host-changed Could you please try to change server command to |
Reproduced this on Heroku. Adding P.S. Here is a new demo app for v1.0 configured to run on Heroku: anycable/anycable_rails_demo#4 |
This did the trick, thanks for the help! |
Tell us about your environment
Ruby version: 2.6.6
Rails version: 6.0.3.2
anycable
gem version: 1.0.0.rc2anycable-rails
gem version: pulling from master branch,gem 'anycable-rails', github: "anycable/anycable-rails"
grpc
gem version: 1.28.0What did you do?
Setup our Rails app for anycable by following all the instructions here: https://docs.anycable.io/v1/#/deployment/heroku.
Procfile:
config/cable.yml
config/anycable.yml
What did you expect to happen?
That anycable-go and the rpc server would start :)
What actually happened?
It starts up:
But then crashes:
Other context:
I was able to run
heroku run bash
and then manually run:bundle exec anycable --server-command="anycable-go"
.When I do that, it starts up just fine and doesn't show any error messages:
@palkan Do you have any ideas on what might be going on? Any pointers would be greatly appreciated.
The text was updated successfully, but these errors were encountered: