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 Server Error: Gateway Time-out for url #124

Open
vanyamlb opened this issue Jun 6, 2021 · 0 comments
Open

504 Server Error: Gateway Time-out for url #124

vanyamlb opened this issue Jun 6, 2021 · 0 comments

Comments

@vanyamlb
Copy link

vanyamlb commented Jun 6, 2021

Hi! Recently me and my friends started experiencing this problem while downloading, reinstalling, and updating everything didn't help.

Traceback (most recent call last):
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\vanya\AppData\Local\Programs\Python\Python39\Scripts\tcd.exe\__main__.py", line 7, in <module>
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\__init__.py", line 92, in main
    Downloader().channels(Arguments().channels)
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\downloader.py", line 195, in channels
    self.video(video)
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\downloader.py", line 143, in video
    for formatted_comment, comment in comment_tuple:
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\tcd\formats\custom.py", line 29, in comment_generator
    for comment in comments:
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\twitch\v5\resources\comments.py", line 22, in __iter__
    fragment = self.fragment(fragment['_next'])
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\twitch\v5\resources\comments.py", line 16, in fragment
    return self._api.get(self._path.format(video_id=self._video_id), params={'cursor': cursor})
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\twitch\api.py", line 111, in get
    return self.request('GET', path, ignore_cache, params=params, headers=self._headers(headers), **kwargs)
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\twitch\api.py", line 100, in request
    response.raise_for_status()
  File "c:\users\vanya\appdata\local\programs\python\python39\lib\site-packages\requests\models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 504 Server Error: Gateway Time-out for url: https://api.twitch.tv/v5/videos/1047397105/comments?cursor=eyJpZCI6IjI3YTRkNzEzLTQ2MjMtNGVmMi04YTExLThkOGRmMjJmZjk3NyIsImhrIjoiYnJvYWRjYXN0OjQyMjM3OTQ3OTE3Iiwic2siOiJBQUFGVW5hR3dZQVdoZVdrUlI4c2dBIn0f

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

1 participant