Update: I just noticed we can't create or edit Security rules. We can access the list of rules but when trying to create a new one or edit existing rule, same error message pops up: "Unexpected error".
It seems that you have some problem with PostgreSQL.
Hope you have all ports open.
I would recommend you to log a case with Qlik if you still find issue.