ApiRequest Error
-
Put the client into debug mode.
Toec.exe --logLevel DEBUG
restart the service and attach the log.
-
@theopenem_admin ok. Let me figure out how to do that. Thank you.
-
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) -
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.
-
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.
-
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
-
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.
-
verify the ca and intermediate are installed in the correct location and trusted. Did you install on win10 or server?
-
@theopenem_admin Server 2012R2
-
Got it.. Deleted the certs and installed them again. Now it's working. Now to go to create my first image.. Thank you!