IBM Worklight 6.0 - 套接字异常连接重置 [英] IBM Worklight 6.0 - Socket Exception connection reset

查看:172
本文介绍了IBM Worklight 6.0 - 套接字异常连接重置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个worklight项目,其中我正在使用Worklight适配器来使用托管在SharePoint服务器上的Web服务。

I am working on a worklight project, in it I am consuming web services that are hosted on SharePoint server using a Worklight Adapter.

有时我会得到一个套接字异常并且适配器无法调用Web服务。
这是随机发生的。

Some times I am getting a Socket Exception and the adapter fails to call the web service.
This happening randomly.

来自开发服务器日志:

[ERROR   ] FWLSE0099E: An error occurred while invoking procedure.

Http request failed: java.net.SocketException: Connection reset
FWLSE0101E: Caused by:  [project TestApp]java.net.SocketException: Connection reset
com.worklight.common.log.filters.ErrorFilter 


推荐答案

根据例外情况,根本原因是连接已重置。导致这种情况发生的原因有多种,一种是网络数据包丢失或类似的低级连接问题;另一个可能的原因可能是SharePoint正在使套接字超时以释放资源。

According to the exception, the root cause is that the connection was reset. There are several reasons why this could happen, one being network packets being lost or similar lower level connectivity issues; another possible reason could be that SharePoint is timing out the socket to free resources.

解决此类问题的最佳方法IMO是使用工具嗅探网络连接例如 WireShark Fiddler

The best way to troubleshoot this kind of problems IMO is by sniffing into the network connection using tools like WireShark or Fiddler

请查看最高投票的答案和评论问题,以便更深入地了解问题。

Please have a look at the top-voted answer and comments to this question for more insights into the problem.

这篇关于IBM Worklight 6.0 - 套接字异常连接重置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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