Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyfBm-0007SI-PM for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Mar 2018 14:58:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eyfBl-0002bz-Jb for pgadmin-hackers@arkaria.postgresql.org; Wed, 21 Mar 2018 14:58:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eyfBl-0002bo-Cs for pgadmin-hackers@lists.postgresql.org; Wed, 21 Mar 2018 14:58:05 +0000 Received: from mail-it0-x243.google.com ([2607:f8b0:4001:c0b::243]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eyfBg-0007uv-6e for pgadmin-hackers@postgresql.org; Wed, 21 Mar 2018 14:58:04 +0000 Received: by mail-it0-x243.google.com with SMTP id c1-v6so6187592itj.1 for ; Wed, 21 Mar 2018 07:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Z7MDuXHQytgtYKnsywyUuTQwy/QJF3fxOCNPwSy+UxY=; b=RhJ9MDaDtqib4WL2yWvp5ep2zKMpP2gUIn/KV8ARJLNSRTCBGB4aH5hnpaisNj0kvp SC8GhubG1urpHFUzsjMtvWDMFwksIHdQf1lgq3WNJwRNZhYgBqFx7+Tmr9q+Rp6BMDYi v+IowPST2roXGJFy1p98K1KZ50lQe6hzVeXW7CmCvvfvAH+WFOYzdY4U+ocysu52i1tF ChzDAfDMqoFLG9Q/53vBIxMHLRPpIftHVN4F1vB9BvAXIpXhIqWfH9Z1cCFe5VoSBSD4 G4nAImeWF3oLt+db2armw4U3wwA8gzZyEz5ZigZhEh6ZEWWo9+ZbImhvfFUrTTElfkhi +1kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Z7MDuXHQytgtYKnsywyUuTQwy/QJF3fxOCNPwSy+UxY=; b=hVgM4pYIBVEJt3HqpDXv6uQAILJPgcOk6nPKqP99YXJXKo/G3Ol1ewKAu+DOrX6yaJ o9vim6MD3D3aVQXWZfWqJCXMaDm3yCNH0jbrohJIh4w/LkWp4DwC/VgaaU0ohNYmbvYR DS/+ASW9a8NlFjT7u2wueEYU0em9ExxPveIVa4TsMfI7XGAmxrEc0eYIelCilzseiMP4 NrgEaL6xkP5mbWSMc7nlk8dVH3mkJR4nZhyaE74tMpvvK0DiJNEcttDR/RxOJeWucDIX 3DcbO9rjf2YKrJOAoUX7WqZp+th9o76FtWOv2n2rWtDVUxzLIlM8nHjz4s7/pKrvbjtc +fRg== X-Gm-Message-State: AElRT7Gba0otx7ESKekYeZIez7TyW1Efn8wbGJbpD+a/KrLQXqb2LL1h HP4YmBbi+JR1ylbOGPPyoMlhfOY7lV1Vj7MAJ1Gfvg== X-Google-Smtp-Source: AG47ELsnhu0tQvZnOzmua5nTnhyItsvS4r3GizuJHtqHwxJqAbjwASrb2s6620OXUJQm+cqeBBcxgDW7auLMN15gvnk= X-Received: by 2002:a24:e89:: with SMTP id 131-v6mr4559785ite.147.1521644277389; Wed, 21 Mar 2018 07:57:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joao De Almeida Pereira Date: Wed, 21 Mar 2018 14:57:47 +0000 Message-ID: Subject: Re: Experiencing issues To: Khushboo Vashi Cc: Murtuza Zabuawala , pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000a0f9e10567ed6a4c" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000a0f9e10567ed6a4c Content-Type: text/plain; charset="UTF-8" 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.vashi@enterprisedb.com> wrote: > On Wed, Mar 21, 2018 at 8:10 PM, Joao De Almeida Pereira < > jdealmeidapereira@pivotal.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.vashi@enterprisedb.com> wrote: >> >>> >>> >>> On 21 Mar 2018 20:01, "Joao De Almeida Pereira" < >>> jdealmeidapereira@pivotal.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.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 < >>>> jdealmeidapereira@pivotal.io> wrote: >>>> >>>>> Where can I find information about that? >>>>> >>>>> On Wed, Mar 21, 2018 at 10:16 AM Khushboo Vashi < >>>>> khushboo.vashi@enterprisedb.com> wrote: >>>>> >>>>>> >>>>>> >>>>>> On 21 Mar 2018 19:41, "Joao De Almeida Pereira" < >>>>>> jdealmeidapereira@pivotal.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 >>>>>> >>>>>> >>>>>> >>>> >>> --000000000000a0f9e10567ed6a4c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So what you are saying is that if I have a server, I need = to do DEFAULT_SERVER=3D0.0.0.0 and then set the real domain on the COOKIE d= omain?

On Wed, Mar 21,= 2018 at 10:55 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
On Wed, Mar 21, 2018 at 8:10 PM, Joao De Almeida Perei= ra <jdealmeidapereira@pivotal.io> wrote:
Ok Murtuza you are right,=C2=A0<= div>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.<= /div>
On Wed, Mar 21, 2018 at 10:39 AM Khushboo Vashi= <k= hushboo.vashi@enterprisedb.com> wrote:


On 21 Mar 2018 20:01, "Joao De Almeida Pereira&qu= ot; <j= dealmeidapereira@pivotal.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 <murtuz= a.zabuawala@enterprisedb.com> wrote:
Yes, that's cookie related issue (RM#3197), To fix tha= t I added below in my config_local.py and it started working again,

<= div>DEFAULT_SERVER =3D '0.0.0.0'=C2=A0=
COOKIE_DEFAULT_DOMAIN =3D SESSION_CO= OKIE_DOMAIN =3D DEFAULT_SERVER

Clear your browser cookies and server = side sessions.


<= div dir=3D"ltr">
--=
Regards,
Murtuza Zabuawala
EnterpriseDB:=C2=A0http://www.enter= prisedb.com
The Enterprise PostgreSQL Company
=

On Wed, Mar 21, 2018 at 7:55 PM, Joao De Alm= eida Pereira <jdealmeidapereira@pivotal.io> wrote= :
Where can I find infor= mation about that?

On = Wed, Mar 21, 2018 at 10:16 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com<= /a>> wrote:


On 21 Mar = 2018 19:41, "Joao De Almeida Pereira" <jdealmeidapereira@pivotal.io= > wrote:
Hello Hackers,
Can anyone use the current master branch?
Whe= n I try to open a server I get a 428. Is that only me?
May be beca= use of cookie changes.=C2=A0
Check your config.py an= d config_local.py if you have done changes related to DEFAULT_SERVER in you= r config_local.py then you need to change other 2 cookie related variables = also.

Thanks
Joao



--000000000000a0f9e10567ed6a4c--