From: | Joao De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io> |
---|---|
To: | Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com> |
Cc: | Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: Experiencing issues |
Date: | 2018-03-21 14:57:47 |
Message-ID: | CAE+jja=LBv-u5oXt=8JucnUC7NdYq06FqP6K6-w199ozg0emOQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
So what you are saying is that if I have a server, I need to do
DEFAULT_SERVER=0.0.0.0 and then set the real domain on the COOKIE domain?
On Wed, Mar 21, 2018 at 10:55 AM Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
> On Wed, Mar 21, 2018 at 8:10 PM, Joao De Almeida Pereira <
> jdealmeidapereira(at)pivotal(dot)io> wrote:
>
>> Ok Murtuza you are right,
>> Now my question is I have the default server to 127.0.0.1 and I want to
>> access it using localhost as well. How can I do this?
>>
>> No, you can't.
> Domain based cookie will work for that domain and it's sub-domains.
>
>> On Wed, Mar 21, 2018 at 10:39 AM Khushboo Vashi <
>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>
>>>
>>>
>>> On 21 Mar 2018 20:01, "Joao De Almeida Pereira" <
>>> jdealmeidapereira(at)pivotal(dot)io> wrote:
>>>
>>> I tried that but still nothing. When i check in the inspector for
>>> cookies I have none
>>>
>>> Share your config_local file.
>>>
>>> On Wed, Mar 21, 2018 at 10:30 AM Murtuza Zabuawala <
>>> murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
>>>
>>>> Yes, that's cookie related issue (RM#3197), To fix that I added below
>>>> in my config_local.py and it started working again,
>>>>
>>>> DEFAULT_SERVER = '0.0.0.0'
>>>> COOKIE_DEFAULT_DOMAIN = SESSION_COOKIE_DOMAIN = DEFAULT_SERVER
>>>>
>>>> Clear your browser cookies and server side sessions.
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Murtuza Zabuawala
>>>> EnterpriseDB: http://www.enterprisedb.com
>>>> The Enterprise PostgreSQL Company
>>>>
>>>>
>>>> On Wed, Mar 21, 2018 at 7:55 PM, Joao De Almeida Pereira <
>>>> jdealmeidapereira(at)pivotal(dot)io> wrote:
>>>>
>>>>> Where can I find information about that?
>>>>>
>>>>> On Wed, Mar 21, 2018 at 10:16 AM Khushboo Vashi <
>>>>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On 21 Mar 2018 19:41, "Joao De Almeida Pereira" <
>>>>>> jdealmeidapereira(at)pivotal(dot)io> wrote:
>>>>>>
>>>>>> Hello Hackers,
>>>>>> Can anyone use the current master branch?
>>>>>> When I try to open a server I get a 428. Is that only me?
>>>>>>
>>>>>> May be because of cookie changes.
>>>>>> Check your config.py and config_local.py if you have done changes
>>>>>> related to DEFAULT_SERVER in your config_local.py then you need to change
>>>>>> other 2 cookie related variables also.
>>>>>>
>>>>>> Thanks
>>>>>> Joao
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>
From | Date | Subject | |
---|---|---|---|
Next Message | Khushboo Vashi | 2018-03-21 15:00:57 | Re: Experiencing issues |
Previous Message | Khushboo Vashi | 2018-03-21 14:55:22 | Re: Experiencing issues |