In my app I'm invoking a Http Adapter procedure for certain action to perform. The procedure does not work every time on invocation. Sometimes its connection to Server gets reset & sometimes gives perfect response. Someone please tell me what may be the reason for this and how to handle this one ?
Here is the Exception i'm getting in Worklight console,
[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