FedML icon indicating copy to clipboard operation
FedML copied to clipboard

Problem about Fediot

Open flying-pigeon opened this issue 2 years ago • 13 comments

image When I'm running torch_client.py, there exists a question related to boto3 and S3. How to solve it?

flying-pigeon avatar Jun 17 '22 13:06 flying-pigeon

communication method is MQTT_S3

flying-pigeon avatar Jun 17 '22 13:06 flying-pigeon

@flying-pigeon may I know which example are you running? or a simple repo for us to reproduce the issue would be helpful.

If we don't reply timely, please join our slack and ask questions there (find "join the community" at fedml.ai)

chaoyanghe avatar Jun 18 '22 01:06 chaoyanghe

@alex-liang-kh you may know the issue and solve it quickly?

chaoyanghe avatar Jun 18 '22 01:06 chaoyanghe

@flying-pigeon may I know which example are you running? or a simple repo for us to reproduce the issue would be helpful.

If we don't reply timely, please join our slack and ask questions there (find "join the community" at fedml.ai)

the example I'm running is located in the path: FedML-master\app\fediot\anomaly_detection_for_cybersecurity

flying-pigeon avatar Jun 18 '22 09:06 flying-pigeon

I'm using the comm way: MQTT_S3. However, it seems that some problems happening in the comm layer of FedML. I deployed the server and client in the same PC and OS, the client seemed fail to keep a last S3 connection with server. Error is “_pickle.PicklingError: Can't pickle <class 'botocore.client.S3'>: attribute lookup S3 on botocore.clent failed” Furthermore, if I choose MQTT, the error is "OSError: [WinError 10049] 在其上下文中,该请求的地址无效"

flying-pigeon avatar Jun 18 '22 09:06 flying-pigeon

@leigao97 please check this issue.

FedML-AI-admin avatar Jun 19 '22 00:06 FedML-AI-admin

Can you describe on what OS you are running fedml and which version of fedml?

leigao97 avatar Jun 19 '22 00:06 leigao97

Can you describe on what OS you are running fedml and which version of fedml?

I'm running fedml on Windows 10 and the version of fedml is 0.7.90. I've also tried 0.7.0 and 0.7.5, faced with the same problem. The project I'm running is in FedML-master\app\fediot\anomaly_detection_for_cybersecurity, updated in 17th Jun.

flying-pigeon avatar Jun 19 '22 06:06 flying-pigeon

Hi @flying-pigeon, I tried fedml 0.7.90 and it worked on my desktop. Please join our slack group or wechat group and we can help you there.

leigao97 avatar Jun 19 '22 06:06 leigao97

Hi @flying-pigeon, I tried fedml 0.7.90 and it worked on my desktop. Please join our slack group or wechat group and we can help you there.

I don't know how to join your wechar group. Could you please offer me the QR code?

flying-pigeon avatar Jun 19 '22 07:06 flying-pigeon

Please check this link: https://github.com/FedML-AI/FedML#join-the-community

leigao97 avatar Jun 19 '22 07:06 leigao97

I've scanned the QR code and sent the request. Please accept my friend request.

flying-pigeon avatar Jun 19 '22 18:06 flying-pigeon

@flying-pigeon is this issue solved already?

chaoyanghe avatar Aug 19 '22 16:08 chaoyanghe

This issue has been addressed.

fedml-dimitris avatar Oct 25 '23 01:10 fedml-dimitris