0

Carrierwaveを使用してRackspaceに写真をアップロードするアプリケーションがあります。本番サーバーで20時間ごとに発生するエラーは絶対に奇妙です。承認に関連しています。これがログです:

Completed 500 Internal Server Error in 6531ms

Excon::Errors::Unauthorized (Expected(201) <=> Actual(401 Unauthorized)
request => {:connect_timeout=>60, :headers=>{"Content-Type"=>"image/jpeg",
"X-Auth-Token"=>"my-auth-token", "Content-Length"=>439253,
"Host"=>"clouddrive.com:443"}, :instrumentor_name=>"excon", :mock=>false, :read_timeout=>60, :retry_limit=>4, :ssl_ca_file=>.....response => #<Excon::Response:0xblah7420 
@body="401 Unauthorized\n\nThis server could not 
verify that you are authorized to        access the document you requested.
 Either you supplied the wrong credentials (e.g., bad password), 
or your browser does not understand how to supply the credentials required.\n\n

実稼働マシンでUnicornを再起動した後、すべてが正常であるため、私の資格情報はOKです。

ログメッセージを検索しましたが、見つけたものはすべてモジュールExconに関連しており、開発中のようです。

再起動で問題が解決した場合は、TTLまたはRackspaceClousFilesの設定を修正する必要があります。

どんな助けでも大歓迎です。

4

1 に答える 1

1

このバグは Fog v1.4 で修正されました。最近宝石を更新しましたか?

于 2012-08-09T04:10:06.790 に答える