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-0007SJ-Pz 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-0002by-Jf 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 1eyf9F-0007Ul-AB for pgadmin-hackers@lists.postgresql.org; Wed, 21 Mar 2018 14:55:29 +0000 Received: from mail-ot0-x235.google.com ([2607:f8b0:4003:c0f::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eyf9B-0007tb-7k for pgadmin-hackers@postgresql.org; Wed, 21 Mar 2018 14:55:28 +0000 Received: by mail-ot0-x235.google.com with SMTP id q5-v6so5876815oth.12 for ; Wed, 21 Mar 2018 07:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L2R3r7KeDoPqG1RnWSbPFeMt8uwLztGmR4KUy+mHYNI=; b=KOzSok6q9bG8QvzEXqhz2fYyaT+7CpWRIV/1aVtUSLpvOrORNlrZfUkAbCux3/MkO0 IbBqvqT88CBLVGwZIunz5vk/ZpdGvJoISS70jVrQOuQUvHGEecQOVJx50rDlXVl+dNSn MPmeFM8F/YlOSvDXgQGD/x1IIm6UYdQdL/uTv0Wf4iGCDSsDNhePqM1FNrvJiA4Zc6Io vUU52PzCR9UtluS3kVcF53SembA1smFKlK0fTnNT8P2BJsmu2EgO6+KpQLrhg8F8q2R1 sAPlXifGs9FSOzS04qfaBkcSjFqh2OCadCrtVZQnaJlZKRjhXSdFdT61gz6ld5C2c+Jn Tfuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L2R3r7KeDoPqG1RnWSbPFeMt8uwLztGmR4KUy+mHYNI=; b=lO+0eD1z62H5+FmH6Tt8vnpHcUELDIRnc/SPxMOJCKB8qPQlH6q+fpjtnVOuHSQC4e 4BRCLX7BlmRnXJAvvs8pQDwlWAjNepOl2iBQgpTZxt3UUYlk2tKrMX56kN5H7i4H8Buw D5YU6buMirLCEK1PfZLB8G5+j6yYAP/k/fEi2az8HtqhlRb8srpQK5CM1AHsOvG4XBHr er1NVTzQO+MjAK8IVQwsbgmjahjI1yKOCHbO4nKh/OtgRoQ7uN0MdABn50xNkKSfASzS 0QiHPEiPboWZUjKYqubtcHz8nlBFWaXwCRup+pr1fUmorQ1VzoU6bETWufy4xrFN4Gwl QdQA== X-Gm-Message-State: AElRT7FlwO2L930Sjaj10sAylmApIIphnVw01oVqRDGtBGgopTf82E5N 6vKxbrpdEpATDiBWXXGAQZS1s/DByTS3BBPYt3y4PQ== X-Google-Smtp-Source: AG47ELvfKaVIWcZR/FkXM3/xWmOUhx5Zbl/7RcooG6thiGv5bkSuSkKKD0U+C6iVrJJbZa3LYnuTagG0vWY6UdvC0qE= X-Received: by 2002:a9d:2b54:: with SMTP id f20-v6mr11510018otd.277.1521644122803; Wed, 21 Mar 2018 07:55:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.138.251 with HTTP; Wed, 21 Mar 2018 07:55:22 -0700 (PDT) In-Reply-To: References: From: Khushboo Vashi Date: Wed, 21 Mar 2018 20:25:22 +0530 Message-ID: Subject: Re: Experiencing issues To: Joao De Almeida Pereira Cc: Murtuza Zabuawala , pgadmin-hackers Content-Type: multipart/alternative; boundary="0000000000006a28da0567ed610b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000006a28da0567ed610b Content-Type: text/plain; charset="UTF-8" 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 > 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 >>>>> >>>>> >>>>> >>> >> --0000000000006a28da0567ed610b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, Mar 21, 2018 at 8:10 PM, Joao De Almeida Pereira <j= dealmeidapereira@pivotal.io> wrote:
Ok Murtuza you are right,=C2=A0
Now my questi= on 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 A= M 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 i= nspector for cookies I have none
=
Share your config_local file.
On Wed, Mar 21, 2018 at 10:3= 0 AM Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wro= te:
Yes, that's cookie = related issue (RM#3197), To fix that I added below in my config_local.py an= d it started working again,

DEFAULT_SERVER= =3D '0.0.0.0'=C2=A0
C= OOKIE_DEFAULT_DOMAIN =3D SESSION_COOKIE_DOMAIN =3D DEFAULT_SERVER
Cle= ar your browser cookies and server side sessions.


=
--
Regards,
Murtuza Zabuawala
EnterpriseDB:=C2=A0h= ttp://www.enterprisedb.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> wrote:


On 21= Mar 2018 19:41, "Joao De Almeida Pereira" <jdealmeidapereira@pivotal.i= o> 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?
<= /div>
May be because of cookie cha= nges.=C2=A0
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




--0000000000006a28da0567ed610b--