question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to subscribe to IoT Secure Tunnel notify topic

See original GitHub issue

Confirm by changing [ ] to [x] below to ensure that it’s a bug:

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:closed
  • Created 3 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jmklixcommented, Dec 17, 2020

@jmattsson I am checking with IoT product management to get further clarification on what the expected behavior is.

0reactions
github-actions[bot]commented, Jun 16, 2021

⚠️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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Secure tunnel lifecycle - AWS IoT Core
When you open a tunnel, it has a status of OPEN . The tunnel's source and destination connection status is set to DISCONNECTED...
Read more >
How to Get Started with Secure Tunneling for AWS IoT Device ...
AWS IoT Device Management makes it easy to securely register, organize, monitor, and remotely manage IoT devices at scale.
Read more >
How secure tunneling works - Amazon IoT Core - 亚马逊云科技
The IoT agent that has been installed and is running on your destination device will be subscribed to the reserved MQTT topic $aws/things/...
Read more >
Aws iot secure tunneling tutorial - Panettone cotto a legna
The AWS Java SDK for AWS IoT Secure Tunneling module holds the client classes that ... permissions to subscribe to the amazon managed...
Read more >
Troubleshoot Common L2L and Remote Access IPsec VPN ...
Problem: Outbound encryption traffic in an IPsec tunnel may fail, even if inbound decryption traffic is working. Solution. Miscellaneous. AG_INIT_EXCH Message ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found