Hi everyone,
We encountered a recurring postgres error during a basic performance test of our oauth 2.0 authorization code grant_type flow. The below errors repeatedly occur while testing the oauth login page, the generation of the auth code, generation of access_token, the refresh token functionality, and the revoke access token functionality. The calls are made in succession (mimicking a typical use case flow order).
The test is run with only 1 concurrent user, at 1-5 TPS, and the test duration is 5 minutes.
2015-04-28 02:05:50,886 org: env: main WARN i.a.a.s.a.ServerBootstrapService - ServerBootstrapServiceImpl$1$4.execute() : Exception occured while making a query: select pg_last_xlog_receive_location() Exception: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)
These errors do not occur for our QC functional testing (very low volume).
Has anyone seen these errors before, and/or does anyone know if we should be worried about our infrastructure or applications?
Best, Chris