【发布时间】:2016-06-12 01:57:12
【问题描述】:
感谢 exception_notification gem,我的应用程序正在发送通知电子邮件。我想知道我是否被黑客入侵了,因为请求 url 是一个外部 url (http://api.ipify.org),并且它托管在 digitalocean 上。请参阅下面的错误详细信息。
An ActionView::MissingTemplate occurred in home#index:
Missing template home/index, application/index with {:locale=>[:en], :formats=>[:text], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :jbuilder]}. Searched in:
* "/var/www/rails_app/app/views"
* "/home/user/.rvm/gems/ruby-2.1.0@rails_app/gems/kaminari-0.16.3/app/views"
* "/home/user/.rvm/gems/ruby-2.1.0@rails_app/gems/ckeditor-4.1.3/app/views"
请求:
- 网址:http://api.ipify.org/
- HTTP 方法:GET
- IP地址:185.75.56.44
- 参数:{"controller"=>"home", "action"=>"index"}
- 时间戳:2016-02-29 12:28:52 +0800
- 服务器:*******.com
- Rails 根目录:/var/www/rails_app
- 进程:29977
【问题讨论】:
-
错误只是说您缺少视图模板。为什么你认为你被黑客入侵了?
-
@TheGeorgeous 这就是为什么我指出它来自外部 url (api.ipify.org) 而这不是我的域名。
标签: ruby-on-rails digital-ocean