Closed kunmel closed 2 years ago
Some error occured when I tried to setup in worker pool mode. It seems wpe cannot get responce from remote server KME.
I followed PREREQUISITES and set the ias_api_key. Then I tried to set up it in HW mode by running:
sudo docker-compose -f docker-compose.yaml -f docker/compose/avalon-pool.yaml \ -f docker/compose/avalon-pool-sgx.yaml up --build
avalon-kme | bash: line 10: 9 Segmentation fault (core dumped) enclave_manager --lmdb_url http://avalon-lmdb:9090 --bind http://avalon-kme:1948 avalon-wpe | [02:51:28 ERROR http_client.http_jrpc_client] no response from server: Remote end closed connection without response avalon-wpe | Traceback (most recent call last): avalon-wpe | File "/usr/local/lib/python3.6/dist-packages/http_client/http_jrpc_client.py", line 65, in _postmsg avalon-wpe | opener, request, retries) avalon-wpe | File "/usr/local/lib/python3.6/dist-packages/http_client/http_jrpc_client.py", line 119, in _open_with_retries avalon-wpe | raise err avalon-wpe | File "/usr/local/lib/python3.6/dist-packages/http_client/http_jrpc_client.py", line 114, in _open_with_retries avalon-wpe | return opener.open(request, timeout=10) avalon-wpe | File "/usr/lib/python3.6/urllib/request.py", line 526, in open avalon-wpe | response = self._open(req, data) avalon-wpe | File "/usr/lib/python3.6/urllib/request.py", line 544, in _open avalon-wpe | '_open', req) avalon-wpe | File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain avalon-wpe | result = func(*args) avalon-wpe | File "/usr/lib/python3.6/urllib/request.py", line 1353, in http_open avalon-wpe | return self.do_open(http.client.HTTPConnection, req) avalon-wpe | File "/usr/lib/python3.6/urllib/request.py", line 1328, in do_open avalon-wpe | r = h.getresponse() avalon-wpe | File "/usr/lib/python3.6/http/client.py", line 1373, in getresponse avalon-wpe | response.begin() avalon-wpe | File "/usr/lib/python3.6/http/client.py", line 311, in begin avalon-wpe | version, status, reason = self._read_status() avalon-wpe | File "/usr/lib/python3.6/http/client.py", line 280, in _read_status avalon-wpe | raise RemoteDisconnected("Remote end closed connection without" avalon-wpe | http.client.RemoteDisconnected: Remote end closed connection without response avalon-wpe | [02:51:28 ERROR avalon_enclave_manager.wpe_common.wpe_requester] Exception occurred in communication with KME avalon-wpe | [02:51:28 ERROR avalon_enclave_manager.work_order_processor_manager] Failed to execute boot time flow; exiting Intel SGX Enclave manager: no response from server: Remote end closed connection without response
Description of the issue
Some error occured when I tried to setup in worker pool mode. It seems wpe cannot get responce from remote server KME.
Steps to reproduce
I followed PREREQUISITES and set the ias_api_key. Then I tried to set up it in HW mode by running:
Actual Results