Skip to main content
1-Visitor
Nov 20, 2025 7:34 AM UTC
Solved

Resources["ContentLoaderFunctions"].PostJSON

Resources["ContentLoaderFunctions"].PostJSON调用大模型接口,短回复没有问题,长回复报以下错:javascript service. Message ::Read timed out。请问是不是系统又限制?在哪里可以更改配置?

Rocko
RockoAnswer
19-Tanzanite
Nov 24, 2025 7:41 AM UTC

Two timeouts need to be checked.

1) PostJSON functions has a timeout parameter with a default of 60 seconds

2) ScriptTimeout in platform-settings.properties: https://support.ptc.com/help/thingworx/platform/r10.0/en/#page/ThingWorx/Help/Installation/Installation/platform_settings_json_configuration_details.html

 

3 replies

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
Nov 24, 2025 7:41 AM UTC

Two timeouts need to be checked.

1) PostJSON functions has a timeout parameter with a default of 60 seconds

2) ScriptTimeout in platform-settings.properties: https://support.ptc.com/help/thingworx/platform/r10.0/en/#page/ThingWorx/Help/Installation/Installation/platform_settings_json_configuration_details.html

 

Translate
Support
Nov 25, 2025 1:52 AM UTC

Hi @YY_14409369,

It appears that there is a reply that answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,


Charles

Translate
18-Opal
Nov 27, 2025 5:56 PM UTC

Another possible reason, in addition to what @Rocko wrote -- servers are often behind firewalls that filter outgoing traffic. Check if you can access that URL from your server without ThingWorx.

 

/ Constantine

Translate