QIN2DIM / epic-awesome-gamer

🍷 Gracefully claim weekly free games and monthly content from Epic Store.
https://echosec.notion.site/Epic-7c74f1e29117420dbac5551e4b031f82?pvs=4
GNU General Public License v3.0
886 stars 364 forks source link

使用github actions启动,一直执行超时 - {'task': 'authorize', 'retry': 1} #236

Closed ji199875 closed 9 months ago

ji199875 commented 9 months ago
` {2023-11-17 10:01:55 | INFO - Try to flush cookie - {'task': 'claim_epic_games'}
2023-11-17 10:01:58 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-17 10:02:03 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}

Installing models/nested_largest_elephant22309.onnx:   0%|          | 0.00/296k [00:00<?, ?B/s]
Installing models/nested_largest_elephant22309.onnx: 100%|██████████| 296k/296k [00:00<00:00, 58.3MB/s]

Installing models/nested_largest_lion2309.onnx:   0%|          | 0.00/296k [00:00<?, ?B/s]
Installing models/nested_largest_lion2309.onnx: 100%|██████████| 296k/296k [00:00<00:00, 51.3MB/s]

Installing models/nested_largest_squirrel2310.onnx:   0%|          | 0.00/296k [00:00<?, ?B/s]
Installing models/nested_largest_squirrel2310.onnx: 100%|██████████| 296k/296k [00:00<00:00, 73.3MB/s]
2023-11-17 10:02:06 | DEBUG - rank model - {'resnet': 'nested_largest_squirrel2310.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-17 10:02:15 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-17 10:02:25 | DEBUG - unsupervised - {'type': 'binary', 'candidate_labels': ['This is a picture that looks like images of one type that appear colder in comparison to other.', "This is a picture that don't look like images of one type that appear colder in comparison to other."], 'prompt': 'Please select all images of one type that appear colder in comparison to other images', 'timit': '1.419s'}
2023-11-17 10:02:36 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'retry'}
2023-11-17 10:02:42 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-17 10:02:52 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-17 10:03:22 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 0}
2023-11-17 10:03:25 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-17 10:03:30 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}
2023-11-17 10:03:31 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-17 10:03:39 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-17 10:04:09 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 1}
2023-11-17 10:04:13 | INFO - login-with-email - {'url': 'https://www.epicgames.com/id/login?lang=en-US&noHostRedirect=true&redirectUrl=https://store.epicgames.com/en-US/free-games'}
2023-11-17 10:04:18 | DEBUG - Attack challenge - {'stage': 'email_exists_prod'}
2023-11-17 10:04:18 | DEBUG - rank model - {'resnet': 'nested_largest_lion2309.onnx', 'prompt': 'Please click on each image containing the largest animal in real life'}
2023-11-17 10:04:25 | DEBUG - Parse result - {'stage': 'email_exists_prod', 'result': 'success'}
2023-11-17 10:04:55 | WARNING - 执行超时 - {'task': 'authorize', 'retry': 2}
2023-11-17 10:04:56 | ERROR - An error has been caught in function 'run', process 'MainProcess' (3559), thread 'MainThread' (140196760964160): - {}
Traceback (most recent call last):
  File "/home/runner/work/epic_auto/epic_auto/epic/src/claim.py", line 171, in <module>
    asyncio.run(run())
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/asyncio/events.py", line [80](https://github.com/ji199875/epic_auto/actions/runs/6898908286/job/18769667254#step:6:81), in _run
    self._context.run(self._callback, *self._args)
> File "/home/runner/work/epic_auto/epic_auto/epic/src/claim.py", line 167, in run
    await agent.stash()
  File "/home/runner/work/epic_auto/epic_auto/epic/src/claim.py", line 160, in stash
    await self.claim_epic_games(context)
  File "/home/runner/work/epic_auto/epic_auto/epic/src/claim.py", line [97](https://github.com/ji199875/epic_auto/actions/runs/6898908286/job/18769667254#step:6:98), in claim_epic_games
    if await epic.authorize(page):
  File "/home/runner/work/epic_auto/epic_auto/epic/src/epic_games/agent.py", line 261, in authorize
    raise RuntimeError(f"Failed to flush token - agent={self.__class__.__name__}")
RuntimeError: Failed to flush token - agent=EpicGames} `
ji199875 commented 9 months ago

无论重试多少次,一直都是这个结果

QIN2DIM commented 9 months ago

收,这个是 solver 的问题,