Skip to content
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

BlankBot will not run on ladder #4

Open
pknessness opened this issue Dec 15, 2024 · 2 comments
Open

BlankBot will not run on ladder #4

pknessness opened this issue Dec 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pknessness
Copy link

Relevant controller logs are such:

sc2_controller-1                                      | ConnectHandler: Request from 127.0.0.1:55016 accepted
sc2_controller-1                                      | ReadyHandler: 127.0.0.1:55016 ready
dc09e7f74361_local-play-bootstrap-bot_controller1-1   | 2024-12-14T23:13:52.665079Z DEBUG bot_controller/src/main.rs:108: response generated in 5.023944489s
1a132c133352_local-play-bootstrap-bot_controller2-1   | 2024-12-14T23:14:19.673011Z DEBUG bot_controller/src/main.rs:108: response generated in 32.0328497s
ed58938d1a93_local-play-bootstrap-proxy_controller-1  | 2024-12-14T23:14:19.673308Z ERROR common/src/api/api_reference/mod.rs:232: ResponseError(ResponseContent { status: 400, api_error_message: ApiErrorMessage { error: "Could not find port for started process" } })
ed58938d1a93_local-play-bootstrap-proxy_controller-1  | 2024-12-14T23:14:19.673341Z ERROR proxy_controller/src/match_scheduler/mod.rs:220: Failed to start bot 2: error in response: status code 400 Bad Request
ed58938d1a93_local-play-bootstrap-proxy_controller-1  | Error:ApiErrorMessage { error: "Could not find port for started process" }
ed58938d1a93_local-play-bootstrap-proxy_controller-1  | 2024-12-14T23:14:19.673359Z  INFO proxy_controller/src/match_scheduler/mod.rs:250: AiArenaGameResult { match_id: 8, bot1_avg_step_time: None, bot1_tags: None, bot2_avg_step_time: None, bot2_tags: None, result: InitializationError, game_steps: 0 }
ed58938d1a93_local-play-bootstrap-proxy_controller-1  | 2024-12-14T23:14:19.673372Z  INFO proxy_controller/src/match_scheduler/mod.rs:251: Match finished in 32.065648477s
dc09e7f74361_local-play-bootstrap-bot_controller1-1   | 2024-12-14T23:14:19.681812Z DEBUG bot_controller/src/main.rs:105: started GET /download/bot/basic_bot/log
dc09e7f74361_local-play-bootstrap-bot_controller1-1   | 2024-12-14T23:14:19.681942Z DEBUG download_bot_log{bot_name="basic_bot"}: bot_controller/src/routes.rs:358: Log path: "/logs/basic_bot/stderr.log"
1a132c133352_local-play-bootstrap-bot_controller2-1   | 2024-12-14T23:14:19.685215Z DEBUG bot_controller/src/main.rs:105: started GET /download/bot/BlankBot/log
1a132c133352_local-play-bootstrap-bot_controller2-1   | 2024-12-14T23:14:19.685260Z DEBUG download_bot_log{bot_name="BlankBot"}: bot_controller/src/routes.rs:358: Log path: "/logs/BlankBot/stderr.log"

And specifically the BlankBot log is such:

Connecting to port 8080
Connecting to 127.0.0.1:8080...
Failed to start civetweb server: Failed to setup server ports
@hammer-hao
Copy link

Reverting back to 860630a seem to fix the issue, and anything after the commit e520186 will not work.

Seems like e520186 introduced breaking changes. Perhaps due to the refactoring of civetweb in cpp-sc2?

@alkurbatov
Copy link
Member

Hi @pknessness @hammer-hao
Please check with the latest fixes from cpp-sc2 at 5522219

@alkurbatov alkurbatov added the bug Something isn't working label Dec 28, 2024
@alkurbatov alkurbatov self-assigned this Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants