Closed beevelop closed 5 years ago
@beevelop you can try as follow
service postgresql stop
/etc/postgresql/11/main/postgresql.conf
change #listen_address='localhost' to listen_address='*'
change #password_encryption=md5 to password_encryption=md5
add host all all 0.0.0.0/0 md5 into /etc/postgresql/11/main/pg_hba.conf
service postgresql restart
@yuxuan2015 It's not about restarting a Postgres database. It's about keeping Rasa UI running, if the database is rescheduled on a Kubernetes cluster.
Currently, if Rasa UI is started before its postgres DB (or if the DB gets rescheduled on a different node and the connection is lost in e.g. a Kubernetes cluster), Rasa UI might get stuck on a "connection failed" error. E.g.:
The same seems to apply to connections to other components, at least during initialization:
Ideally, all such errors would be retried, to ensure Rasa UI can run on a k8s cluster.