Docker(rcll-refbox関係)でのエラー
■refbox-frontend exited with code 1
refbox-frontend | (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 refbox-frontend | (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
rcll-refbox-frontend が,従来の8080番ポートではなく80番ポートで起動しようとしています.
Docker を動かしている元々のマシンでもwebサーバを動かしていたら,ぶつかってしまうためエラーになっている模様.
refbox exited with code 139
Exit Codes In Containers & Kubernetes – The Complete GuideのExit Code 139: Segmentation Fault (SIGSEGV)を参照.
Segmentation faultによって,SIGSEGVが飛んできている模様.
refbox | terminate called after throwing an instance of 'mongocxx::v_noabi::bulk_write_exception' refbox | what(): No suitable servers found (`serverSelectionTryOnce` set): [connection refused calling hello on 'localhost:27017']: generic server error refbox exited with code 139
refbox からmongoDBを呼び出すところで,うまくいっていないのかなぁ.
→ config/refbox/mongodb.yaml の enableをtrueからfalseにしてみたら上記のエラーは消えたけど,139のエラーは変わらず….
↑ falseにしちゃうとログが取れなくなります.true にしたまま,別端末からdocker exec -it refbox /bin/bash でログインして,kill 1でrefbox を落としましょう.そうすると,再起動してmongo-dbに再接続してくれます.
refbox | 06:40:17.883343 WebviewServer: Initializing thread refbox | 06:40:17.886749 WebviewServer: Listening for HTTP connections on port 8088 (IPv4,IPv6) refbox exited with code 139
落ちるのは,この辺.
ネットワーク関係かなぁ….
comm.yaml が原因でした.
Docker 内のrefbox とgit のrefbox のバージョンが合っていないっぽい.
comm.yaml の最初の方のprotobuf-dirs が変わっていました.
protobuf-dirs: ["@SHAREDIR@/msgs/rcll-protobuf-msgs"]
そして,最後に以下のcontrol-via-broadcast が追加されていました.
# Turn this on if messages to instruct the refbox # (SetTeamName, SetGameState, SetGamePhase) # are also accepted from broadcast clients (e.g., the robots) control-via-broadcast: false
コメントを残す