delta-mpc / python-psi

Private set intersection implemented in Python
Apache License 2.0
96 stars 29 forks source link

ConnectionRefusedError: [Errno 111] #12

Open Dyson-c opened 2 years ago

Dyson-c commented 2 years ago

image [dyson@centos7 python-psi]$ PSI_CONFIG=config/server.config.yaml psi_run server 127.0.0.1:2345 Traceback (most recent call last): File "/home/dyson/.local/lib/python3.7/site-packages/psi/pair/socket/pair.py", line 75, in _connect client_sock.connect(self._peer) ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/dyson/.local/bin/psi_run", line 11, in load_entry_point('delta-psi==0.0.2', 'console_scripts', 'psi_run')() File "/home/dyson/.local/lib/python3.7/site-packages/psi/main.py", line 52, in main start_server(args.address) File "/home/dyson/.local/lib/python3.7/site-packages/psi/server.py", line 18, in start_server with make_pair(local_address, peer_address) as pair: File "/home/dyson/.local/lib/python3.7/site-packages/psi/pair/factory.py", line 13, in make_pair return SocketPair(local, peer, timeout) File "/home/dyson/.local/lib/python3.7/site-packages/psi/pair/socket/pair.py", line 62, in init self._sock = self._connect(timeout * 3) File "/home/dyson/.local/lib/python3.7/site-packages/psi/pair/socket/pair.py", line 100, in _connect sock, addr = server_thread.get_sock_addr(timeout=end - now) File "/home/dyson/.local/lib/python3.7/site-packages/psi/pair/socket/pair.py", line 49, in get_sock_addr return self._res_queue.get(block=block, timeout=timeout) File "/usr/local/lib/python3.7/queue.py", line 178, in get raise Empty _queue.Empty

How to solve this problem?

shohoku3 commented 1 year ago

ECC key format is not supported

big-Cat-123 commented 1 year ago

Did you solve it, I also had the same problem

shohoku3 commented 1 year ago

Unfortunately I didn't. I chose another PSI component

从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: @.> 发送时间: 2023年3月4日 13:53 收件人: @.> 抄送: @.>; @.> 主题: Re: [delta-mpc/python-psi] ConnectionRefusedError: [Errno 111] (Issue #12)

Did you solve it, I also had the same problem

― Reply to this email directly, view it on GitHubhttps://github.com/delta-mpc/python-psi/issues/12#issuecomment-1454500328, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESTX44CSCZDYESBSQYQV2LW2LKEHANCNFSM6AAAAAAQAM4NB4. You are receiving this because you commented.Message ID: @.***>