Skip to main content
1-Visitor
November 20, 2025
Solved

Resources["ContentLoaderFunctions"].PostJSON

  • November 20, 2025
  • 3 replies
  • 342 views

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

Best answer by Rocko

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
November 24, 2025

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

 

16-Pearl
November 25, 2025

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

18-Opal
November 27, 2025

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