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

Questions about server #21

Open
stevenzhang9577 opened this issue Aug 10, 2021 · 1 comment
Open

Questions about server #21

stevenzhang9577 opened this issue Aug 10, 2021 · 1 comment

Comments

@stevenzhang9577
Copy link

Hi,

I'm following xgboost on federated learning, and when I was trying to run this model, there's something wrong.

When I run
``python3 serve.py

The error report shows below:

`Starting RPC server on port 50051

Traceback (most recent call last):
File "serve.py", line 3, in
fxgb.listen(50051)
File "/usr/local/lib/python3.7/dist-packages/federatedxgboost-0.90-py3.7.egg/federatedxgboost/remote_server.py", line 126, in listen
server.wait_for_termination()
File "/usr/local/lib/python3.7/dist-packages/grpc/_server.py", line 988, in wait_for_termination
timeout=timeout)
File "/usr/local/lib/python3.7/dist-packages/grpc/_common.py", line 141, in wait
_wait_once(wait_fn, MAXIMUM_WAIT_TIMEOUT, spin_cb)
File "/usr/local/lib/python3.7/dist-packages/grpc/_common.py", line 106, in _wait_once
wait_fn(timeout=timeout)
File "/usr/lib/python3.7/threading.py", line 552, in wait
signaled = self._cond.wait(timeout)
File "/usr/lib/python3.7/threading.py", line 300, in wait
gotit = waiter.acquire(True, timeout)`

Can you help me to check what's happen or which version of grpc you used in this model?

@chester-leung
Copy link
Member

Hi @stevenzhang9577, can you please paste the exception you're getting? I see the traceback but no explicit exception.

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

2 participants