Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionRefusedError: [Errno 111] #12

Open
Dyson-c opened this issue Aug 30, 2022 · 3 comments
Open

ConnectionRefusedError: [Errno 111] #12

Dyson-c opened this issue Aug 30, 2022 · 3 comments

Comments

@Dyson-c
Copy link

Dyson-c commented Aug 30, 2022

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
Copy link

ECC key format is not supported

@big-Cat-123
Copy link

Did you solve it, I also had the same problem

@shohoku3
Copy link

shohoku3 commented Mar 6, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants