{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/9","repository_url":"https://api.github.com/repos/Azure/iot-gateway-modbus","labels_url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/9/comments","events_url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/9/events","html_url":"https://github.com/Azure/iot-gateway-modbus/issues/9","id":229591161,"number":9,"title":"Module do not resume communication if fail","user":{"login":"janfl","id":6009319,"avatar_url":"https://avatars1.githubusercontent.com/u/6009319?v=3","gravatar_id":"","url":"https://api.github.com/users/janfl","html_url":"https://github.com/janfl","followers_url":"https://api.github.com/users/janfl/followers","following_url":"https://api.github.com/users/janfl/following{/other_user}","gists_url":"https://api.github.com/users/janfl/gists{/gist_id}","starred_url":"https://api.github.com/users/janfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janfl/subscriptions","organizations_url":"https://api.github.com/users/janfl/orgs","repos_url":"https://api.github.com/users/janfl/repos","events_url":"https://api.github.com/users/janfl/events{/privacy}","received_events_url":"https://api.github.com/users/janfl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-18T08:23:15Z","updated_at":"2017-05-29T08:21:29Z","closed_at":null,"body":"When standard modbus module fails sending in the send_request_tcp method it does not resume communication until i restart the Gateway. The error is \"Send failed\"."},"comment":{"url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/comments/304602617","html_url":"https://github.com/Azure/iot-gateway-modbus/issues/9#issuecomment-304602617","issue_url":"https://api.github.com/repos/Azure/iot-gateway-modbus/issues/9","id":304602617,"user":{"login":"janfl","id":6009319,"avatar_url":"https://avatars1.githubusercontent.com/u/6009319?v=3","gravatar_id":"","url":"https://api.github.com/users/janfl","html_url":"https://github.com/janfl","followers_url":"https://api.github.com/users/janfl/followers","following_url":"https://api.github.com/users/janfl/following{/other_user}","gists_url":"https://api.github.com/users/janfl/gists{/gist_id}","starred_url":"https://api.github.com/users/janfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janfl/subscriptions","organizations_url":"https://api.github.com/users/janfl/orgs","repos_url":"https://api.github.com/users/janfl/repos","events_url":"https://api.github.com/users/janfl/events{/privacy}","received_events_url":"https://api.github.com/users/janfl/received_events","type":"User","site_admin":false},"created_at":"2017-05-29T08:21:29Z","updated_at":"2017-05-29T08:21:29Z","body":"I have configured multiple(3) connections to modbus enabled hardware.\r\nSome time the module run for long time without problems other times it only run for short period of time.\r\nIt logs \"Send failed\" in the send_request_tcp method and \"send request failed\" within the while (request_operation) loop and this of result in \"unable to send request to modbus server\" failure\r\nAfter it has failed the first time for one of the connected hardware it stop receiving data from any of the connected hardware.\r\nDo you connect to each configured modbus device one time and reuse this connection each time you retrieve data from it? Maybe you missing some reconnect on lost connection functionality either on actual lost connection or failure on reading data from modbus device...."}}
{"actor":{"display_login":"janfl"}}