DrSkippy / Gnip-Python-Historical-Utilities

Use Gnip's API to create and control Historical Powertrack jobs.
Other
17 stars 19 forks source link

Error handling makes it difficult to debug #10

Open jrmontag opened 9 years ago

jrmontag commented 9 years ago

Reporting on behalf of another user:

Error was caused by excessive rule length. The SSL warning may be a red herring, but we can do a better job with the Error retrieving Job status: ...Please verify your connection parameters and network connection part.

/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:79: 
InsecurePlatformWarning:A true SSLContext object is not available. 
This prevents urllib3 from configuring SSL appropriately and may cause 
certain SSL connections to fail. For more information, see 
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

  InsecurePlatformWarning

*** Error retrieving Job status: Rule 
[ ... omitted lots of text from rules ... ]
Please verify your connection parameters and network connection *******

System details Python 2.7.3 Ubuntu 12.04.5 LTS