CartoDB/dataservices-api

PostgreSQL log full of rollbar/ssl warnings

Opened this issue · 1 comments

The postgresql log is full of these messages. This is bad because we are talking about several GB of logs.

WARNING:rollbar:Rollbar already initialized. Ignoring re-init.
/usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecurePlatformWarning

/cc @ethervoid @rafatower

  • The rollbar warning comes from here so we have to try to deactivate that warning method or cache the rollbar object

  • To fix the SSL warning looks like we have to install a new package of requests to include some security packages. We should check if it works properly but once we have it done, that messages should dissapear