1
我有一個使用Ubuntu的Bitnami Rails堆棧。我使用5個瘦Web應用程序服務器設置Nginx。當我嘗試通過瀏覽器訪問我的Rails應用程序時,看起來Nginx正在將請求發送到瘦服務器。但是,我在瀏覽器中收到「內部服務器錯誤」。處理請求時出現意外錯誤:getaddrinfo:名稱解析中的臨時失敗
的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
感謝幫助!
UPDATE1
即使我只是在運行薄的獨立,我得到了同樣的錯誤。
[email protected]:/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