Welcome to the community forums for Theopenem. All responses are provided by other users that wish to help out. Theopenem will not respond to these posts. If you require more assistance than what the community can provide, we offer various paid support options.

TOEC Install Error (Provision)


  • Hi all,

    when I want to install toec I get this error;

    2022-09-13 12:18:02,943 ERROR [4] ApiRequest - The Request Was Unauthorized Provision/GetStartupInfo/
    2022-09-13 12:18:02,944 ERROR [4] ServiceInitialize - Could Not Reach Server To Obtain Startup Info. Retrying In 1 Minute.

    Please help me


  • put your com server in debug mode and post the com server log


  • 2022-09-13 15:25:01,813 DEBUG [4] ServiceActiveComServer - Trying To Establish Client Com Server
    2022-09-13 15:25:01,829 DEBUG [4] ServiceActiveComServer - Looking For Best Active Com Server.
    2022-09-13 15:25:01,829 DEBUG [4] ServiceActiveComServer - Verifying Connection To: http://xxx.xxx.xx.xx:8888/
    2022-09-13 15:25:02,001 DEBUG [4] ApiRequest - Provision/ComConnectionTest/
    2022-09-13 15:25:02,094 DEBUG [4] ServiceActiveComServer - Com Server Set To: http://xxx.xxx.xx.xx:8888/
    2022-09-13 15:25:02,094 DEBUG [4] ApiRequest - Provision/GetStartupInfo/
    2022-09-13 15:25:02,126 ERROR [4] ApiRequest - The Request Was Unauthorized Provision/GetStartupInfo/
    2022-09-13 15:25:02,126 ERROR [4] ServiceInitialize - Could Not Reach Server To Obtain Startup Info. Retrying In 1 Minute.
    2022-09-13 15:25:14,066 ERROR [4] ApiRequest - The Request Was Unauthorized Provision/GetStartupInfo/
    2022-09-13 15:25:14,066 ERROR [4] ServiceInitialize - Could Not Reach Server To Obtain Startup Info. Retrying In 1 Minute.
    2022-09-13 15:26:02,134 DEBUG [4] ServiceActiveComServer - Trying To Establish Client Com Server
    2022-09-13 15:26:02,134 DEBUG [4] ServiceActiveComServer - Looking For Best Active Com Server.
    2022-09-13 15:26:02,134 DEBUG [4] ServiceActiveComServer - Verifying Connection To: http://xxx.xxx.xx.xx:8888/
    2022-09-13 15:26:02,134 DEBUG [4] ApiRequest - Provision/ComConnectionTest/
    2022-09-13 15:26:02,180 DEBUG [4] ServiceActiveComServer - Com Server Set To: http://xxx.xxx.xx.xx:8888/
    2022-09-13 15:26:02,180 DEBUG [4] ApiRequest - Provision/GetStartupInfo/
    2022-09-13 15:26:02,212 ERROR [4] ApiRequest - The Request Was Unauthorized Provision/GetStartupInfo/
    2022-09-13 15:26:02,212 ERROR [4] ServiceInitialize - Could Not Reach Server To Obtain Startup Info. Retrying In 1 Minute.


  • That is the toec client. I need the com server log.


  • I don't know how do that


  • The Issue continues.. Could you please say how I put debug mode com server?


  • In your toec-api web.config file towards the bottom, find the line that says

    <root>
         <level value="INFO" />
         <appender-ref ref="ClientApiLog" />
       </root>
    

    change it to:

    <root>
          <level value="DEBUG" />
          <appender-ref ref="ClientApiLog" />
        </root>
    

    Additional log info can be found at https://docs.theopenem.com/tutorials/logs/


  • 2022-09-13 10:22:50,323 [28] ERROR Toems_Service.FilesystemServices Com Server With Guid updatethisvalue Not Found
    2022-09-14 17:47:13,032 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: e9f6b653 - Received provision auth request
    2022-09-14 17:47:13,063 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: e9f6b653 - Request URI http://XXX.XXX.XX.XX:8888/Provision/ComConnectionTest/
    2022-09-14 17:47:13,063 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: e9f6b653 - PC0000001:IAVkgi8Z1MwJrBAEop9rXAyEMuC3eDEEnEkAEV0qO0U=:ffbaeafbbc964fce82586419597d6349:1663166831
    2022-09-14 17:47:13,063 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: e9f6b653 - Received Signature: IAVkgi8Z1MwJrBAEop9rXAyEMuC3eDEEnEkAEV0qO0U=
    2022-09-14 17:47:13,563 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Received provision auth request
    2022-09-14 17:47:13,563 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Request URI http://XXX.XXX.XX.XX:8888/Provision/ComConnectionTest/
    2022-09-14 17:47:13,563 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - PC0000015:sghkHY6I+yH8hi6sW6WSPK0TzDfYDiQi3F08GzX2LLo=:b43eec4aaa1c4d55a12847920cec06df:1663166831
    2022-09-14 17:47:13,563 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Received Signature: sghkHY6I+yH8hi6sW6WSPK0TzDfYDiQi3F08GzX2LLo=
    2022-09-14 17:47:17,751 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Server Timestamp Seconds 1663166838
    2022-09-14 17:47:17,751 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Request Timestamp Seconds 1663166831
    2022-09-14 17:47:17,751 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Timestamp difference: 7
    2022-09-14 17:47:17,751 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Expected Signature Data PC0000001GEThttp%3a%2f%2f172.16.50.251%3a8888%2fprovision%2fcomconnectiontest%2f1663166831ffbaeafbbc964fce82586419597d6349
    2022-09-14 17:47:17,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Server Timestamp Seconds 1663166838
    2022-09-14 17:47:17,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Request Timestamp Seconds 1663166831
    2022-09-14 17:47:17,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Timestamp difference: 7
    2022-09-14 17:47:17,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Expected Signature Data PC0000015GEThttp%3a%2f%2f172.16.50.251%3a8888%2fprovision%2fcomconnectiontest%2f1663166831b43eec4aaa1c4d55a12847920cec06df
    2022-09-14 17:47:17,782 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Expected Signature: sghkHY6I+yH8hi6sW6WSPK0TzDfYDiQi3F08GzX2LLo=
    2022-09-14 17:47:17,767 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Signature mismatch
    2022-09-14 17:47:17,814 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Expected Signature: oA9juEYlU7SsHTG6z8pTy0p8dMcnrc25eME2yUYW6eE=
    2022-09-14 17:47:17,814 [58] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: aad6c78c - Authorization failed validation
    2022-09-14 17:47:18,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Received provision auth request
    2022-09-14 17:47:18,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Request URI http://XXX.XXX.XX.XX:8888/Provision/GetStartupInfo/
    2022-09-14 17:47:18,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - PC0000015:Y55UCginXiyvcRFYWgPzJmHQJ/sJVQxuS/Clv/+a9ac=:1522088b72f5425ca7fe04e43010517b:1663166836
    2022-09-14 17:47:18,767 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Received Signature: Y55UCginXiyvcRFYWgPzJmHQJ/sJVQxuS/Clv/+a9ac=
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Server Timestamp Seconds 1663166839
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Request Timestamp Seconds 1663166836
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Timestamp difference: 3
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Expected Signature Data PC0000015GEThttp%3a%2f%2f172.16.50.251%3a8888%2fprovision%2fgetstartupýnfo%2f16631668361522088b72f5425ca7fe04e43010517b
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Signature mismatch
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Expected Signature: ZGKrGnKJUhPZiFumXM5H5NjAXHG0eyuVo7VTV1aIT70=
    2022-09-14 17:47:18,798 [66] DEBUG Toems_ClientApi.Controllers.Authorization.ProvisionAuth ID: d962a64f - Authorization failed validation


  • Are you just testing this installation, or have you pushed it out to your computers. If you are just testing so far. I would regenerate your toems ca and and intermediate. Install the new certs on your server, regenerate Toec. Install Toec on a new machine. To rule all of those things out.