clara-train-examples icon indicating copy to clipboard operation
clara-train-examples copied to clipboard

How to run the Clara FL server in a realistic situation?

Open edwardlo12 opened this issue 3 years ago • 0 comments

I have tried to use my Azure FQDN as CN.

Instructions I ran:

cd /path/to/server/startup/ ./docker.sh (into container) cd ./startup/ ./start.sh

Error message:

E0712 06:29:11.405616288 388 server_secure_chttp2.cc:81] {"created":"@1626071351.405585088","description":"Nos added out of total 1 resolved","file":"src/core/ext/transport/chttp2/server/chttp2_server.cc","file_line":561,"referenced_errors":[{"created":"@1626005572788","description":"Unable to configure socket","fd":8,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.cc","file_line":214,"referenced_er{"created":"@1626071351.405567988","description":"Cannot assign requested address","errno":99,"file":"src/core/lib/iomgr/tcp_server_utils_posix_common.le_line":188,"os_error":"Cannot assign requested address","syscall":"bind"}]}]} Traceback (most recent call last): File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "<nvflare-0.1.4>/nvflare/private/fed/app/server/server_train.py", line 212, in File "<nvflare-0.1.4>/nvflare/private/fed/app/server/server_train.py", line 101, in main File "<nvflare-0.1.4>/nvflare/private/fed/app/trainers/server_trainer.py", line 68, in deploy File "<nvflare-0.1.4>/nvflare/private/fed/server/fed_server.py", line 185, in deploy File "/opt/conda/lib/python3.8/site-packages/grpc/_server.py", line 965, in add_secure_port return _common.validate_port_binding_result( File "/opt/conda/lib/python3.8/site-packages/grpc/_common.py", line 166, in validate_port_binding_result raise RuntimeError(_ERROR_MESSAGE_PORT_BINDING_FAILED % address) RuntimeError: Failed to bind to address [Azure FQDN]:8002; set GRPC_VERBOSITY=debug environment variable to see detailed error message.

edwardlo12 avatar Jul 12 '21 07:07 edwardlo12