Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2522

Investigate 500 errors in app store

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      As discussed during scrum Sep 3 2020, there are some new problems with App Store.

      I was able to log in and submit an App, but when I logged out, I got a 500 error.

      Chirag Chandrahas Shetty has noticed similar problems.

      For this task, please investigate – what is causing the problem? Is it a configuration error or an error in the code?

        Attachments

          Activity

          ann.loraine Ann Loraine created issue -
          ann.loraine Ann Loraine made changes -
          Field Original Value New Value
          Epic Link IGBF-1388 [ 17463 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          Prof. [~aloraine] Just had a look at the error log for devappstore1, this seems to be a configuration issue.

          *Error*

          • django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '3.228.92.48:443'. You may need to add '3.228.92.48' to ALLOWED_HOSTS.

          I would have to check what is going on and why it requires IP address rather than devappstore1.bioviz.org

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited Prof. [~aloraine] Just had a look at the error log for devappstore1, this seems to be a configuration issue. * Error * django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '3.228.92.48:443'. You may need to add '3.228.92.48' to ALLOWED_HOSTS. I would have to check what is going on and why it requires IP address rather than devappstore1.bioviz.org
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - - edited

          Prof. [~aloraine] and Sameer Shanbhag The error occurred after I created the template sub-folder. Will look into it in detail.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - - edited Prof. [~aloraine] and Sameer Shanbhag The error occurred after I created the template sub-folder. Will look into it in detail.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Yeah - just gave it a debug.

          Heres the error:

          • django.template.exceptions.TemplateDoesNotExist: nav_panel.html
          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Yeah - just gave it a debug. Heres the error: django.template.exceptions.TemplateDoesNotExist: nav_panel.html
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment - - edited

          Chirag Chandrahas Shetty
          Devappstore1 is now working.

          Please do `git status` on the devappstore1 instance to check the changes I made to the repository.

          Solution

          • Refactor all the instances where the template files are used rather than just doing the changes in views.py file to maintain the folder structure.

          Changes in

          • apps_with_tag.html
          • all_apps.html
          • apps_default.html

          C.C Prof. [~aloraine]

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - - edited Chirag Chandrahas Shetty Devappstore1 is now working. Please do `git status` on the devappstore1 instance to check the changes I made to the repository. Solution Refactor all the instances where the template files are used rather than just doing the changes in views.py file to maintain the folder structure. Changes in apps_with_tag.html all_apps.html apps_default.html C.C Prof. [~aloraine]
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment -

          Sameer Shanbhag Thank you for looking into it.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - Sameer Shanbhag Thank you for looking into it.
          sameer Sameer Shanbhag (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          sameer Sameer Shanbhag (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          sameer Sameer Shanbhag (Inactive) made changes -
          Assignee Sameer Shanbhag [ sameer ]
          Hide
          noor91zahara Noor Zahara (Inactive) added a comment -

          Sameer Shanbhag / Chirag Chandrahas Shetty - Could you add the code diff link here for the review?

          Show
          noor91zahara Noor Zahara (Inactive) added a comment - Sameer Shanbhag / Chirag Chandrahas Shetty - Could you add the code diff link here for the review?
          ann.loraine Ann Loraine made changes -
          Sprint Summer 7: 31 Aug - 11 Sep [ 102 ] Summer 7: 31 Aug - 11 Sep, Fall 1: 14 Sep - 25 Sep [ 102, 103 ]
          ann.loraine Ann Loraine made changes -
          Rank Ranked higher
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          ann.loraine Ann Loraine made changes -
          Assignee Sameer Shanbhag [ sameer ]
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Chirag Chandrahas Shetty Can you do attach the Pull Request Link.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Chirag Chandrahas Shetty Can you do attach the Pull Request Link.
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment -

          We can close the ticket since it was caused due to changes done for ticket number IGBF-2517.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - We can close the ticket since it was caused due to changes done for ticket number IGBF-2517 .
          ann.loraine Ann Loraine made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          ann.loraine Ann Loraine made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          ann.loraine Ann Loraine made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

            People

            • Assignee:
              sameer Sameer Shanbhag (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: