Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH Helper is failing to register instances to SSM fleet manager for jupyter lab and code editor apps #72

Closed
balaram59-work opened this issue Feb 3, 2025 · 1 comment

Comments

@balaram59-work
Copy link

Hi,
I have been trying to ssh into jupyter lab and code editor apps using sagemaker-ssh-helper(2.2.1). However it is failing to connect.

  • When I looked into the code, the root cause is that it is trying to read user_profile_name from /opt/ml/metadata/resource-metadata.json in _print_sm_user_profile_name method in sm-helper-functions
  • For now we have modified the method to function _print_sm_user_profile_name() { echo -n $USER_PROFILE_NAME }
    and made it work by passing user_profile_name as env variable
@ivan-khvostishkov
Copy link
Contributor

Hi, @balaram59-work , thanks for raising the issue. It's a known problem. Will be fixed in the upcoming release as part of #51 . I'm closing this now as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants