the-teacher / rails7-startkit

Launch Rails with 1 shell command!

Home Page:https://github.com/the-teacher/rails7-startkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unable to deploy successfully

raddrick opened this issue · comments

Greetings!

I've been trying to setup a new instance of this today, I have a few other instances that have deployed without a hitch. today I am receiveing this though,

# ./spec/views/landings/show.html.erb_spec.rb:1:in <top (required)>
# ------------------
# --- Caused by: ---
# PG::ConnectionBad:
#   FATAL:  no pg_hba.conf entry for host "172.24.0.6", user "postgres", database "rails7_app_test", no encryption
#   /usr/local/bundle/gems/pg-1.4.5/lib/pg/connection.rb:632:in async_connect_or_reset'
No examples found.

Finished in 0.00006 seconds (files took 1.65 seconds to load)
0 examples, 0 failures, 10 errors occurred outside of examples

Coverage report generated for RSpec to /home/lucky/app/coverage. 8 / 164 LOC (4.88%) covered.
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
15. Visit Rails App: http://local....

more specifically:

PG::ConnectionBad: FATAL:  no pg_hba.conf entry for host "172.24.0.6", user "postgres", database "rails7_app_development", no encryption```

@raddrick sorry sir, fir now no any guesses

I think you found on the internet something like that
https://dba.stackexchange.com/questions/83984/connect-to-postgresql-server-fatal-no-pg-hba-conf-entry-for-host

But I never had an issue like that before