It looks like it may be caused by the way your proxy is set: python - Why requests raise this exception "check_hostname requires server_hostname"? - Stack Overflow
It looks like it may be caused by the way your proxy is set: python - Why requests raise this exception "check_hostname requires server_hostname"? - Stack Overflow