SSL connection has been closed unexpectedly

11,063

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.

Share:
11,063
Techie
Author by

Techie

Remembering that I'll be dead soon, is the most important tool I've ever encountered to help me make the big choices in Life. Because almost everything - all external expectations, all pride, all fear of embarrassment or failure, these things just fall away in the face of death, leaving only what is truly important. Remembering that you are going to die, is the best way I know to avoid the trap of thinking you have something to lose. You are already naked, there is no reason not to follow your heart. -- Steve Jobs

Updated on November 26, 2022

Comments

  • Techie
    Techie over 1 year

    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.

    enter image description here

    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.

  • Techie
    Techie over 9 years
    what do you mean by mixed connections to database?