Docker python requests results in DH KEY TOO SMALL error Docker python requests results in DH KEY TOO SMALL error docker docker

Docker python requests results in DH KEY TOO SMALL error


I've managed to fix the issue. The problem was caused by openssl versions. Both my windows 10 pc and ubuntu 18.04 vm run an older version that had no problem connecting to the website. The python docker images contain a newer version of openssl that refused to connect.