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:
[email protected]


Reply via email to