2016-11-24 40 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),超时错误停止和检索是可能的。