I restarted postgresql with logging and now get:
Connection failed.
Caused by: java.net.SocketTimeoutException: Connect timed out
This explains the long delay between hitting Search and seeing the error
screen but does not explain why the connection is timing out.