Python requests.exceptions.SSLError: EOF occurred in violation of protocol

前端 未结 6 1790
长发绾君心
长发绾君心 2020-12-06 01:43

I would retrieve some information from an ABB G13 gateway that offer a RESTful JSON API. API is hosted by the gateway via https endpoint. Basic authentication mechanism is u

6条回答
  •  天涯浪人
    2020-12-06 02:17

    If you are getting this error for intermediate requests, you can refer to the solution mentioned in https://github.com/requests/requests/issues/3391.

    Basically, if you are making a lot of requests to a server and facing this issue with some of those requests you can use Session to just retry the requests.

    Let me know if this works.

提交回复
热议问题