Heroku帮助Amazon RDS导轨推送数据库错误

编程入门 行业动态 更新时间:2024-10-27 20:27:26
本文介绍了Heroku帮助Amazon RDS导轨推送数据库错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

试图将数据库推送到Amazon RDS时遇到503错误

I get a 503 Error when trying to push my database to Amazon RDS

Home@PC /c/rails/konkurranceportalen (master) $ heroku db:push Loaded Taps v0.3.19 Auto-detected local database: mysql://root@127.0.0.1/konkurranceportalen?encodin g=utf8 Warning: Data in the app 'vinderhimlen' will be overwritten and will not be reco verable. ! WARNING: Potentially Destructive Action ! This command will affect the app: vinderhimlen ! To proceed, type "vinderhimlen" or re-run this command with --confirm vind erhimlen > vinderhimlen Sending schema Schema: 100% |==========================================| Time: 00:01:07 Sending indexes admins: 100% |==========================================| Time: 00:00:01 schema_migrat: 100% |==========================================| Time: 00:00:01 slugs: 100% |==========================================| Time: 00:00:02 Sending data 7 tables, 138 records admins: 100% |==========================================| Time: 00:00:00 kategoris: 0% | | ETA: --:--:-- Saving session to push_201103182120.dat.. !!! Caught Server Exception HTTP CODE: 503 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.or g/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <style type="text/css"> html, body, iframe { margin: 0; padding: 0; height: 100%; } iframe { display: block; width: 100%; border: none; } </style> <title>Application Error</title></head> </head> <body> <iframe src="s3.amazonaws/heroku_pages/error.html"> <p>Application Error</p> </iframe> </body> </html> Home@PC /c/rails/konkurranceportalen (master) $

我的Heroku日志 pastie/1687466

My Heroku log pastie/1687466

推荐答案

问题在于Amazon RDS防火墙阻止了Heroku。 在Amazon AWS中> Amazon RDS我确实进入了安全组,并添加了EC2安全组。

The problem were that Amazon RDS firewall did block Heroku. In Amazon AWS > Amazon RDS I did go into the security group and did add a EC2 Security Group.

详细信息如下:

Security Group: default AWS Account ID: 098166147350

更多推荐

Heroku帮助Amazon RDS导轨推送数据库错误

本文发布于:2023-10-17 12:47:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1500941.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:导轨   错误   数据库   Heroku   Amazon

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!