Usando AWS re:Post, accetti AWS re:Post Termini di utilizzo

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
posta un anno fa478 visualizzazioni
3 Risposte
2
Risposta accettata

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
con risposta un anno fa
profile picture
ESPERTO
verificato 6 mesi fa
  • 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
AWS
con risposta un anno fa
  • 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!

con risposta 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande