-
Notifications
You must be signed in to change notification settings - Fork 29
Description

[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?