Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi All:
I used Java SDK to connect to ThingWorx.
But I always got a error message.
java.util.concurrent.TimeoutException: Timed out APIRequestMessage [requestId: 5, endpointId: 0, sessionId: 20, method: PUT, entityName: anomalytest02, characteristic: Properties, target: *] at com.thingworx.communications.common.endpoints.CommunicationEndpoint.sendRequest(CommunicationEndpoint.java:533) at com.thingworx.communications.common.endpoints.CommunicationEndpoint.sendRequest(CommunicationEndpoint.java:496) at com.thingworx.communications.client.BaseClient.sendRequest(BaseClient.java:1076) at com.thingworx.communications.client.BaseClient.writeProperties(BaseClient.java:533) at com.thingworx.communications.client.BaseClient.writeProperty(BaseClient.java:474) at com.thingworx.communications.client.BaseClient.writeProperty(BaseClient.java:446) at org.lsa.TwxSimulator.SimpleThingClient.main(SimpleThingClient.java:110)
I used PTC's simple code.
Thanks,
Solved! Go to Solution.
Hello. Thanks for posting in the Community.
That timeout error may indicate:
What you might try doing is:
Let us know if changing the timeout value makes any difference.
Thank you,
-- Craig A.
Hello. Thanks for posting in the Community.
That timeout error may indicate:
What you might try doing is:
Let us know if changing the timeout value makes any difference.
Thank you,
-- Craig A.
Thank you.
I added more resource for hardware and I thought it solved the problems.
But I have a question.
I usually use the http to send or get data for ThingWorx.
Sometime 1 second has 1 ~ 3 requests into ThingWorx
The ThingWorx work well.
Now, I try to build a remote thing to do that.
It's sometime failed.
Does remote thing need more recourse?
Hi,
Is the ThingWorx hosting Operating System following the Minimum HW System Requirements at the moment?
Oops, It's not follow the server requirements before.
But now, I change it.
Thanks,