Replies: 2 comments 5 replies
-
|
Let's check the configuration picked up by AnyCable is correct. Can you please show the output of the following command: $ bin/rails runner "puts AnyCable.config"
... |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
I really over complicated this! instead of what I was trying to do initially I rolled back both servers to run without TLS (standard config matching the demo app) and proxied 8085 through puma dev |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm trying to set up anycable for a Rails app dev environment that runs https with puma-dev but Im having issues with starting the rpc server specifically with setting up tls using the private CA
in my app I have the following config:
In the main app
config/anycable.ymlconfig/cable.ymlconfig/initializers/anycable.rbcable.jshotwired_setup.jsIn a docker compose that runs services connected to main app
anycable-goseems to be working perfectly fine!when i run
docker-compose up anycable_goI get the followingdocker compose up anycable_go [789df58] [+] Running 3/0 ✔ Container docker-compose-anycable_go_certs-1 Created 0.0s ✔ Container docker-compose-redis-1 Running 0.0s ✔ Container docker-compose-anycable_go-1 Created 0.0s Attaching to docker-compose-anycable_go-1 docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.132Z context=main 🔧 🔧 🔧 Debug mode is on 🔧 🔧 🔧 docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z context=main Starting AnyCable 1.4.6-06129c8 (pid: 1, open file limit: 1048576, gomaxprocs: 6) docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z context=main JWT identification is enabled (param: jid, enforced: false) docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z context=main Using channels router: Turbo::StreamsChannel docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z context=main Anonymized telemetry is on. Learn more: https://docs.anycable.io/anycable-go/telemetry docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z docker-compose-anycable_go-1 | context=main Using in-memory broker (epoch: C_VF, history limit: 100, history ttl: 300s, sessions ttl: 300s) docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.132Z context=disconnector docker-compose-anycable_go-1 | Calls rate: 10ms docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z context=pubsub Starting Redis pub/sub: redis:6379 docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.132Z consumer=IygWkh docker-compose-anycable_go-1 | context=broadcast id=IygWkh provider=redisx stream=__anycable__ Starting Redis broadcaster at redis:6379 docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.133Z context=rpc RPC controller initialized: example.test:50051 (concurrency: 28, impl: grpc, enable_tls: true, proto_versions: v1) docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.134Z context=main Handle WebSocket connections at https://example.test8085/cable docker-compose-anycable_go-1 | I 2023-12-01T03:49:33.134Z context=main Handle health requests at https://example.test:8085/health docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.134Z context=main Go pools initialized (remote commands: 256) docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.134Z context=metrics No metrics writers. Disable metrics rotation docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.136Z docker-compose-anycable_go-1 | context=http Starting WebSocket server at https://example.test:8085 docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.139Z channel=__anycable_internal__ context=pubsub Subscribing docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.139Z context=pubsub Subscription message: {subscribe __anycable_internal__ 1} docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.139Z channel=__anycable_internal__ context=pubsub Subscribed docker-compose-anycable_go-1 | D 2023-12-01T03:49:33.139Z context=broadcast id=IygWkh provider=redisx Redis consumer group already existsBeta Was this translation helpful? Give feedback.
All reactions