首次访问时接收以下IO错误 [英] Receiving following IO error on first access

查看:52
本文介绍了首次访问时接收以下IO错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时(不是每次调用,但相当一致)当我们第一次调用服务时,我们会收到下面的IO错误 - 如果我们再次立即调用translate(),相同的段也不会出现问题 - 这也许是令牌的问题$ b代和访问服务? 

Sometimes (not every call, but fairly consistently) when we first call the service we receive the IO error below - also consistently if we call translate() again immediately the same segments translate no problem - is it perhaps a problem with the token generation and accessing the service? 

我们也可以通过等待11分钟(令牌在10之后到期)和调用来重现错误再次,不是每次 - 但始终如一地我们在第一次尝试通话时看到错误。

We have also been able to reproduce the error by waiting 11 minutes (token expires after 10) and calling again, not every time - but consistently we see the error on the first attempted call.

< edit>   使用该服务时,我们偶尔会收到以下2到15个细分的错误。这似乎是随机发生的 - 我们无法复制它 - 只能在
之后捕获它。
< edit>

<edit> When using the service we will occasionally receive the error below for anywhere from 2 to 15 segments at a time. It seems to happen randomly - we have not been able to replicate it - only catching it after the fact.<edit>

我们可能会采取什么措施来解决这个问题?

$


错误:IO问题

Any thoughts on what we might do to resolve this?


Error: IO Problem with

[<?xml version ="1.0"encoding ="UTF-8"?>

< GetTranslationsArrayRequest>

[<?xml version="1.0" encoding="UTF-8"?>
<GetTranslationsArrayRequest>

< AppId>< / AppId>

<AppId></AppId>

< From> en< / From>

<From>en</From>

< Options xmlns:o =" http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2\">
< o:类别> []< / o:类别>

< o:ContentType> text / html< / o :ContentType>

< o:ReservedFlags>< / o:ReservedFlags>

  < o:State>< / o:State>

< o: Uri>< / o:Uri>

< o:用户>< / o:用户>

< / Options>

<Options xmlns:o="http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2"> <o:Category>[[Redacted]]</o:Category>
<o:ContentType>text/html</o:ContentType>
<o:ReservedFlags></o:ReservedFlags>
  <o:State></o:State>
<o:Uri></o:Uri>
<o:User></o:User>
</Options>

<文本xmlns:s ="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

< s:string>要翻译的字符串。< / s:字符串>

< s:string> ;要转换的字符串。< / s:string>

< s:string>要翻译的字符串。< / s :string>

< / Texts>

<Texts xmlns:s="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<s:string>String to Translate.</s:string>
<s:string>String to Translate.</s:string>
<s:string>String to Translate.</s:string>
</Texts>

< To> es< / To>

<To>es</To>

< MaxTranslations> 1< ; / MaxTranslations>

<MaxTranslations>1</MaxTranslations>

< / GetTranslationsArrayRequest>]

</GetTranslationsArrayRequest>]

推荐答案

我没有看到那个错误。是否可以发布代码片段?
I haven't seen that error. Is it possible to post a snippet of your code?


这篇关于首次访问时接收以下IO错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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