下载报告时Bing Ads API ECONNRESET [英] Bing Ads API ECONNRESET when downloading report

查看:86
本文介绍了下载报告时Bing Ads API ECONNRESET的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

两天前,我的应用在尝试下载批量报告时开始从Bing Ads API中收到错误。生成和轮询报告按预期工作。我怀疑这与SSL方法的更改和SSLv3的弃用有关。我已将
我的节点应用更改为使用SSLv23并仍然出现间歇性的ECONNRESET错误。 

Two days ago my app started getting errors from the Bing Ads API when trying to download the bulk report. Generating and polling the report work as expected. I suspect this has something to do with a change in SSL methods and deprecation of SSLv3. I've changed my node app to use SSLv23 and still get an intermittent ECONNRESET error. 

我正在使用NODE  v0.12.2与请求模块v2。 58.0。这是请求调用方法:

I'm using NODE v0.12.2 with the request module v2.58.0. Here is the request call method:

  request({
    method: 'GET',     
    uri: client.reportURL,
    agentOptions: {
      secureProtocol: 'SSLv23_method',
      securityOptions: 'SSL_OP_NO_SSLv3'
    }    
  })


如果我不断重新请求它最终通过的文件。此外,直接从Chrome下载报告也是有效的。

 

If I continually re-request the file it eventually goes through. Also, downloading the report directly from Chrome works as well.

 

推荐答案

我们目前正在调查并会尽快用解决方案时间表更新。感谢您的耐心等待!
We are currently investigating and will update you with a resolution timeline ASAP. Thanks for your patience!


这篇关于下载报告时Bing Ads API ECONNRESET的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