Navigation

    • Register
    • Login
    • Search
    • Recent
    • Popular

    ApiRequest Error

    Support
    2
    13
    867
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sely777 last edited by

      Pulled the inventory manually. Can I delete the computer and run the inventory again? No changes to certs or keys. Fresh install.

      1 Reply Last reply Reply Quote 0
      • T
        theopenem_admin last edited by

        Put the client into debug mode.

        Toec.exe --logLevel DEBUG
        

        restart the service and attach the log.

        S 1 Reply Last reply Reply Quote 0
        • S
          sely777 @theopenem_admin last edited by

          @theopenem_admin ok. Let me figure out how to do that. Thank you.

          S 1 Reply Last reply Reply Quote 0
          • S
            sely777 @sely777 last edited by

            service.log

            Also after running the command for log DEBUG I get the following response back.

            Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
            at Toec.Program.Main(String[] args)

            1 Reply Last reply Reply Quote 0
            • T
              theopenem_admin last edited by

              the command is case sensitive. Also make sure you have installed the certs on the server and the time is correct on both the server and client.

              S 1 Reply Last reply Reply Quote 0
              • S
                sely777 @theopenem_admin last edited by

                @theopenem_admin service.log

                Here is the service log after getting the DEBUG command right. Certs are installed on server and timezone and time are the same on both the client and server.

                1 Reply Last reply Reply Quote 0
                • T
                  theopenem_admin last edited by

                  Post the server log too. In your toec api web.config, about 2/3 down find level value="INFO", change it to DEBUG. Restart the client. Post the client api log from c:\program files\theopenem\Toec-API\private\logs

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sely777 @theopenem_admin last edited by

                    @theopenem_admin

                    ERROR Toems_Service.Entity.ServiceCertificate Could Not Validate Certificate: CN=fd03da6e-6f72-42ec-a7e3-17c1701fb124, O=Nampa Christian Schools
                    2021-06-07 13:59:54,107 [59] ERROR Toems_Service.Entity.ServiceCertificate A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider.

                    This is what was in the ClientAPI log.. over and over. Looks like a cert error. Weird. I installed both the certs.

                    1 Reply Last reply Reply Quote 0
                    • T
                      theopenem_admin last edited by

                      verify the ca and intermediate are installed in the correct location and trusted. Did you install on win10 or server?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sely777 @theopenem_admin last edited by

                        @theopenem_admin Server 2012R2

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sely777 @sely777 last edited by

                          @sely777

                          Got it.. Deleted the certs and installed them again. Now it's working. Now to go to create my first image.. Thank you!

                          1 Reply Last reply Reply Quote 0