AWS re:Post을(를) 사용하면 다음에 동의하게 됩니다. AWS re:Post 이용 약관

Greengrass Secure Tunneling stopped working

0

I want to remote ssh into my ubuntu edge device using IoT Secure Tunneling. I installed greengrass to my ubuntu edge device and it registered as a core device. Then I deployed the aws.greengrass.SecureTunneling (1.0.16) component to it. I opened a tunnel, logged in with my username and password and successfully ssh'd into my device.

However, as I was using it I was disconnected several times. I would generate new access tokens and reconnect no problem. Until suddenly the Destination connection state started appearing as Disconnected. I can no longer use SecureTunneling into my device.

My edge device is still powered and working, and I can ssh into it via local networking. How can I troubleshoot why it will no longer connect via SecureTunneling?

  • Hi Jason, as Roger suggested I think the issue you saw might be related to the bug we have resolved recently in v1.0.17 of the component. If you still run into this issue again, I would suggest you to raise a support request from this link : https://aws.amazon.com/contact-us/ so that team can establish a more direct communication channel with you and can help resolve the bug faster.

profile picture
질문됨 일 년 전478회 조회
3개 답변
2
수락된 답변

Hey Jason, we received a bug report internally that I think is related to what you have been experiencing here. This is due to an issue where some resources are not being cleaned up when the tunnel handler receives the close tunnel signal. A new version of the component (1.0.17) is being rolled out right now that aims to fix the issue. Please uninstall the previous version and install this new version to see if the issue still persists.

Thanks, Roger Z.

AWS
답변함 일 년 전
profile picture
전문가
검토됨 6달 전
  • Thank you for your answer! I don't think there's any way to confirm that this was truly my problem, but I'd like to believe it was. Thanks for sharing this information with me.

0
  • Thank you for your comment. I've checked the logs but I don't know what to make of this information

    /# cat /greengrass/v2/logs/aws.greengrass.SecureTunneling.log
    2023-09-22T02:02:54.322Z [INFO] (Copier) aws.greengrass.SecureTunneling: stdout. [INFO ] 2023-09-22 11:02:54.322 [Thread-1] SubscribeResponseHandler - Received new tunnel notification message.. {scriptName=services.aws.greengrass.SecureTunneling.lifecycle.run.script, serviceName=aws.greengrass.SecureTunneling, currentState=RUNNING}
    

    There were older logs too but they also contained the same message.

0

Hello everyone,

I’m currently using the aws.greengrass.SecureTunneling component, version 1.0.19, and I’ve encountered some connectivity issues. Specifically, I often need to restart the device running AWS Greengrass to re-establish a tunnel connection. If I don't have physical access to the device, my workaround is to deploy a new version that removes the component, followed by another deployment to reinstall it.

I noticed similar issues in previous versions of the SecureTunneling component, but I’m not sure if this is a continuation of those earlier problems or something new in v1.0.19.

Has anyone faced similar problems or found a more streamlined solution? Any insights, suggestions, or recommendations would be greatly appreciated!

Thanks in advance!

답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인