通过restful service复制数据时出错 [英] Error occur while data copy through restful service

查看:234
本文介绍了通过restful service复制数据时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在从休息服务中复制JSON数据时遇到问题。


我曾尝试将样本数据复制为10个JSON对象并且已成功完成但是当我从源代码中尝试完整副本时,它却给出了下面提到的错误。我已经在源上设置了查询超时无限制,所以我猜这边没有
问题。 

你能指导一下如何解决这个问题吗?


活动denodo_plant失败:失败发生在'Source'端。 ErrorCode = UserErrorFailToReadFromRestResource,'Type = Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message = Fail
从REST资源中读取。,Source = Microsoft.DataTransfer.ClientLibrary,''Type = System.IO.IOException,Message =读操作失败,看内部异常。,Source = System.Net.Http,''Type = System.Net.WebException,Message =请求被中止:
连接意外关闭。,Source = System,'




提前致谢。



问候,


Gohar

解决方案

Hello Gohar,  ;


从错误看,API似乎没有按预期工作,但只是为了让你知道5月份  02太平洋标准时间下午1点左右,我们确实在Azure端发生了中断。我不确定这是否是一个后果。我可以用一个好的
足够的重试间隔进行重试,看看是否有效。




Hi,

I am facing an issue while copying a JSON data from rest service.

I have tried to copy sample data as 10 JSON objects and it was successfully completed but when I tried the full copy from source then it gave the below mentioned error. I have already set the query timeout unlimited on the source, so i guess there is no issue from that side. 
Could you please guide how to fix this issue?

Activity denodo_plant failed: Failure happened on 'Source' side. ErrorCode=UserErrorFailToReadFromRestResource,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Fail to read from REST resource.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.IO.IOException,Message=The read operation failed, see inner exception.,Source=System.Net.Http,''Type=System.Net.WebException,Message=The request was aborted: The connection was closed unexpectedly.,Source=System,'

Thanks in advance.

Regards,

Gohar

解决方案

Hello Gohar , 

From the error it looks like that the API is not working as expected , but just to let you know that on May  02 around 1:00 PM PST we did had outages on Azure side . I am not sure if this is a fallout of that . I could have a put a retry with a good enough retry interval to see if that work .


这篇关于通过restful service复制数据时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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