DDMAL / DDMAL/Rodan

Popup window issue on Rodan servers

Open
#1,163 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
CSS
Stars
46
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I discovered this while trying to debug for #1154. Since it is not an issue with interactive classifier in particular and it seems related to `postgre`, I just want to make a separate issue so that the previous one can be closed, for clarification.

Screenshot 2024-05-31 at 5 25 43 PM

The new Rodan production server (which is supposed to function properly) is having the popup window issue. When you go to the home page for the first time, it asks you for your username and password. However, since you don't have an account, you cannot get authenticated for functions like `register` or `forget password`. I do not have a solution at this point, but this Rodan production has an odd `postgre` setting when I set up everything so it might be related. (A temporary solution is to register with your phone so that you can have a pair of username and password to get rid of this popup window. The activation link should also be accessed with a phone browser. It's mysterious why it happens to computers and not to phones.)

This is what I changed on the production server `postgre` setting:

Modified inside postgre (might not be related):
```
nano /var/lib/postgresql/data/pg_hba.conf
```
and had the last few lines as
```
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication someadmin trust
#host replication someadmin 127.0.0.1/32 trust
#host replication someadmin ::1/128 trust
#host replication someadmin 10.0.2.55/32 trust

host all all all md5
```
The last line was seen on staging server and the other successful test server (which I have deleted to free up cloud resources) but somehow it was missing on this production server when I initialized everything.
The second last line is added to resolve the `cannot connect postgre` error in `rodan-main`.

There might be some other problems and `postgre` might be completely irrelevant to this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.