Closed 0xarmingithub closed 2 years ago
The error message indicates module cannot connect to IoT Edge runtime (could be connection timeout). It could be networking issue between containers and host, or could be IoT Edge configuration issue.
Please fork or clone the code for further modification/customization to build modbus module that fullfill your need. This repository is no longer being actively maintained and will be archived. Open issues will be closed.
Hi.
I'm using Azure portal to deploy modbus module to an IoT edge. Docker logs throws an error as follows
IoT edge has been installed on Ubuntu 18.04 including all latest packages, IoT edge runtime, etc. I'm using mcr.microsoft.com/azureiotedge/modbus:1.0.5-amd64. Below is the Module Twin Settings:
Network-wise, I can ping the slave device from master (Ubuntu) successfully. I also used Modpoll Modbus Master Simulator to test whether I can read data from slave and it is working as expected. I also added "Version":"2" to the twin configuration but that also didn't work out.
When I deploy the module, I can see that module starts running for ~2 minutes and then it fails. Any clue where the problem is?