Open bVTiger opened 3 years ago
Hi @bVTiger,
When I've used run_local_server
it generally doesn't time out until the user has clicked through and authenticated. How quickly is the timeout happening? run_console
is another option if you're in a situation where it's difficult to open the browser for the user.
Hi @busunkim96
When I've used
run_local_server
it generally doesn't time out until the user has clicked through and authenticated. How quickly is the timeout happening?run_console
is another option if you're in a situation where it's difficult to open the browser for the user.
after 20..23 seconds approx.
run_console
not very suitable for my task
Same issue here:
File "..........\venv\lib\site-packages\google_auth_oauthlib\flow.py", line 504, in run_local_server authorization_response = wsgi_app.last_request_uri.replace("http", "https") AttributeError: 'NoneType' object has no attribute 'replace'
The server shut down too quickly.
I've tried to add open_browser=False
to run_local_server
to verify old issues and in less than 2 seconds python rise that error.
run_console
is also now deprecated
I'm having basically the same issue, except run_console
doesn't even exist anymore.
Hello.
The local server shuts down too quickly - it is not enough for authentication in browser. It would be nice if it was possible to set a timeout during which the server does not shutdown.
Python 3.7.4
trace:
source:
pip freeze: