From 14d2773f245c129167260787d5b36ff7802e56f5 Mon Sep 17 00:00:00 2001 From: Yan Cheng Date: Mon, 9 Dec 2024 12:15:50 -0500 Subject: [PATCH] fix simulator --- nvflare/private/fed/app/simulator/simulator_worker.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvflare/private/fed/app/simulator/simulator_worker.py b/nvflare/private/fed/app/simulator/simulator_worker.py index d320fec685..fddabb6768 100644 --- a/nvflare/private/fed/app/simulator/simulator_worker.py +++ b/nvflare/private/fed/app/simulator/simulator_worker.py @@ -215,6 +215,12 @@ def _create_client_cell(self, federated_client, root_url, parent_url): mpm.add_cleanup_cb(cell.stop) federated_client.cell = cell federated_client.communicator.set_cell(cell) + federated_client.communicator.set_auth( + client_name=federated_client.client_name, + token=federated_client.token, + token_signature="NA", + ssid="NA", + ) start = time.time() while not cell.is_cell_connected(FQCN.ROOT_SERVER):