You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/03/24 16:32:01 UTC
[GitHub] [airflow] kaxil opened a new issue #14985: Docs build are failing with `requests.exceptions.TooManyRedirects` error
kaxil opened a new issue #14985:
URL: https://github.com/apache/airflow/issues/14985
Our docs build is failing with the following error:
```
Fetched inventory: https://googleapis.dev/python/videointelligence/latest/objects.inv
Traceback (most recent call last):
File "/opt/airflow/docs/build_docs.py", line 278, in <module>
main()
File "/opt/airflow/docs/build_docs.py", line 218, in main
priority_packages = fetch_inventories()
File "/opt/airflow/docs/exts/docs_build/fetch_inventories.py", line 126, in fetch_inventories
failed, success = list(failed), list(failed)
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 586, in result_iterator
yield fs.pop().result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 425, in result
return self.__get_result()
File "/usr/local/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/airflow/docs/exts/docs_build/fetch_inventories.py", line 53, in _fetch_file
response = session.get(url, allow_redirects=True, stream=True)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send
history = [resp for resp in gen]
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 677, in <listcomp>
history = [resp for resp in gen]
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 166, in resolve_redirects
raise TooManyRedirects('Exceeded {} redirects.'.format(self.max_redirects), response=resp)
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
###########################################################################################
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] kaxil closed issue #14985: Docs build are failing with `requests.exceptions.TooManyRedirects` error
Posted by GitBox <gi...@apache.org>.
kaxil closed issue #14985:
URL: https://github.com/apache/airflow/issues/14985
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org