アーティクル - CS308816
Thingworx のコンテンツ ローダー関数で使用可能な GetJSON サービスの呼び出し中にタイムアウト エラーが発生する
修正日: 12-Oct-2023
適用対象
- ThingWorx Platform 8.4
説明
- コンテンツ ローダー関数で使用可能な GetJSON サービスの呼び出し中にタイムアウト エラーが発生する
- エラー ログのスタック トレースには次のものが含まれます
- [L: エラー] [O: EctwBaseService] [I: ] [U: 管理者] [S: ] [T: http-nio-80-exec-2] [コンテキスト: com.thingworx.webservices.context.HttpExecutionContext@756c0b4c ][メッセージ: サービス スクリプトの実行エラー [インシデント] :: <cust>.service-now.com:443 [<cust>.service-now.com/149.96.37.127] に接続できませんでした: 接続がタイムアウトしました: 接続] java.net.ConnectException: 接続がタイムアウトしました: 接続します
java.net.DualStackPlainSocketImpl.waitForConnect(ネイティブメソッド)で
java.net.DualStackPlainSocketImpl.socketConnect で (ソース不明)
java.net.AbstractPlainSocketImpl.doConnect で (ソース不明)
java.net.AbstractPlainSocketImpl.connectToAddress で (ソース不明)
java.net.AbstractPlainSocketImpl.connect で (ソース不明)
java.net.PlainSocketImpl.connect で (ソース不明)
java.net.SocksSocketImpl.connect で (ソース不明)
java.net.Socket.connect で (ソース不明)
org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337) で
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141) で
... 84 個の共通フレームを省略
ラップ元: org.apache.http.conn.HttpHostConnectException: <cust>.service-now.com:443 [<cust>.service-now.com/149.96.37.127] への接続に失敗しました: 接続がタイムアウトしました: 接続
org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158) で
org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) で
org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) で
org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) で
org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) で
org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) で
org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) で
org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) で
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) で
com.thingworx.common.utils.HttpUtilities.LoadJSON(HttpUtilities.java:699) で
com.thingworx.common.utils.HttpUtilities.LoadJSON(HttpUtilities.java:653) で
com.thingworx.resources.content.ContentLoader.GetJSON(ContentLoader.java:362) で
sun.reflect.NativeMethodAccessorImpl.invoke0(ネイティブメソッド)
sun.reflect.NativeMethodAccessorImpl.invoke で (ソース不明)
sun.reflect.DelegatingMethodAccessorImpl.invoke で (ソース不明)
java.lang.reflect.Method.invoke で (ソース不明)
com.thingworx.common.processors.ReflectionProcessor.processService(ReflectionProcessor.java:261) で
com.thingworx.handlers.ReflectionServiceHandler.processService(ReflectionServiceHandler.java:50) で
com.thingworx.handlers.ServiceHandlerBase.processServiceWithMetrics(ServiceHandlerBase.java:48) で
com.thingworx.entities.helpers.InternalServiceHelper.processServiceRequestDirect(InternalServiceHelper.java:117) で
com.thingworx.entities.helpers.InternalServiceHelper.processServiceRequest(InternalServiceHelper.java:73) で
com.thingworx.entities.ServiceProviderEntity.processServiceRequest(ServiceProviderEntity.java:53) で
com.thingworx.dsl.engine.adapters.VirtualFunction.call(VirtualFunction.java:145) で
... 62 個の共通フレームが省略されています
- [L: エラー] [O: EctwBaseService] [I: ] [U: 管理者] [S: ] [T: http-nio-80-exec-2] [コンテキスト: com.thingworx.webservices.context.HttpExecutionContext@756c0b4c ][メッセージ: サービス スクリプトの実行エラー [インシデント] :: <cust>.service-now.com:443 [<cust>.service-now.com/149.96.37.127] に接続できませんでした: 接続がタイムアウトしました: 接続] java.net.ConnectException: 接続がタイムアウトしました: 接続します
最新バージョンはこちらを参照ください CS308816