アーティクル - CS372864

管理者以外のユーザーが ThingWorx プラットフォームで ODataConnector、SwaggerConnector、または HTTPConnector ベースの Thing に対してルート/サービスを実行すると、「サービスを呼び出すことができません: 統合ランタイムが接続されていません」というメッセージが表示されます。

修正日: 06-Feb-2025   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • Windchill Navigate (formerly ThingWorx Navigate) 9.3 to 9.7
  • ThingWorx Platform 9.3 to 9.7
  • Integration Runtime (IR)

説明

  • 管理者以外のユーザーは、Odata コネクタでサービスを実行できません。
  • 管理者はSwaggerConnectorまたはODataConnector Thingテンプレートに基づいてThingsのルートを正常に実行できますが、非管理者は実行できません。
  • 以下のいずれかの Thing Template に基づく Thing は、管理者以外のユーザーでは失敗します。
    • スワッガーコネクタ
    • WindchillSwaggerコネクタ
    • ODataコネクタ
    • SAPOデータコネクタ
    • HTTPコネクタ
  • 管理者以外のユーザーが SwaggerConnector または ODataConnector でルートを実行するには、どのような権限が必要ですか?
  • ユーザーは Navigate グループに追加されますが、Integration Runtime インスタンスが接続されていないというエラー メッセージが表示されます。
  • Composer でルートを実行するときに、非管理者ユーザーとして次の情報を取得します。
     Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
  • <ThingworxStorage>\logsにある ThingWorx Platform ログには、次のエラー メッセージが表示されます。
    • アプリケーションログ.log
      • [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-2] Invalid service name: service_name
        [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-6] Invalid service name: service_name
        [L: ERROR] [O: c.t.s.s.i.IntegrationSubsystem] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-1] Error getting IR status
        [L: ERROR] [O: c.t.w.Things] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-443-exec-1] Execution error in service script [<Service>] :: Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
    • スクリプトログ.log
      • Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information - See Script Error Log for more details. 
    • ErrorLog.log (LoggingSubsystem でスタック トレースの有効化が有効になっている場合)
      • [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-7] Error getting IR status com.thingworx.common.exceptions.InvalidRequestException: Not authorized for PropertyRead on AvailableForRequests in IR-<GUID>
        	at com.thingworx.things.Thing.generateSecurityException(Thing.java:3171)
        	at com.thingworx.things.Thing.checkRunTimeAuthorization(Thing.java:3118)
        	at com.thingworx.things.Thing.getProperty(Thing.java:3660)
        	at com.thingworx.things.Thing.getPropertyValue(Thing.java:3700)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getAllIntegrationRuntimes(IntegrationSubsystem.java:680)
        	...
        [L: ERROR] [O: E.c.q.l.c.Logger] [I: ] [U: <User>] [S: ] [P: ] [T: https-openssl-nio-8443-exec-7] Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information com.thingworx.common.exceptions.InvalidRequestException: Unable to Invoke Service : No Integration Runtime Connected, Contact Administrator for Further Information
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getAllIntegrationRuntimes(IntegrationSubsystem.java:693)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.getNextAvailableIntegrationRuntime(IntegrationSubsystem.java:626)
        	at com.thingworx.system.subsystems.integration.IntegrationSubsystem.Invoke(IntegrationSubsystem.java:227)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        	...
      • 注記:
        • 不足している権限や可視性権限が不足しているかどうかに応じて、さまざまなエラーが発生する可能性があります。
    • SecurityLog.log (ログ レベルを Trace に設定)
      •  [L: TRACE] [O: ScttThing] [I: ] [U: <User>] [S: ] [P: ] [T: https-jsse-nio-443-exec-8] Run time authorization check failed due to Exception: Not authorized for PropertyRead on AvailableForRequests in IR-<GUID>
      • 注記:
        • 不足している権限や可視性権限が不足しているかどうかに応じて、さまざまなエラーが発生する可能性があります。
最新バージョンはこちらを参照ください CS372864