Re: Help with running pgadmin in a docker container

2023-05-16 Thread Aditya Toshniwal
Hi Simon, Can you try with docker env var - PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=False? On Wed, May 17, 2023 at 12:03 AM Simon Thorpe wrote: > So here is my temporary solution, given the environment I am building is > not a critical production system and only used for testing. > > docker c

Re: Help with running pgadmin in a docker container

2023-05-16 Thread Simon Thorpe
So here is my temporary solution, given the environment I am building is not a critical production system and only used for testing. docker compose up -d docker exec -it -u0 pgadmin sed -i "/app\.config\['sessions'] = dict\(\)/a\app\.config\['WTF_CSRF_ENABLED'\] = False" /pgadmin4/pgAdmin4.py A

Re: Help with running pgadmin in a docker container

2023-05-16 Thread Simon Thorpe
Attached... Seems like a csrf problem. A quick google search and it seems that when Docker is https://stackoverflow.com/questions/65233859/dockerize-pgadmin-the-csrf-tokens-do-not-match So I tried accessing the server in Firefox. And it all worked fine. Went back to Chrome, closed all my tabs

Re: Port 25060 failed: FATAL: pg_hba.conf rejects connection for host on Digital OCean

2023-05-16 Thread Aditya Toshniwal
Hi Uma, This is the pgAdmin mailing list. Since the error is coming from PostgreSQL server, you will get better support/solutions if you send this to - pgsql-ad...@postgresql.org On Tue, May 16, 2023 at 12:52 PM Uma Annamalai wrote: > We did not have any issue but did not run the prisma DB seed

Port 25060 failed: FATAL: pg_hba.conf rejects connection for host on Digital OCean

2023-05-16 Thread Uma Annamalai
We did not have any issue but did not run the prisma DB seeding for months and when the team tried to re-do it, we experienced the below error within the Pgadmin. We've been blocked for over 1 week now and tried so many things and nothing works. Full error: connection to server at "DBNAME.b.db.ondi