After a new installation of the Access Gateway, hitting the ProxyUI over the web results in the error:
Error Details Request URI: /proxyui/ Error Type: SPS Exception Error Code: VirtualHostNotFound Error Message: Virtual host is not properly configured.
This occurs when I try to hit it with the DNS name or the public IP. When I hit the url with the private IP I instead get the following error:
Server Error. The server was unable to process your request.
I cannot find any lines in the log files indicating an error. The JCE is properly deployed and the Virtual Hosts section in the server.conf file seems to be in order as well.
The virtual host error was occurring when the request for /proxyui was going to the Apache port. This tries to proxy the request via mod_jk and caused the error as no virtual host was set up for the hostname used.
When the correct Tomcat port was specified (8080 by default) in the request, the 'The server was unable to process your request' error occurred in the browser. We were never able to identify root cause of this error.
We could find no configuration problems with Access Gateway. Since the Access Gateway Web Agent was only showing a vague -1 error and we could find no other errors, we decided to uninstall and reinstall Access Gateway and this resolved the problem.