smartfog / fogflow

FogFlow is a standard-based IoT fog computing framework that supports serverless computing and edge computing with advanced programming models
https://fogflow.readthedocs.io
BSD 3-Clause "New" or "Revised" License
123 stars 45 forks source link

Edgeworker is not registered in the cloud #397

Open pepesanyu00 opened 1 year ago

pepesanyu00 commented 1 year ago

Hello, I am trying to register one edgeworker and edgebroker on my fogflow system, I have one computer which hosts the cloud node and one raspberrypi as edge node. I have followed the tutorial and started edgebroker and edgeworker dockers on raspberry, but when I see them in the cloud node, only edgebroker is registered. So, it means that raspberry can connect properly to cloud server but for any reason edgeworker is not registered.

My Edgebroker log is: image

My edgeworker log is: image

My docker-compose.yml file in edge is: image

My config.json in edge is: image

In Addition, I have checked rabbitmq on cloud node and it works well, and it has the edgebroker and edgeworker connections, so maybe it could be a problem of edgebroker or IoT discovery? I would be grateful if you could help me. Thanks.