Article - CS409406
ThingWorx Event queue keeps filling sometimes when using Mashup with GetProperties service with Automatically update when able in ThingWorx
Modified: 23-May-2025
Applies To
- ThingWorx Platform 9.4
Description
- When using a mashup with GetProperties service with Automatically update when able selected, the Event queue may grow in size when there is a slow/bad network connection
- Following error can be seen in ApplicationLog
Error Executing Event Handler 'ForwardEvent' for event Type.Thing:Entity.XXXX:Event.DataChange:Property.YYYY
- ErrorLog with Enable stack trace shows
Error Executing Event Handler 'ForwardEvent' for event Type.Thing:Entity.XXXX:Event.DataChange:Property.YYYY java.util.concurrent.TimeoutException: Timed out APIRequestMessage [requestId: 918593, endpointId: -1, sessionId: -1, method: POST, entityName: PersistentSession6dad157e-3732-4951-a68a-5fe695950158, characteristic: Services, target: DataChange] at com.thingworx.communications.common.endpoints.CommunicationEndpoint.sendRequest(CommunicationEndpoint.java:543) at com.thingworx.communications.common.endpoints.CommunicationEndpoint.sendRequest(CommunicationEndpoint.java:506) at com.thingworx.things.connected.RemoteThing.sendRequest(RemoteThing.java:1852) at com.thingworx.things.connected.RemoteThing.callService(RemoteThing.java:1716) at com.thingworx.things.connected.RemoteThing.callService(RemoteThing.java:1681) at com.thingworx.things.connected.RemoteThing.processForwardEvent(RemoteThing.java:1983) at com.thingworx.things.connected.BrowserGateway.processForwardEvent(BrowserGateway.java:97) at com.thingworx.things.connected.RemoteThing.ForwardEvent(RemoteThing.java:1930) at jdk.internal.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:230) at com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50) at com.thingworx.handlers.ServiceHandlerBase.processServiceWithMetrics(ServiceHandlerBase.java:48) at com.thingworx.things.Thing.handleEvent(Thing.java:8384) at com.thingworx.things.Thing.processEvent(Thing.java:8340) at com.thingworx.system.subsystems.eventprocessing.EventInstance.run(EventInstance.java:58) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
This is a printer-friendly version of Article 409406 and may be out of date. For the latest version click CS409406