'SSL connection has been closed unexpectedly
I have developed an application using Codeigniter and PostgreSQL as the database.
Codeigniter application resides on IP 192.168.X.34 => Application server
PostgreSQL server resides on IP 192.168.X.35 => Database server
I frequently get below error in the production environment but in my local-pc I don't get any errors as such. Both production and local-pc are running ubuntu.

How can I fix this?
Update
OpenSSL 1.0.1e 11 Feb 2013
PostgreSQL version 9.1/main
There are no errors shown in the log file.
Solution 1:[1]
Restart the Apache at application server. Possible reason might be that Apache is using mixed connection to the database as in my case this was happening when I switched my databse server.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | r.bhardwaj |
