Skip to content

在Github Action中运行出错 #269

@OldNoobHK

Description

@OldNoobHK
Image 这是在Run Epic Awesome Gamer的日志:

Run docker run
Unable to find image 'ghcr.io/qin2dim/epic-awesome-gamer:latest' locally
latest: Pulling from qin2dim/epic-awesome-gamer
ac0c285abb48: Pulling fs layer
8718a27c6ba2: Pulling fs layer
5fe2be525f44: Pulling fs layer
5e1ef7970f6f: Pulling fs layer
3fd617ac475c: Pulling fs layer
0eeaf5270c23: Pulling fs layer
d094e3af2759: Pulling fs layer
cdae203a018a: Pulling fs layer
0254efda8845: Pulling fs layer
bad69dd731fb: Pulling fs layer
0eeaf5270c23: Waiting
d094e3af2759: Waiting
5e1ef7970f6f: Waiting
3fd617ac475c: Waiting
cdae203a018a: Waiting
0254efda8845: Waiting
bad69dd731fb: Waiting
5fe2be525f44: Verifying Checksum
5fe2be525f44: Download complete
ac0c285abb48: Verifying Checksum
ac0c285abb48: Download complete
3fd617ac475c: Verifying Checksum
3fd617ac475c: Download complete
0eeaf5270c23: Download complete
8718a27c6ba2: Verifying Checksum
8718a27c6ba2: Download complete
cdae203a018a: Verifying Checksum
cdae203a018a: Download complete
d094e3af2759: Verifying Checksum
d094e3af2759: Download complete
bad69dd731fb: Verifying Checksum
bad69dd731fb: Download complete
ac0c285abb48: Pull complete
5e1ef7970f6f: Verifying Checksum
5e1ef7970f6f: Download complete
0254efda8845: Verifying Checksum
0254efda8845: Download complete
8718a27c6ba2: Pull complete
5fe2be525f44: Pull complete
5e1ef7970f6f: Pull complete
3fd617ac475c: Pull complete
0eeaf5270c23: Pull complete
d094e3af2759: Pull complete
cdae203a018a: Pull complete
0254efda8845: Pull complete
bad69dd731fb: Pull complete
Digest: sha256:69170ddd2c2c4facbece178bc2fad0518e0b76d943714513bb76a12c9f4091a5
Status: Downloaded newer image for ghcr.io/qin2dim/epic-awesome-gamer:latest
2025-07-28 09:23:25 | DEBUG | main:deploy:108 | Starting deployment with configuration: {
"GEMINI_API_KEY": "",
"cache_dir": "/app/app/volumes/hcaptcha/.cache",
"challenge_dir": "/app/app/volumes/hcaptcha/.challenge",
"captcha_response_dir": "/app/app/volumes/hcaptcha/.captcha",
"ignore_request_types": [],
"ignore_request_questions": [
"Please drag the crossing to complete the lines"
],
"DISABLE_BEZIER_TRAJECTORY": true,
"EXECUTION_TIMEOUT": 120.0,
"RESPONSE_TIMEOUT": 30.0,
"RETRY_ON_FAILURE": true,
"WAIT_FOR_CHALLENGE_VIEW_TO_RENDER_MS": 1500,
"CONSTRAINT_RESPONSE_SCHEMA": true,
"CHALLENGE_CLASSIFIER_MODEL": "gemini-2.5-flash",
"IMAGE_CLASSIFIER_MODEL": "gemini-2.5-pro",
"SPATIAL_POINT_REASONER_MODEL": "gemini-2.5-pro",
"SPATIAL_PATH_REASONER_MODEL": "gemini-2.5-pro",
"IMAGE_CLASSIFIER_THINKING_BUDGET": 970,
"SPATIAL_POINT_THINKING_BUDGET": 1387,
"SPATIAL_PATH_THINKING_BUDGET": 4096,
"coordinate_grid": {
"x_line_space_num": 15,
"y_line_space_num": 20,
"color": "gray",
"adaptive_contrast": false
},
"enable_challenger_debug": false,
"EPIC_EMAIL": "
",
"EPIC_PASSWORD": "
***",
"ENABLE_APSCHEDULER": true,
"TASK_TIMEOUT_SECONDS": 900,
"REDIS_URL": "redis://redis:6379/0",
"CELERY_WORKER_CONCURRENCY": 1,
"CELERY_TASK_TIME_LIMIT": 1200,
"CELERY_TASK_SOFT_TIME_LIMIT": 900,
"headless": true
}
2025-07-28 09:23:25 | DEBUG | main:execute_browser_tasks:55 | Starting Epic Games collection task
2025-07-28 09:23:28 | DEBUG | main:execute_browser_tasks:69 | Browser initialized successfully
2025-07-28 09:23:28 | DEBUG | main:execute_browser_tasks:72 | Initiating Epic Games authentication
2025-07-28 09:23:35 | DEBUG | services.epic_authorization_service:_login:74 | Login with Email
2025-07-28 09:23:51 | DEBUG | hcaptcha_challenger.agent.challenger:_solve_captcha:841 | Start Challenge - type=image_label_single_select count=2
2025-07-28 09:24:05 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [1/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 685, 'y': 584}]"
}
2025-07-28 09:24:18 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [2/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 827, 'y': 403}]"
}
2025-07-28 09:24:19 | DEBUG | hcaptcha_challenger.agent.challenger:wait_for_challenge:919 | Start checking captcha response
2025-07-28 09:24:21 | SUCCESS | hcaptcha_challenger.agent.challenger:wait_for_challenge:937 | Challenge success
2025-07-28 09:24:21 | ERROR | services.epic_authorization_service:_on_response_anything:39 | POST https://www.epicgames.com/id/api/login - {
"errorCode": "errors.com.epicgames.accountportal.captcha_invalid",
"message": "Incorrect response. Please refresh the page.",
"correlationId": "96acdec0-6b51-11f0-98eb-4dc4692d065b"
}
2025-07-28 09:25:21 | WARNING | services.epic_authorization_service:_login:108 |
2025-07-28 09:25:24 | DEBUG | services.epic_authorization_service:_login:74 | Login with Email
2025-07-28 09:25:29 | ERROR | hcaptcha_challenger.agent.challenger:_task_handler:722 | An error occurred while injecting hsw script: Page.evaluate: "btoa" is read-only
ZpJncd@debugger eval code line 291 > eval:2:880250
@debugger eval code line 291 > eval:2:892969
evaluate@debugger eval code:291:30
@debugger eval code:1:44

