Heroku返回404,但日志没有错误

乔纳森

目前,我进入heroku应用程序时遇到错误,但是当我跳入日志时,它不会返回任何错误。

这就是它的返回。

2015-04-07T00:06:07.664850+00:00 heroku[router]: at=info method=GET path="/" host=popcorn.herokuapp.com request_id=d9e5961e-b819-4c5b-b979-b57db7dbb570 fwd="90.200.53.244" dyno=web.1 connect=2ms service=190ms status=500 bytes=1754
2015-04-07T00:06:08.060105+00:00 heroku[router]: at=info method=GET path="/favicon.ico" host=popcorn.herokuapp.com request_id=f5c27031-9e43-4d77-83b8-52337a3084f6 fwd="90.200.53.244" dyno=web.1 connect=3ms service=14ms status=404 bytes=1829
2015-04-07T00:08:09.761488+00:00 heroku[router]: at=info method=GET path="/" host=popcorn.herokuapp.com request_id=42778326-e39a-41e6-a5d2-428ad5eba96f fwd="90.200.53.244" dyno=web.1 connect=1ms service=35ms status=500 bytes=1754

Routes.rb

Rails.application.routes.draw do
  devise_for :users
  root "posts#index"
  resources :posts

  resources :categories do
    resources :posts
  end

  get 'tags/:tag', to: 'posts#index', as: :tag
end

任何帮助将是辉煌的!

谢谢

bsvin33t

在使用Heroku时,希望您不要忘记在应用程序上运行迁移。

heroku run rake db:migrate

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Flask 和 Apache - 日志中没有错误,总是 404

为什么subprocess.run返回退出代码2,但日志中没有错误?

如果没有错误,则返回Golang

调试:Heroku错误,但本地没有错误

PostgreSQL无法启动,并且没有错误日志

Docker 不断重启,日志上没有错误

apache无法启动,没有错误日志

RecyclerView在日志中显示空值,但没有错误

Nginx 无法创建日志文件(没有错误)

codeigniter 空白页,没有错误或日志

错误:清单合并失败,出现多个错误,请参阅日志| 但日志中没有错误

Uncaught SyntaxError:意外的令牌<并且没有错误404

Firebase事务返回null并完成而没有错误

API端点不返回任何数据但没有错误

Mongo查询“$avg”返回nan而没有错误消息

猫鼬populate()返回没有错误的空数组

ImageIO.read返回NULL,没有错误

Laravel Model-> save()返回false但没有错误

ZipArchive PHP:Close()返回false,没有错误消息

Magento SOAP API:createCreateCustomer返回false,没有错误

glCheckFramebufferStatus返回0,并且glGetError中没有错误

php mysql select函数返回0但没有错误

查询返回空值但没有错误

JDBC 查询不返回任何没有错误的值

插件中的错误使500服务器错误,屏幕或日志中没有错误消息

JAX-RS上的JAXB-具有关系的JPA实体在日志上不返回JSON HTTP 500时没有错误(Glassfish)

没有错误吗?

Pulseaudio是否有错误日志?

堆积的条形图未显示,控制台日志中也没有错误