【发布时间】:2017-07-28 08:03:17
【问题描述】:
每当我运行 bundle exec foreman start 时,我都会遇到错误。
到现在还好好的,突然就停止了。
过程文件
网络:捆绑 exec rails s -p 3000
redis: redis-server --port 6379
db: /usr/local/bin/mysqld --gdb
watch_re: npm run watch:js:re
watch_vue: npm run watch:js:vue
sidekiq: bundle exec sidekiq -q high -q default -q crawler_facebook -q crawler_twitter -q mckinley -q twitter_io -q twitter_reach_freq -q master_update -q twitter_check_notification -q tw_report_file_creator -q mojaco_tw_crawler -q mojaco_fb_crawler -q fb_report_file_creator -q cache_manager -q facebook_attribution
ssh_tunneling_for_elasticache: ssh -N -L 60660:sherpa-production.y6mej4.0001.apne1.cache.amazonaws.com:60660 ec2-user@ec2-13-114-37-187.ap-northeast-1.compute.amazonaws.com -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null"
【问题讨论】:
-
请在此处复制并粘贴您的 Procfile。正在运行的命令之一尝试连接到 AWS(ElasticCache 会这样做)并且 AWS 实例不知道您的公共 SSH 密钥。您必须将其添加到服务器才能通过 SSH 正确连接。
标签: ruby-on-rails error-handling foreman