{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11502","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11502/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11502/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11502/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/11502","id":339943535,"node_id":"MDU6SXNzdWUzMzk5NDM1MzU=","number":11502,"title":"CSharpModule Not Sending/Receiving Data Properly","user":{"login":"danieljsmarda","id":29666720,"node_id":"MDQ6VXNlcjI5NjY2NzIw","avatar_url":"https://avatars1.githubusercontent.com/u/29666720?v=4","gravatar_id":"","url":"https://api.github.com/users/danieljsmarda","html_url":"https://github.com/danieljsmarda","followers_url":"https://api.github.com/users/danieljsmarda/followers","following_url":"https://api.github.com/users/danieljsmarda/following{/other_user}","gists_url":"https://api.github.com/users/danieljsmarda/gists{/gist_id}","starred_url":"https://api.github.com/users/danieljsmarda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieljsmarda/subscriptions","organizations_url":"https://api.github.com/users/danieljsmarda/orgs","repos_url":"https://api.github.com/users/danieljsmarda/repos","events_url":"https://api.github.com/users/danieljsmarda/events{/privacy}","received_events_url":"https://api.github.com/users/danieljsmarda/received_events","type":"User","site_admin":false},"labels":[{"id":836704823,"node_id":"MDU6TGFiZWw4MzY3MDQ4MjM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/assigned-to-author","name":"assigned-to-author","color":"e01f8f","default":false},{"id":836704904,"node_id":"MDU6TGFiZWw4MzY3MDQ5MDQ=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/doc-bug","name":"doc-bug","color":"84edbc","default":false},{"id":752062500,"node_id":"MDU6TGFiZWw3NTIwNjI1MDA=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/iot-edge/svc","name":"iot-edge/svc","color":"ededed","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"kgremban","id":13578436,"node_id":"MDQ6VXNlcjEzNTc4NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/13578436?v=4","gravatar_id":"","url":"https://api.github.com/users/kgremban","html_url":"https://github.com/kgremban","followers_url":"https://api.github.com/users/kgremban/followers","following_url":"https://api.github.com/users/kgremban/following{/other_user}","gists_url":"https://api.github.com/users/kgremban/gists{/gist_id}","starred_url":"https://api.github.com/users/kgremban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgremban/subscriptions","organizations_url":"https://api.github.com/users/kgremban/orgs","repos_url":"https://api.github.com/users/kgremban/repos","events_url":"https://api.github.com/users/kgremban/events{/privacy}","received_events_url":"https://api.github.com/users/kgremban/received_events","type":"User","site_admin":false},"assignees":[{"login":"kgremban","id":13578436,"node_id":"MDQ6VXNlcjEzNTc4NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/13578436?v=4","gravatar_id":"","url":"https://api.github.com/users/kgremban","html_url":"https://github.com/kgremban","followers_url":"https://api.github.com/users/kgremban/followers","following_url":"https://api.github.com/users/kgremban/following{/other_user}","gists_url":"https://api.github.com/users/kgremban/gists{/gist_id}","starred_url":"https://api.github.com/users/kgremban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgremban/subscriptions","organizations_url":"https://api.github.com/users/kgremban/orgs","repos_url":"https://api.github.com/users/kgremban/repos","events_url":"https://api.github.com/users/kgremban/events{/privacy}","received_events_url":"https://api.github.com/users/kgremban/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-07-10T17:44:47Z","updated_at":"2018-07-11T22:45:07Z","closed_at":null,"author_association":"NONE","body":"I'm working with a Raspberry Pi 3B running Stretch. I went through all of the steps in this tutorial. The modules seem to be deploying just fine. When I run \"iotedge list\" everything looks like it's running properly. When I run \"iotedge logs tempSensor\", the tempSensor module seems to be outputting several messages. But when I monitor messages in VS Code, I don't see any of the temperature data from  CSharpModule. When I go to VS Code, right click on my device and click \"Send D2C Message to IoT Hub\" (while monitoring the messages) I can see that manually-sent message just fine in the VS Code Output so in that regard my Pi seems connected just fine.\r\n\r\nI tried looking at the logs of the CSharpModuleon my edge device. For the first few minutes after iotedge is started (i.e., after I enter \"systemctl restart iotedge\"), the output of \"iotedge logs CSharpModule\" is totally blank, then after a few minutes (5-10ish?) it shows a timeout error (see screenshot below). Any idea what I'm doing wrong? I checked and double-checked that I did all of the code copy/pasting into the Program.cs file and deployment manifest correctly. I'm happy to post code snippets or anything else if you'd like to triple-check.\r\n\r\nI'll also add that when I went into the deployment manifest, removed the CSharpModule (so that the only modules left are edgeHub, edgeAgent, and tempSensor), and changed the routes to just be \"FROM /* INTO $upstream\", I was able to see all of the (unfiltered) messages sent from the tempSensor module in VS Code. \r\n\r\n<img width=\"947\" alt=\"csharpmodulenotsending\" src=\"https://user-images.githubusercontent.com/29666720/42527695-fae753c2-843e-11e8-96ce-9e3722c3b54b.png\">\r\n\r\n\r\nThanks in advance!\r\n\r\n\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 181d5562-f8d7-9c59-85ea-09efbe397f3e\r\n* Version Independent ID: dbedd952-a050-286e-c951-4529ec8e87b8\r\n* Content: [Azure IoT Edge C# tutorial](https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-csharp-module#deploy-and-run-the-solution)\r\n* Content Source: [articles/iot-edge/tutorial-csharp-module.md](https://github.com/Microsoft/azure-docs/blob/master/articles/iot-edge/tutorial-csharp-module.md)\r\n* Service: **iot-edge**\r\n* GitHub Login: @kgremban\r\n* Microsoft Alias: **kgremban**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/404333751","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/11502#issuecomment-404333751","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/11502","id":404333751,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDMzMzc1MQ==","user":{"login":"kgremban","id":13578436,"node_id":"MDQ6VXNlcjEzNTc4NDM2","avatar_url":"https://avatars3.githubusercontent.com/u/13578436?v=4","gravatar_id":"","url":"https://api.github.com/users/kgremban","html_url":"https://github.com/kgremban","followers_url":"https://api.github.com/users/kgremban/followers","following_url":"https://api.github.com/users/kgremban/following{/other_user}","gists_url":"https://api.github.com/users/kgremban/gists{/gist_id}","starred_url":"https://api.github.com/users/kgremban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgremban/subscriptions","organizations_url":"https://api.github.com/users/kgremban/orgs","repos_url":"https://api.github.com/users/kgremban/repos","events_url":"https://api.github.com/users/kgremban/events{/privacy}","received_events_url":"https://api.github.com/users/kgremban/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T22:45:07Z","updated_at":"2018-07-11T22:45:07Z","author_association":"CONTRIBUTOR","body":"@Mike-Ubezzi-MSFT The C# module template should by default route data from tempSensor to the C# module to the IoT hub. Did you discover something wrong with the template, or something additional that needs to be included in the deployment manifest? "}}
{"actor":{"display_login":"kgremban"}}