在我的应用程序中,我正在调用 Http Adapter 过程以执行某些操作。该过程并非每次调用时都有效。有时它与服务器的连接会重置,有时会给出完美的响应。有人请告诉我这可能是什么原因以及如何处理这个?
这是我在 Worklight 控制台中遇到的异常,
[ERROR ] FWLSE0099E: An error occurred while invoking procedure [project TestApp]User_Profile/HttpRequestFWLSE0100E: parameters: [project TestApp]{
"arr": [
{
"body": {
"content": "[{\"Text\":\"User\",\"Value\":\"08\/31\/2013 17:03:37\"},{\"Text\":\"SampleName\",\"Value\":\"08\/31\/2013 17:03:37\"},{\"Text\":\"James\",\"Value\":\"08\/31\/2013 17:03:37\"},{\"Text\":\"Anderson\",\"Value\":\"08\/31\/2013 17:03:37\"}]",
"contentType": "application\/json"
},
"method": "post",
"path": "\/UserInfo.svc\/GetUserDetails",
"returnedContentType": "application\/json"
}
]
}
Http request failed: java.net.SocketException: Connection reset
FWLSE0101E: Caused by: [project TestApp]java.net.SocketException: Connection reset
com.worklight.common.log.filters.ErrorFilter