no connection pool with primary found
I am using Rails and am experiencing a connection pool error very randomly and it does not target any single endpoint specifically. I can hit endpoints about 70% of the time without getting this error. The database is PostgreSQL running on Google Cloud. Here's the main stuff of the error I'm getting: #<ActiveRecord::ConnectionNotEstablished: ActiveRecord::ConnectionNotEstablished> /usr/local/bundle/gems/activerecord-5.1.5/lib/active_record/connection_handling.rb:112:in `connection_pool' ActiveRecord::ConnectionNotEstablished (No connection pool with 'primary' found.): Gemfile: source 'https:/