简体   繁体   English

AWS Sagemaker 致命:无法读取“https://gitlab.com/my/repo.git”的用户名:终端提示已禁用

[英]AWS Sagemaker fatal: could not read Username for 'https://gitlab.com/my/repo.git': terminal prompts disabled

I want to integrate my private gitlab repository into AWS Sagemaker.我想将我的私有 gitlab 存储库集成到 AWS Sagemaker。

I added git repository on Sagemaker using https protocol (it allows only this protocol) and saved secrets(username and password of my gitlab account) for git repo. I added git repository on Sagemaker using https protocol (it allows only this protocol) and saved secrets(username and password of my gitlab account) for git repo.

When I run notebook instance by linking git repo, it failed with following message.当我通过链接 git 存储库运行笔记本实例时,它失败并显示以下消息。

fatal: could not read Username for 'https://gitlab.com/my/repo.git': terminal prompts disabled

Is there any step I am missing?有没有我遗漏的步骤?

The AWS documentation states that this error can occur in the following scenarios: AWS 文档指出,在以下情况下可能会发生此错误:

  • The Git repository URL is wrong. Git 存储库 URL 是错误的。
  • The password contains a forward slash character ("/").密码包含正斜杠字符(“/”)。

But in my case, what fixed the problem was adding the .git at the end of the address.但就我而言,解决问题的方法是在地址末尾添加.git More specifically, the following format: https://gitlab.com/username/repository was causing error;更具体地说,以下格式: https://gitlab.com/username/repository导致错误; changing it to: https://gitlab.com/username/repository.git fixed the issue for me.将其更改为: https://gitlab.com/username/repository.git为我解决了这个问题。

I have also double checked that the above two conditions were met prior to adding .git , so it seems like the documentation was off.在添加.git之前,我还仔细检查了上述两个条件是否满足,因此文档似乎已关闭。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SSL error when access gitlab's git thru eclipse "... Secure connection to https://gitlab.com/... could not be established because of SSL problems" - SSL error when access gitlab's git thru eclipse "... Secure connection to https://gitlab.com/... could not be established because of SSL problems" gitlab-runner 无法解析主机:gitlab.com - gitlab-runner Could not resolve host: gitlab.com SSH 的指纹与 Gitlab.com 不匹配 - Fingerpints for SSH do not match with Gitlab.com Gitlab Runner 多久连接一次 gitlab.com? - How often does Gitlab Runner connect to gitlab.com? 是否可以配置 GitLab.com 的默认共享运行器? - Is it possible to configure GitLab.com's default shared runners? ssh:无法解析主机名 git:名称或服务未知致命:无法从远程存储库读取 - ssh: Could not resolve hostname git: Name or service not known fatal: Could not read from remote repository 为什么在导入 GitHub 存储库时 GitLab 需要完全访问读写权限? - Why does GitLab need full access read and write permissions when importing a GitHub repo? 我可以设置我的本地 gitlab 跑步者等待不同 repo 中的其他 pepline 运行吗? - Can i set my local gitlab runner to wait when other pepline in different repo is running? AWS S3 - java.net.UnknownHostException: repo-user-bucket.s3.us-west-2.amazonaws.com - AWS S3 - java.net.UnknownHostException: repo-user-bucket.s3.us-west-2.amazonaws.com AWS Sagemaker 在线特征存储数据存储 - AWS Sagemaker online feature store data storage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM