Unable to access the target device on the browser through a secure tunnel
zhangzz0413 opened this issue · 7 comments
Describe the bug
Unable to access the target device from the browser through sample tunnel-notification, click the connect button and keep rotating.
Expected Behavior
Correctly connect to the target device through browser.
Current Behavior
I click the connect button and keep rotating, cannot connect the target device.
Reproduction Steps
My steps as follows:
- Create a thing (name: secure_tunnel_demo) and download rootca, certification and private key;
- run the tunnel-notification sample:
$ ./tunnel-notification --endpoint avat5bq0m42tf-ats.iot.us-east-1.amazonaws.com --cert cert.crt --key private.key --thing_name secure_tunnel_demo - Click on the thing name and click to create a secure tunnel, and used quickly set it.
I can see that the destination connection status is connected, and then click the connection button.; - It is always rotating in circles and cannot be connected;
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.24.3
Environment details (OS name and version, etc.)
Ubuntu 18.04
⚠️ 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.
How should I use the securetunnel feature? Does this sample feel unusable?
You can find out more info about how/why to use a secure tunnel here. Are you running into any problems with the sample? You closed the above issue without any comments.
Are you still running into the same issue that you opened this ticket for?
You can find out more info about how/why to use a secure tunnel here. Are you running into any problems with the sample? You closed the above issue without any comments. Are you still running into the same issue that you opened this ticket for?
Hi, jmklix
Thank you for your reply.
I am currently unable to run through the secure tunnel function using the sample in the C++SDK. Can you take a look at the steps I mentioned above to run the sample? Am I missing any steps?
Are you getting any console output after you create the secure tunnel? Can you also enable logging? I'm able to run the sample and successfully connect.
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
⚠️ 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.