I used the client's own certificate signed by their preferred authority: https://www.incommon.org/
I followed instructions here: TLS certificates - #3 by erobinson which I have used before successfully, however this time it's a different CA for the certificate. I did manage to import the CA's certificate into the java store and resolved the earlier formplayer error in the log relating to the certificate, however, I'm still receiving the error in the browser when compiling the forms (Cannot create menus - unable to validate the forms due to a server error).
Back to the formplayer log file, I've also noticed this error on formplayer startup:
2019-09-13 19:29:37.973 WARN 13554 --- [ main] org.hibernate.orm.url : HHH10000002: File or directory named by URL [file:/home/cchq/www/monolith/releases/2019-09-12_12.09/formplayer_build/formplayer__2019-08-21_13.29/libs/formplayer.jar!/BOOT-INF/classes] could not be found. URL will be ignored
java.io.FileNotFoundException: /home/cchq/www/monolith/releases/2019-09-12_12.09/formplayer_build/formplayer__2019-08-21_13.29/libs/formplayer.jar!/BOOT-INF/classes (No such file or directory)
the file appears to be there, however:
-rw-r--r-- 1 cchq cchq 63402693 Sep 12 12:36 /home/cchq/www/monolith/releases/2019-09-12_12.09/formplayer_build/formplayer__2019-08-21_13.29/libs/formplayer.jar
And within the archive, the /BOOT-INF/classes directory exists as well...
Opening my app in the browser produces these log entries in formplayer's log:
2019-09-13 19:50:34.793 INFO 13554 --- [nio-8181-exec-6] application.Application : Got request URL: http://zdip.itech-zimbabwe.org//delete_application_dbs , response code: 200
2019-09-13 19:50:34.796 WARN 13554 --- [nio-8181-exec-6] io.sentry.dsn.Dsn : *** Couldn't find a suitable DSN, Sentry operations will do nothing! See documentation: https://docs.sentry.io/clients/java/ ***
2019-09-13 19:50:34.797 INFO 13554 --- [nio-8181-exec-6] aspects.LockAspect : Obtained lock for username erobinson@projectbalance_com
2019-09-13 19:50:34.798 INFO 13554 --- [nio-8181-exec-6] aspects.LoggingAspect : Request to delete_application_dbs with bean DeleteApplicationDbsRequestBean with appId=dd97d028373e4f5ba989718bcd4399f8, parent Authenticated request bean wih username=erobinson@projectbalance.com, domain=zdip, restoreAs=null
2019-09-13 19:50:34.798 INFO 13554 --- [nio-8181-exec-6] aspects.LoggingAspect : Request to delete_application_dbs returned result NotificationMessage message=Successfully cleared application database for dd97d028373e4f5ba989718bcd4399f8, isError=false
2019-09-13 19:50:34.798 INFO 13554 --- [nio-8181-exec-6] aspects.LockAspect : Relinquished lock for username erobinson@projectbalance_com
Clicking the make new version button produces no log entries in the formplayer log but in the front end this error:
The nginx_access log shows this when clicking the make new version button:
41.150.129.203 - - - - - [13/Sep/2019:20:03:32 +0000] "POST /a/zdip/apps/save/dd97d028373e4f5ba989718bcd4399f8/ HTTP/2.0" 200 63 294 "Log In :: CommCare HQ - CommCare HQ" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0"