2025-07-28 09:25:33 | DEBUG | hcaptcha_challenger.agent.challenger:_solve_captcha:841 | Start Challenge - type=image_label_single_select count=2
2025-07-28 09:25:45 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [1/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 933, 'y': 392}]"
}
2025-07-28 09:26:00 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [2/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 570, 'y': 380}]"
}
2025-07-28 09:26:02 | DEBUG | hcaptcha_challenger.agent.challenger:wait_for_challenge:919 | Start checking captcha response
2025-07-28 09:26:03 | SUCCESS | hcaptcha_challenger.agent.challenger:wait_for_challenge:937 | Challenge success
2025-07-28 09:26:04 | ERROR | services.epic_authorization_service:_on_response_anything:39 | POST https://www.epicgames.com/id/api/login - {
"errorCode": "errors.com.epicgames.accountportal.captcha_invalid",
"message": "Incorrect response. Please refresh the page.",
"correlationId": "d3fc0f80-6b51-11f0-8e94-1de8bcc27ec0"
}
2025-07-28 09:27:03 | WARNING | services.epic_authorization_service:_login:108 |
2025-07-28 09:27:07 | DEBUG | services.epic_authorization_service:_login:74 | Login with Email
2025-07-28 09:27:12 | ERROR | hcaptcha_challenger.agent.challenger:_task_handler:722 | An error occurred while injecting hsw script: Page.evaluate: "btoa" is read-only
ZpJncd@debugger eval code line 291 > eval:2:880250
@debugger eval code line 291 > eval:2:892969
evaluate@debugger eval code:291:30
@debugger eval code:1:44

2025-07-28 09:27:12 | ERROR | hcaptcha_challenger.agent.challenger:_task_handler:722 | An error occurred while injecting hsw script: Page.evaluate: "btoa" is read-only
ZpJncd@debugger eval code line 291 > eval:2:880250
@debugger eval code line 291 > eval:2:892969
evaluate@debugger eval code:291:30
@debugger eval code:1:44

2025-07-28 09:27:16 | DEBUG | hcaptcha_challenger.agent.challenger:_solve_captcha:841 | Start Challenge - type=image_label_single_select count=2
2025-07-28 09:27:29 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [1/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 575, 'y': 550}]"
}
2025-07-28 09:27:41 | DEBUG | hcaptcha_challenger.agent.challenger:challenge_image_label_select:662 | [2/2]ToolInvokeMessage: {
"Challenge Prompt": "Please click on the flower with most petals",
"Coordinates": "[{'x': 915, 'y': 495}]"
}
2025-07-28 09:27:43 | DEBUG | hcaptcha_challenger.agent.challenger:wait_for_challenge:919 | Start checking captcha response
2025-07-28 09:27:44 | SUCCESS | hcaptcha_challenger.agent.challenger:wait_for_challenge:937 | Challenge success
2025-07-28 09:27:45 | ERROR | services.epic_authorization_service:_on_response_anything:39 | POST https://www.epicgames.com/id/api/login - {
"errorCode": "errors.com.epicgames.accountportal.captcha_invalid",
"message": "Incorrect response. Please refresh the page.",
"correlationId": "10155850-6b52-11f0-8f70-9f9bbdef21df"
}
2025-07-28 09:28:44 | WARNING | services.epic_authorization_service:_login:108 |
2025-07-28 09:28:44 | DEBUG | main:execute_browser_tasks:75 | Authentication completed
2025-07-28 09:28:44 | DEBUG | main:execute_browser_tasks:78 | Starting free games collection process
2025-07-28 09:28:51 | ERROR | services.epic_games_service:_should_ignore_task:145 | ❌ context cookies is not available
2025-07-28 09:28:51 | DEBUG | main:execute_browser_tasks:82 | Free games collection completed
2025-07-28 09:28:51 | DEBUG | main:execute_browser_tasks:85 | Cleaning up browser resources
2025-07-28 09:28:52 | DEBUG | main:execute_browser_tasks:93 | Browser tasks execution finished successfully
2025-07-28 09:28:52 | DEBUG | main:deploy:160 | Epic Games scheduler started successfully
2025-07-28 09:28:52 | DEBUG | main:deploy:161 | Current time: 2025-07-28 09:28:52 CST
2025-07-28 09:28:52 | DEBUG | main:deploy:166 | Next execution scheduled: 2025-07-28 12:00:00 CST (job_id: daily_epic_games_task)
2025-07-28 09:28:52 | DEBUG | main:deploy:166 | Next execution scheduled: 2025-07-31 00:30:00 CST (job_id: weekly_epic_games_task)
2025-07-28 09:28:52 | DEBUG | main:deploy:171 | Scheduler is running, send SIGINT or SIGTERM to stop gracefully
Error: The operation was canceled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions