【问题标题】:Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution处理请求时出现意外错误:getaddrinfo:名称解析临时失败
【发布时间】:2013-03-15 14:50:17
【问题描述】:

我有一个使用 Ubuntu 的 Bitnami Rails 堆栈。我正在使用 5 个瘦 Web 应用程序服务器设置 Nginx。当我尝试通过浏览器访问我的 Rails 应用程序时,看起来 Nginx 正在将请求发送到瘦服务器。但是,我在浏览器中返回“内部服务器错误”。

thin.3000.log 然后包含这些条目:

>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:3000, CTRL+C to stop
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution

这是否意味着某种 DNS 问题?

这是我的 thin.yml = https://dl.dropbox.com/u/35302780/thin.yml

这是我的 nginx.conf = https://dl.dropbox.com/u/35302780/nginx.conf

这是 nginx.conf 中包含的 ndeavor.conf = https://dl.dropbox.com/u/35302780/ndeavor.conf

感谢您的帮助!

更新1

即使我只是单独运行 Thin,我也会遇到同样的错误。

bitnami@linux:/opt/bitnami/projects/ndeavor/current$ thin -e production start
>> Using rack adapter
/opt/bitnami/projects/ndeavor/releases/20130314191109/config/application.rb:3:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.

[DEVISE] Devise.use_salt_as_remember_token is deprecated and has no effect. Please remove it.

>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:3000, CTRL+C to stop
!! Unexpected error while processing request: getaddrinfo: Temporary failure in name resolution

【问题讨论】:

    标签: ruby-on-rails nginx thin


    【解决方案1】:

    它最终成为一个停机的 DNS 服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-18
      • 2020-08-22
      • 1970-01-01
      • 2019-10-04
      • 1970-01-01
      • 2019-03-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多