psql: FATAL: too many connections for role
This is a common error when you are using more connections than you are allowed to, or when you have reached the limit. Max number of connections on the free turtle plan is 5. You can close an active connection via the ElephantSQL control panel. Note that limits are only enforced approximately; if two new sessions start at about the same time when just one connection "slot" remains for the role, it is possible that both will fail.