Trying to connect to a microservice on my local machine but keep getting SSL error:

  microservices, python
#here is the error:  (host='localhost', port=8447 
    
    Caused by SSLError(SSLEOFError(8, u'EOF occurred in violation of protocol (_ssl.c:618

#here is the request i get the same error if i try http or https

   _SERVICE_URL_LIST = ["https://localhost:8447/service/fetchDb?limit=0",
                            "https://localhost:8443/admetrics?method=reach",
                            "http://localhost:8443/admetrics?method=capacity",
                            "http://localhost:8443/admetrics?method=inquiry",
                            ]
    # Update ADR List
     _response = requests.get(self._SERVICE_URL_LIST[0], verify=False)
                time.sleep(10)

Source: Python Questions

LEAVE A COMMENT