public inbox for [email protected]
help / color / mirror / Atom feedFrom: Khushboo Vashi <[email protected]>
To: Joao De Almeida Pereira <[email protected]>
Cc: Murtuza Zabuawala <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Experiencing issues
Date: Wed, 21 Mar 2018 20:30:57 +0530
Message-ID: <CAFOhELcfBBU30Qnzj6O-XtwwMBT-fN1AewX+MFsfa6_VL0rmmA@mail.gmail.com> (raw)
In-Reply-To: <CAE+jja=LBv-u5oXt=8JucnUC7NdYq06FqP6K6-w199ozg0emOQ@mail.gmail.com>
References: <CAE+jja=24CGbB8kBXnKNNRT4n=t=f1hNYAi+iMNgZPhvtaJ_kQ@mail.gmail.com>
<CAFOhELdND4ZwmPk2D+MDYERWsiFqUHjLBwLUJ0ZasgYqva+ZSg@mail.gmail.com>
<CAE+jjamAJh82ZPN59R+-4bFROQccARKwG8YPS3Xtt9M8qm_mww@mail.gmail.com>
<CAKKotZT2M1q=0mfYrw13DSD8Og3ZYsfzt3sc8Y2sRiy7565uVA@mail.gmail.com>
<CAE+jjamnndMfhN-tnQmczY6NrNRVRdyeVVQ3RcE8SiKcg_HhSA@mail.gmail.com>
<CAFOhELdroDKmtNFS4T=ha=d35knfw8dmr2G6Cx0+5gmDqC+eKw@mail.gmail.com>
<CAE+jjanHFe7Di5HASmQUQRWzCg+qQMpZEK7K9GmD7mQVC1bPMA@mail.gmail.com>
<CAFOhELconM+iXeEAxeYNt5XU3UoE640tLK8V5839q4i4rtGoYA@mail.gmail.com>
<CAE+jja=LBv-u5oXt=8JucnUC7NdYq06FqP6K6-w199ozg0emOQ@mail.gmail.com>
On Wed, Mar 21, 2018 at 8:27 PM, Joao De Almeida Pereira <
[email protected]> wrote:
> 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?
>
> No I am saying, whatever you set as a DEFAULT_SERVER, the app can be
accessible with that server.
As, we have explicitly set DOMAIN in the cookie setting.
> On Wed, Mar 21, 2018 at 10:55 AM Khushboo Vashi <
> [email protected]> wrote:
>
>> On Wed, Mar 21, 2018 at 8:10 PM, Joao De Almeida Pereira <
>> [email protected]> 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 <
>>> [email protected]> wrote:
>>>
>>>>
>>>>
>>>> On 21 Mar 2018 20:01, "Joao De Almeida Pereira" <
>>>> [email protected]> 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.zabuawala@
>>>> enterprisedb.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 <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Where can I find information about that?
>>>>>>
>>>>>> On Wed, Mar 21, 2018 at 10:16 AM Khushboo Vashi <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 21 Mar 2018 19:41, "Joao De Almeida Pereira" <
>>>>>>> [email protected]> 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
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>
view thread (22+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Experiencing issues
In-Reply-To: <CAFOhELcfBBU30Qnzj6O-XtwwMBT-fN1AewX+MFsfa6_VL0rmmA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox