小编kpp*_*kpp的帖子

亚马逊AWS - 致命:无法读取"https://github.com"的用户名:没有此类设备或地址

我正在尝试使用AWS实例部署rails 3应用程序.对于部署,我使用opsworks服务并访问私有github存储库以进行部署.启动实例时,会出现以下错误.

[2015-03-10T04:34:32+00:00] INFO: Running queued delayed notifications before re-raising exception
[2015-03-10T04:34:32+00:00] ERROR: Running exception handlers
[2015-03-10T04:34:32+00:00] ERROR: Exception handlers complete
[2015-03-10T04:34:32+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache.stage1/chef-stacktrace.out
[2015-03-10T04:34:32+00:00] ERROR: git[Download Custom Cookbooks] (opsworks_custom_cookbooks::checkout line 29) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '128'
---- Begin output of git ls-remote "https://github.com/user_name/repository.git" HEAD ----
STDOUT:
STDERR: fatal: could not read Username for 'https://github.com': No such device or address
---- End output of git ls-remote "https://github.com/user_name/repository.git" HEAD ---- …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails amazon-web-services ruby-on-rails-3

7
推荐指数
1
解决办法
1949
查看次数