Python client error 'Connection reset by peer'

后端 未结 3 2103
盖世英雄少女心
盖世英雄少女心 2020-12-30 05:03

I have written a very small python client to access confluence restful api. I am using https protocol to connect with the confluence. I am running into Connection rese

3条回答
  •  难免孤独
    2020-12-30 05:43

    While installing requests library it skips few of optional security packages ('pyOpenSSL', 'ndg-httpsclient', and 'pyasn1') which are required for the SSL/Https connection. You can fix it by either running this command

    pip install "requests[security]"
    

    or

    pip install pyopenssl ndg-httpsclient pyasn1
    

提交回复
热议问题