File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
crates/challenge-orchestrator/src Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,19 @@ impl ChallengeOrchestrator {
6060 docker. ensure_network ( ) . await ?;
6161
6262 // Try to connect the current container to the network (if running in Docker)
63- if let Err ( e) = docker. connect_self_to_network ( ) . await {
64- tracing:: debug!( "Could not connect to network (may not be in Docker): {}" , e) ;
63+ // This is CRITICAL for communication with challenge containers
64+ match docker. connect_self_to_network ( ) . await {
65+ Ok ( _) => {
66+ tracing:: info!( "Validator container connected to {} network" , PLATFORM_NETWORK ) ;
67+ }
68+ Err ( e) => {
69+ tracing:: warn!(
70+ "Could not connect validator to {} network: {}. \
71+ Challenge containers may not be reachable. \
72+ Ensure validator is started with --network {} or add network in docker-compose.",
73+ PLATFORM_NETWORK , e, PLATFORM_NETWORK
74+ ) ;
75+ }
6576 }
6677
6778 let challenges = Arc :: new ( RwLock :: new ( HashMap :: new ( ) ) ) ;
You can’t perform that action at this time.
0 commit comments