Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Please run down the following list and make sure you've tried the usual "quick fixes":
If you are still having issues, please be sure to include as much information as possible:
Environment details
- OS:
- Python version: 3.7
- pip version:
google-auth version: 2.6.3
Steps to reproduce
- python Google app Engine standard environment, have google-auth in requirements.txt.
- Occurs when an instance is terminated.
"Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/google/auth/transport/requests.py", line 154, in del
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/requests/sessions.py", line 737, in close
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/requests/adapters.py", line 326, in close
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/urllib3/poolmanager.py", line 223, in clear
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/urllib3/_collections.py", line 100, in clear
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/urllib3/poolmanager.py", line 174, in
File "/layers/google.python.pip/pip/lib/python3.7/site-packages/urllib3/connectionpool.py", line 498, in close
TypeError: catching classes that do not inherit from BaseException is not allowed"
Unable to figure out if the error is in urllib3 or google-auth, was working fine with version 2.6.2