Unable to subscribe to IoT Secure Tunnel notify topic
See original GitHub issueConfirm by changing [ ] to [x] below to ensure that it’s a bug:
- I’ve gone though Developer Guide and API reference
- I’ve searched for previous similar issues and didn’t find any solution
Describe the bug
To use AWS IoT Secure Tunneling one needs to subscribe to the topic $aws/things/thing-name/tunnels/notify as per
https://docs.aws.amazon.com/iot/latest/developerguide/agent-snippet.html. The SDK refuses to allow this and throws the error cannot subscribe to topic array since one of them is a reserved topic '$aws/things/thing-name/tunnels/notify' instead.
SDK version number 2.2.6 (latest available via npm)
Platform/OS/Hardware/Device Embedded Linux, nodejs 10.15.2.
To Reproduce (observed behavior)
Attempt to .subscribe('$aws/things/thing-name/tunnels/notify')
Expected behavior The subscription request should be actioned, not rejected.
Logs/output See above.
Additional context Migrating to the aws-iot-device-sdk-v2 is not currently an option.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)

Top Related StackOverflow Question
@jmattsson I am checking with IoT product management to get further clarification on what the expected behavior is.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.