An Azure service that provides customers with a serverless container experience.
Deployment using SSL enabled for webservice using azure container instance not working
Haya Mohiyaddin
0
Reputation points
Hi ,
I am trying to deploy my ml model using ssl enabled via webservice using ACU instance. The cert.pem and key.pem is given and the domain account as well. The deployment is showing healthy , however operation state is timed out and not able to consume the endpoint.
Getting below error.
---------------------------------------------------------------------------
gaierror Traceback (most recent call last)
File C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\urllib\request.py:1348, in AbstractHTTPHandler.do_open(self, http_class, req, **http_conn_args)
1347 try:
-> 1348 h.request(req.get_method(), req.selector, req.data, headers,
1349 encode_chunked=req.has_header('Transfer-encoding'))
1350 except OSError as err: # timeout error
File C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\http\client.py:1283, in HTTPConnection.request(self, method, url, body, headers, encode_chunked)
1282 """Send a complete request to the server."""
-> 1283 self._send_request(method, url, body, headers, encode_chunked)
File C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\http\client.py:1329, in HTTPConnection._send_request(self, method, url, body, headers, encode_chunked)
1328 body = _encode(body, 'body')
-> 1329 self.endheaders(body, encode_chunked=encode_chunked)
File C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\http\client.py:1278, in HTTPConnection.endheaders(self, message_body, encode_chunked)
1277 raise CannotSendHeader()
-> 1278 self._send_output(message_body, encode_chunked=encode_chunked)
File C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\http\client.py:1038, in HTTPConnection._send_output(self, message_body, encode_chunked)
1037 del self._buffer[:]
-> 1038 self.send(msg)
1040 if message_body is not None:
1041
...
-> 1351 raise URLError(err)
1352 r = h.getresponse()
1353 except:
URLError:
endpoint details:-
Kindly help. My deployment was successful without SSL. I am in a kind of urgency to resolve this error as this endpoint have to be delivered to client with ssl enabled. Kindly help.
Regards,
Haya
Azure Container Instances
Azure Container Instances
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
Sign in to answer