Skip to main content
19-Tanzanite
April 9, 2020
Solved

How to increase Remote Service Time out

  • April 9, 2020
  • 2 replies
  • 1668 views

Hi,

 

I'm trying to execute remote service via Federation subsytem. When I try to execute service I'm getting timeout error 

Error executing service ServiceName. Message :: Timed out APIRequestMessage [requestId: 28, endpointId: -1, sessionId: -1, method: POST, entityName: *THING@HOST, characteristic: Services, target: TargetServiceName] - See Script Error Log for more details.

I have modified script timeout value as 300 seconds in platform-settings.json file. Still I'm facing timeout issue.

 

Could any one help me to solve this issue.

Thanks in advance. 

 

/VR

Best answer by smainente

Hello,

Can you try to increase the "Amount of time a request will wait for the response message before timing out (secs)" on the WSCommunicationsSubsystem  (on the instance that is calling the service).

 

WSCommunicationsSubsystem > Configuration > WebSocket Communication Settings > Amount of time a request will wait for the response message before timing out (secs)

 

 

2 replies

smainente16-PearlAnswer
16-Pearl
April 9, 2020

Hello,

Can you try to increase the "Amount of time a request will wait for the response message before timing out (secs)" on the WSCommunicationsSubsystem  (on the instance that is calling the service).

 

WSCommunicationsSubsystem > Configuration > WebSocket Communication Settings > Amount of time a request will wait for the response message before timing out (secs)

 

 

Velkumar19-TanzaniteAuthor
19-Tanzanite
April 9, 2020

Thanks a lot. It works fine after modifying configuration.

 

/VR