Hello @Athira Gopinath(UST,IN) ,
Azure IoT Edge can run forever if it's made production ready.
Have you put some time in the production checklist?
Think about:
- rolling logs
- routing TLS cert expiration (that development cert)
- protocol selection (mqtt, amqp or a websockets variant)
- host storage location
- etc.
Personally, I use the RPI only for development and testing. Production is done on a regular Industrial PC.
Next check the logs of the edgeHub for possible information about the connection errors.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.