{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdk-node/issues/426","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdk-node","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdk-node/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdk-node/issues/426/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdk-node/issues/426/events","html_url":"https://github.com/Azure/azure-iot-sdk-node/issues/426","id":380833315,"node_id":"MDU6SXNzdWUzODA4MzMzMTU=","number":426,"title":"The connection string is missing the property: SharedAccessKeyName","user":{"login":"DimitrijeManic","id":25011233,"node_id":"MDQ6VXNlcjI1MDExMjMz","avatar_url":"https://avatars3.githubusercontent.com/u/25011233?v=4","gravatar_id":"","url":"https://api.github.com/users/DimitrijeManic","html_url":"https://github.com/DimitrijeManic","followers_url":"https://api.github.com/users/DimitrijeManic/followers","following_url":"https://api.github.com/users/DimitrijeManic/following{/other_user}","gists_url":"https://api.github.com/users/DimitrijeManic/gists{/gist_id}","starred_url":"https://api.github.com/users/DimitrijeManic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimitrijeManic/subscriptions","organizations_url":"https://api.github.com/users/DimitrijeManic/orgs","repos_url":"https://api.github.com/users/DimitrijeManic/repos","events_url":"https://api.github.com/users/DimitrijeManic/events{/privacy}","received_events_url":"https://api.github.com/users/DimitrijeManic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-14T18:39:04Z","updated_at":"2018-11-14T18:39:04Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nHi there! thank you for discovering and submitting an issue!\r\n\r\n# Need Support?\r\n- **Have a feature request for SDKs?** Please post it on [User Voice](https://feedback.azure.com/forums/321918-azure-iot) to help us prioritize\r\n- **Have a technical question?** Ask on [Stack Overflow with tag \"azure-iot-hub\"](https://stackoverflow.com/questions/tagged/azure-iot-hub)\r\n- **Need Support?** Every customer with an active Azure subscription has access to [support](https://docs.microsoft.com/en-us/azure/azure-supportability/how-to-create-azure-support-request) with guaranteed response time.  Consider submitting a ticket and get assistance from Microsoft support team\r\n- **Found a bug?** Please help us fix it by thoroughly documenting it and filing an issue on GitHub (See below).\r\n\r\nPlease first tell us a little bit about the environment you're running:\r\nThe commands in the comments can be run directly in a command prompt.\r\n-->\r\n\r\n# Context\r\n- **OS and version used:** Ubuntu 18.04.1 LTS\r\n- **Node.js version:** v10.7.0\r\n- **npm version:** 6.4.1\r\n- **list of installed packages:**\r\n    \"azure\": \"2.3.1-preview\",\r\n    \"azure-iot-device\": \"1.8.1\",\r\n    \"azure-iot-device-http\": \"1.8.1\",\r\n    \"azure-iot-device-mqtt\": \"1.8.1\",\r\n    \"azure-iothub\": \"1.8.1\",\r\n\r\n# Description of the issue:\r\nI am attempting to use a simple node module to send telemetry data from a device to IoTHub through the IoT EdgeHub.\r\n\r\nI am deploying my module with [Azure/iotedgedev](https://github.com/Azure/iotedgedev) docker deployment. \r\n\r\nWhen my module is created, the EdgeHub provides a `EdgeHubConnectionString` env variable to my module but when attempting to call `fromConnectionString()` the following error is thrown\r\n```\r\nThe connection string is missing the property: SharedAccessKeyName\r\n```\r\n\r\nShould I be appending the SharedAccessKeyName manually? \r\nIf I use the ConnectionString found in `Shared access policies` in the Azure portal. The module is able to send messages to IoTHub but bypasses the EdgeHub.\r\n\r\nWhich connectionString should my module use to communicate with IoT EdgeHub? \r\n\r\n# Code sample exhibiting the issue:\r\n<!-- Please remove any connection string information! -->\r\n\r\n# Console log of the issue:\r\n<!-- Consider setting the DEBUG environment variable to '*'. This will produce a much more verbose output that will help debugging -->\r\n<!-- Don't forget to remove any connection string information! -->\r\n"}}
{"actor":{"display_login":"DimitrijeManic"}}