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

504 time out when searching for anime #228

Closed
AlexKautz opened this issue Jan 25, 2025 · 2 comments
Closed

504 time out when searching for anime #228

AlexKautz opened this issue Jan 25, 2025 · 2 comments

Comments

@AlexKautz
Copy link

AlexKautz commented Jan 25, 2025

Describe the bug
504 time out when searching for anime

To Reproduce
Steps to reproduce the behavior:

  1. run anipy-cli -D -l .
  2. "Do you want to search in season?" "N"
  3. Search "doctor detective" (Other terms reproduce but this is the one I am testing with)
    Expected behavior
    CLI list anime results

Info

(ani-venv) PS C:\Users\alexg\AN2025> anipy-cli --version
3.3.5

PS C:\Users\alexg> cd .\AN2025\
PS C:\Users\alexg\AN2025> .\ani-venv\Scripts\Activate.ps1
(ani-venv) PS C:\Users\alexg\AN2025> anipy-cli -D -l .
***Download Mode***
Downloads are stored in: .
? Do you want to search in season? No
Hint: you can set `skip_season_search` to `true` in the config to skip this prompt!
? Search Anime: doctor detective
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\alexg\AN2025\ani-venv\Scripts\anipy-cli.exe\__main__.py", line 7, in <module>
    sys.exit(run_cli())
             ~~~~~~~^^
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_cli\cli.py", line 60, in run_cli
    cli_class(options=args).run()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_cli\clis\base_cli.py", line 31, in run
    ret = func()
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_cli\clis\download_cli.py", line 55, in take_input
    anime = self._get_anime_from_user()
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_cli\clis\download_cli.py", line 46, in _get_anime_from_user
    return search_show_prompt("download")
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_cli\prompts.py", line 53, in search_show_prompt
    for x in provider.get_search(query)
             ~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_api\provider\providers\anivibe_provider.py", line 95, in get_search
    res = self._request_page(req)
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_api\provider\base.py", line 159, in _request_page
    return request_page(self.session, req)
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\anipy_api\provider\utils.py", line 26, in request_page
    res.raise_for_status()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "C:\Users\alexg\AN2025\ani-venv\Lib\site-packages\requests\models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://anivibe.net/search.html?keyword=doctor+detective&page=1

Platform

  • OS: Windows (Though I also get it on mac)
  • I have tried on both mac and windows, and my wifi + phone hotspot

Additional context
Add any other context about the problem here, e.g. your config if related.

  • I use the default config.
  • I get a similar error when searching in season. (2025 winter)
  • Let me know if you can reproduce or if you want more info!
@S0litaire
Copy link

Timeouts are a server side not app issue (it's at Anivibe's end).
Just give it a day or so and things should sort themselves out.

@AlexKautz
Copy link
Author

The source of this is https://anivibe.net/ itself being down, same root cause as #229. I can close this as a duplicate while we wait for the site to come back up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants