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

Google API connection stalls/breaks on Comcast #287

Open
alykat opened this issue Jul 19, 2018 · 1 comment
Open

Google API connection stalls/breaks on Comcast #287

alykat opened this issue Jul 19, 2018 · 1 comment

Comments

@alykat
Copy link
Member

alykat commented Jul 19, 2018

It's entirely possible that this is just me, my computer and/or my glitchy home wifi, but noting it here for future reference.

When I open graphics in the dailygraphics rig with refresh=1 in the URL, it will hang for minutes at a time. Sometimes it will eventually load. Sometimes, if I restart gunicorn and reload the page, it'll eventually load. Sometimes I get an authomatic FetchError.

Traceback (most recent call last):
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1701, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1689, in wsgi_app
    response = self.make_response(self.handle_exception(e))
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1687, in wsgi_app
    response = self.full_dispatch_request()
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1360, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1358, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/flask/app.py", line 1344, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Users/AHurt/src/dailygraphics/oauth.py", line 86, in decorated_function
    return f(*args, **kwargs)
  File "/Users/AHurt/src/dailygraphics/graphic.py", line 54, in _graphics_detail
    oauth.get_document(graphic_config.COPY_GOOGLE_DOC_KEY, copy_path)
  File "/Users/AHurt/src/dailygraphics/oauth.py", line 129, in get_document
    response = app_config.authomatic.access(credentials, url)
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/authomatic/core.py", line 1404, in access
    content_parser=content_parser)
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/authomatic/providers/__init__.py", line 762, in access
    content_parser=content_parser)
  File "/Users/AHurt/.virtualenvs/dailygraphics/lib/python2.7/site-packages/authomatic/providers/__init__.py", line 396, in _fetch
    url=request_path)
FetchError: Could not connect!

It sucks on my home Comcast connection, but works fine in the office and at Starbucks.

@alykat
Copy link
Member Author

alykat commented Jul 19, 2018

I'll add that it's not related to #254. I'm not on VPN.

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