IBM Worklight 6.0 - Socket Exception connection reset
Asked Answered
S

2

6

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

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

From the development server log:

[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 
Siphonostele answered 5/9, 2013 at 5:20 Comment(1)
@Idan Adar , this problem is not solved till now why this is happening randomly. I am using worklight 6.1 and going through the same problem. At the same time socket expection is coming and same time it is getting data from adapter.Boff
L
1

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.

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.

Locket answered 3/10, 2013 at 5:11 Comment(0)
T
0

We have seen this same issue when connecting to an HTTP server in front of IBM Commerce. The solution so far for us has been to put the Worklight server and IIS HTTP server on two different subnets. We are investigating why this the case. Not sure if 100% related to what you are seeing but figured I would answer here.

Toothsome answered 23/10, 2013 at 15:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.