FATAL: Ident authentication failed for user “xyzw” (PG::ConnectionBad)
But according to pg_hba.conf I am not connecting using ident on localhost:
host all all 127.0.0.1/32 md5
or am I?
host all all ::1/128 ident
Because you know, ::1 is localhost also and you can easily overlook this. Never forget IPv6 even when dealing with localhost.