Re: firefox error when proxied through nginx - Mailing list pgadmin-support

From Khushboo Vashi
Subject Re: firefox error when proxied through nginx
Date
Msg-id CAFOhELfUK7UP0zzbdkAFiX-1=bOepvfpK2E5L167kLLHpw_36Q@mail.gmail.com
Whole thread Raw
In response to firefox error when proxied through nginx  (David Bear <dbear@heritageacademyaz.com>)
List pgadmin-support
Hi David,

On Thu, Apr 14, 2022 at 4:40 AM David Bear <dbear@heritageacademyaz.com> wrote:
I am running pgadmin4 in back of nginx. I've following the instructions on setting up nginx as a reverse proxy. I can successfully log in. I can even create pgadmin4 users. However, when I click on the "Play SQL" icon so that I can directly write SQL 

Please check if your Nginx is configured properly or not for the reverse proxy.
The explanation of your error you are facing is here: https://support.mozilla.org/en-US/kb/xframe-neterror-page

You can disable this security feature by setting the pgAdmin config option X_FRAME_OPTIONS = '', but it is not recommended to disable it.

Thanks,
Khushboo

OR if I try to view data from a view or table I get the following error from firefox
---------------
Firefox Can’t Open This Page

To protect your security, datahub.school will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
---------------

This is a very surprising error.  It seems that firefox is stopping the action. Any idea on why this is happening? 

And indeed, when I open it in a new window, I get the same error. 

BTW, I did find the note about creating a config_system.py and adding the session cookie variables -- https://www.pgadmin.org/faq/#13  

But this had no effect -- unless I need to rerun setup.py after adding those. 
--

David Bear

IT Manager

Heritage Academy — an A rated school

p: 480-461-4429

w: www.hamesa.com e: dbear@heritageacademyaz.com

https://www.facebook.com/HeritageAcademyAZ/


pgadmin-support by date:

Previous
From: David Bear
Date:
Subject: firefox error when proxied through nginx
Next
From: Dave Page
Date:
Subject: Re: Silent Install Parameters