IBM Worklight 6.0 - Socket reset connection

I am working on a project with highlighting, in it I use web services hosted on a SharePoint server using the Worklight adapter.

Several times I get a Socket Exception , and the adapter cannot call the web service.
This happens randomly.

In 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 
+6
source share
2 answers

According to the exception, the main reason is that the connection was reset. There are several reasons why this may happen, one of which will lose network packets or similar problems connecting to a lower level; Another possible reason may be that SharePoint synchronizes the socket with free resources.

The best way to fix IMO issues is to sniff your network connection using tools like WireShark or Fiddler.

Please check out the highest votes and comments on this question to learn more about the issue.

+1
source

We saw the same problem when connecting to an HTTP server before IBM Commerce. So far, it has been a decision for us to put the Worklight server and the IIS HTTP server on two different subnets. We are investigating why this is so. Not sure if 100% related to what you see, but came up with what I would answer here.

0
source

Source: https://habr.com/ru/post/953210/


All Articles