2016-11-24 62 views
0

我的匯率沒有更新。 Cron計劃每天運行它。最初收到電子郵件錯誤報告,其中有幾行涉及貨幣對的失敗更新,例如通過Webservicex和Google財經的貨幣匯率超時錯誤

Currency update warnings: WARNING: Cannot retrieve rate from http://www.webservicex.net/CurrencyConvertor.asmx/ConversionRate?FromCurrency=NZD&ToCurrency=BAM

但是電子郵件中未註明的其他貨幣對也未能更新。我使用Magento Connect安裝Google Finance替代品,但在cron運行後仍然收到錯誤郵件。

Currency update warnings: WARNING: Cannot retrieve rate from [Google finance URL]

檢查Github repo和xml文件與Connect版本沒有區別。

當手動嘗試通過在管理系統或者服務來更新>管理貨幣>價格

我收到500錯誤:

Request Timeout

This request takes too long to process, it is timed out by the server. If it >should not be timed out, please contact administrator of this web site to >increase 'Connection Timeout'.

的php.ini中的htdocs根有

max_execution_time = 260 

我改爲

max_execution_time = 18000 

但沒有改善。我試過在這裏和其他地方搜索,無法找到同樣的錯誤的參考。我正在使用CE 1.9.3

回答

0

似乎webservicex目前處於關閉狀態。自三天以來我們有同樣的錯誤。嘗試聯繫他們導致asp.net惹麻煩。 你會看到它,如果你在瀏覽器中

打開this link也許等待一點點:)

+0

我知道webservicex已關閉 - 過去發生過幾次,現在我想通過使用不同的服務來解決這個不可靠的問題。但在嘗試切換到Google財經後,我收到了與上述相同的兩個錯誤。 – kenmeri

0

解決。 它似乎是一個谷歌配額的事情,一旦我減少了我試圖獲取的貨幣對的數量(現在在100以下,它已經超過120),超時錯誤停止和檢索是可能的。