Skip to content

Commit 3ddea4a

Browse files
authored
Merge pull request #1946 from OpenC3/anycable_localhost
Force anycable to use 127.0.0.1 rather than localhost to avoid ipv6 issues
2 parents e73499d + 94caca6 commit 3ddea4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openc3-cosmos-cmd-tlm-api/Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ web: bin/rails s -b 0.0.0.0 -p 2901
33
ws: anycable-go --host 0.0.0.0 --port 3901 --path /openc3-api/cable --log_level error
44
# Ruby logging is log-level (https://docs.anycable.io/ruby/logging?id=logging)
55
# but Rails overrides this so we set it in config/application.rb
6-
rpc: bundle exec anycable --broadcast_adapter http
6+
rpc: bundle exec anycable --broadcast_adapter http --http_broadcast_url http://127.0.0.1:8090/_broadcast

openc3-cosmos-script-runner-api/Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ web: bin/rails s -b 0.0.0.0 -p 2902
33
ws: anycable-go --host 0.0.0.0 --port 3902 --path /script-api/cable
44
# Ruby logging is log-level (https://docs.anycable.io/ruby/logging?id=logging)
55
# but Rails overrides this so we set it in config/application.rb
6-
rpc: bundle exec anycable --broadcast_adapter http
6+
rpc: bundle exec anycable --broadcast_adapter http --http_broadcast_url http://127.0.0.1:8090/_broadcast

0 commit comments

Comments
 (0)