Page MenuHomePhabricator

Solve InsecurePlatformWarning in ErfgoedBot
Closed, ResolvedPublic


Right now the logs are filled with the following which causes a lot of noise:

WARNING: /mnt/nfs/labstore-secondary-tools-project/heritage/.venv/local/lib/python2.7/site-packages/requests/packages/urllib3/util/ 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

While the long-term solution would be to upgrade to python 3 we should investigate if there is a quick fix for just muting these (but not all warnings)

Event Timeline

Change 457838 had a related patch set uploaded (by Jean-Frédéric; owner: Jean-Frédéric):
[labs/tools/heritage@master] Add security extra for requests Python dependencies

Change 457838 merged by jenkins-bot:
[labs/tools/heritage@master] Add security extra for requests Python dependencies

JeanFred renamed this task from Mute InsecurePlatformWarning to Solve InsecurePlatformWarning in ErfgoedBot.Jan 15 2019, 12:19 PM