Thursday, August 25, 2011

[Rails] Re: PGError: server closed the connection unexpectedly

I read your post somewhere and already tried to turn ssl off. My db is
on the same server currently.
I will turned it off in Postgres explicitly and will add the yml flag to
database.yml as another try.


Jim Morris wrote in post #1018382:
> I was getting these errors too, in my case it turned out to be the ssl
> connection to postgresql (on a local to local connection). Seems it uses
> ssl
> by default, and there is an issue with long running ssl connections.
>
> Simple solution for me was to turn off SSL on the connection, as it was
> a
> local connection and going going over the internet.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate