python-psi icon indicating copy to clipboard operation
python-psi copied to clipboard

ConnectionRefusedError: [Errno 111]

Open Dyson-c opened this issue 2 years ago • 3 comments

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?

Dyson-c avatar Aug 30 '22 13:08 Dyson-c

ECC key format is not supported

shohoku3 avatar Nov 30 '22 13:11 shohoku3

Did you solve it, I also had the same problem

big-Cat-123 avatar Mar 04 '23 05:03 big-Cat-123

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: @.***>

shohoku3 avatar Mar 06 '23 00:03 shohoku3