Menu

ERR_TOO_MANY_REDIRECTS on login page

2020-12-10
2020-12-23
  • Lakshminarasimhan

    Hi.
    We have Projectopen, V 5 installed locallaly and has been working for many months.
    Al of a sudden it started throwing up ERR_TOO_MANY_REDIRECTS on login page an no one can login. We tried different browsers, clearing cache and also restarting the services. It is not helping.
    The last activity which was likely done was time sheet entry by some one.
    Would greatly appreciate a response as we have started using the system and we are highly dependent on it now

     
  • Frank Bergmann

    Frank Bergmann - 2020-12-10

    Hi,

    The error.log is perfectly OK.

    You have to check the URLs served, and what the PO server returns.
    Use Chrome developer tools and post both request and result headers and contents here.

    Cheers
    Frank

     
  • Lakshminarasimhan

    Hi Frank

    Any suggestions on wayforward? Should we need to reinstall?
    Regards

     
  • Frank Bergmann

    Frank Bergmann - 2020-12-21

    Hi,

    The error.log is perfectly OK.

    You have to check the URLs served, and what the PO server returns.
    Use Chrome developer tools and post both request and result headers and contents here.

    reinstall

    Better do a new install on a different machine, copy the PostgreSQL dump from your current machine and restore there (search Google for "project-open backup restore").

    However, please consider what exactly you changed. I believe there is a good chance that the change was "outside" of ]po[ on the Linux or network side.

    Cheers
    Frank

     
    • Lakshminarasimhan

      Hi Frank

      Please find attached the dump from google developer tools. I have given the first three records and then subsequent ones are reloops.

      We reinstalled in another server and it gives is the same error after we restored from the last database backup.

      Now we are attempting to restore an earlier version of postgres backup to check out.

      "Request URL: http://192.168.30.33:8000/
      Request Method: GET
      Status Code: 302 Found
      Remote Address: 192.168.30.33:8000
      Referrer Policy: strict-origin-when-cross-origin
      Connection: keep-alive
      Content-Length: 326
      Content-Type: text/html; charset=utf-8
      Date: Mon, 21 Dec 2020 11:06:31 GMT
      Location: http://192.168.30.33:8000/register/?return_url=/
      Server: NaviServer/4.99
      Set-Cookie: ad_session_id="831077%252c0%252c0%252c1608548791+%257b398+1608549991+A572F71663DCF9ED6793D4C096311B1A18FC85A3%257d"; Expires=Fri, 01-Jan-2035 01:00:00 GMT; Path=/; Discard; HttpOnly
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
      Connection: keep-alive
      Cookie: ad_session_id="831077%252c0%252c0%252c1608548486+%257b700+1608549686+67FF8CD1D21149672AC506F48E51F45A1F88BB4E%257d"
      Host: 192.168.30.33:8000
      Upgrade-Insecure-Requests: 1
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

      Request URL: http://192.168.30.33:8000/register/?return_url=/
      Request Method: GET
      Status Code: 302 Found
      Remote Address: 192.168.30.33:8000
      Referrer Policy: strict-origin-when-cross-origin
      Connection: keep-alive
      Content-Length: 313
      Content-Type: text/html; charset=utf-8
      Date: Mon, 21 Dec 2020 11:06:31 GMT
      Location: http://192.168.30.33:8000/register/
      Server: NaviServer/4.99
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
      Connection: keep-alive
      Cookie: ad_session_id="831077%252c0%252c0%252c1608548791+%257b398+1608549991+A572F71663DCF9ED6793D4C096311B1A18FC85A3%257d"

      Request URL: http://192.168.30.33:8000/register/
      Request Method: GET
      Status Code: 302 Found
      Remote Address: 192.168.30.33:8000
      Referrer Policy: strict-origin-when-cross-origin
      Connection: keep-alive
      Content-Length: 313
      Content-Type: text/html; charset=utf-8
      Date: Mon, 21 Dec 2020 11:06:31 GMT
      Location: http://192.168.30.33:8000/register/
      Server: NaviServer/4.99
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
      Connection: keep-alive
      Cookie: ad_session_id="831077%252c0%252c0%252c1608548791+%257b398+1608549991+A572F71663DCF9ED6793D4C096311B1A18FC85A3%257d"
      Host: 192.168.30.33:8000
      Upgrade-Insecure-Requests: 1
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
      Host: 192.168.30.33:8000
      Upgrade-Insecure-Requests: 1
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
      return_url: /

      Request URL: http://192.168.30.33:8000/register/
      Request Method: GET
      Status Code: 302 Found
      Remote Address: 192.168.30.33:8000
      Referrer Policy: strict-origin-when-cross-origin
      Connection: keep-alive
      Content-Length: 313
      Content-Type: text/html; charset=utf-8
      Date: Mon, 21 Dec 2020 11:06:31 GMT
      Location: http://192.168.30.33:8000/register/
      Server: NaviServer/4.99
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
      Accept-Encoding: gzip, deflate
      Accept-Language: en-US,en;q=0.9
      Connection: keep-alive
      Cookie: ad_session_id="831077%252c0%252c0%252c1608548791+%257b398+1608549991+A572F71663DCF9ED6793D4C096311B1A18FC85A3%257d"
      Host: 192.168.30.33:8000
      Upgrade-Insecure-Requests: 1
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"

      Thanks Lux

      From: Frank Bergmann fraber@users.sourceforge.net
      Sent: 21 December 2020 15:10
      To: [project-open:discussion] 295937@discussion.project-open.p.re.sourceforge.net
      Subject: [project-open:discussion] ERR_TOO_MANY_REDIRECTS on login page

      Hi,

      The error.log is perfectly OK.

      You have to check the URLs served, and what the PO server returns.
      Use Chrome developer tools and post both request and result headers and contents here.

      reinstall

      Better do a new install on a different machine, copy the PostgreSQL dump from your current machine and restore there (search Google for "project-open backup restore").

      However, please consider what exactly you changed. I believe there is a good chance that the change was "outside" of ]po[ on the Linux or network side.

      Cheers
      Frank


      ERR_TOO_MANY_REDIRECTS on login pagehttps://sourceforge.net/p/project-open/discussion/295937/thread/c20eb94967/?limit=25#e170


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/project-open/discussion/295937/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
    • Lakshminarasimhan

      Hi
      The issue was resolved by restoring to a earlier backup of database

      Thanks Lux

      From: Frank Bergmann fraber@users.sourceforge.net
      Sent: 21 December 2020 15:10
      To: [project-open:discussion] 295937@discussion.project-open.p.re.sourceforge.net
      Subject: [project-open:discussion] ERR_TOO_MANY_REDIRECTS on login page

      Hi,

      The error.log is perfectly OK.

      You have to check the URLs served, and what the PO server returns.
      Use Chrome developer tools and post both request and result headers and contents here.

      reinstall

      Better do a new install on a different machine, copy the PostgreSQL dump from your current machine and restore there (search Google for "project-open backup restore").

      However, please consider what exactly you changed. I believe there is a good chance that the change was "outside" of ]po[ on the Linux or network side.

      Cheers
      Frank


      ERR_TOO_MANY_REDIRECTS on login pagehttps://sourceforge.net/p/project-open/discussion/295937/thread/c20eb94967/?limit=25#e170


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/project-open/discussion/295937/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Frank Bergmann

    Frank Bergmann - 2020-12-23

    Hi Lux,

    Do you have a copy of the "bad" database dump?
    Could you try to compare the "apm_parameter_values" table in order to check which parameter (I understand it was a parameter...) caused the issue?

    Do you know that you an actually run a "diff" on database dumps? You have to unzip the file, but then it should work pretty well on the SQL level.

    Cheers
    Frank

     

Log in to post a comment.

MongoDB Logo MongoDB