Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      0.25
    • Sprint:
      Fall 2 2021 Aug 30 - Sep10, Fall 3 2021 Sep 13 - Sep 24, Fall 4 2021 Sep 27 - Oct 8, Fall 5 2021 Oct 11 - Oct 22

      Description

      Deployed bioviz-connect sites report this error:

      [Tue Sep 07 16:32:54.544708 2021] [wsgi:error] [pid 29786:tid 140200196179712] [remote 75.90.51.92:53632] Not Found: /favicon.ico
      

      Fix this.

        Attachments

          Issue Links

            Activity

            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Please submit PR and merge. Code is OK.
            It's a bit weird however that the branch contains a commit from what appears to be a different branch. Did you not branch from the master branch?

            Show
            ann.loraine Ann Loraine added a comment - - edited Please submit PR and merge. Code is OK. It's a bit weird however that the branch contains a commit from what appears to be a different branch. Did you not branch from the master branch?
            Show
            nfreese Nowlan Freese added a comment - Merged https://bitbucket.org/nfreese/bioviz-connect/pull-requests/259/igbf-2941?link_source=email
            Hide
            ann.loraine Ann Loraine added a comment -

            Deployed for testing on https://bvctest6.bioviz.org.

            Show
            ann.loraine Ann Loraine added a comment - Deployed for testing on https://bvctest6.bioviz.org .
            Hide
            ann.loraine Ann Loraine added a comment -

            To test, log into the host and view the apache logs.

            Show
            ann.loraine Ann Loraine added a comment - To test, log into the host and view the apache logs.
            Hide
            nfreese Nowlan Freese added a comment - - edited

            Testing on bvctest6 by logging in to the host and viewing the apache logs.

            Running: tail -f /var/log/apache2/access.log
            I see the request for the favicon.ico: "GET /favicon.ico HTTP/1.1" 302 4378 "https://bvctest6.bioviz.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36"

            Running: tail -f /var/log/apache2/error.log
            I do not see any errors in the apache logs regarding the favicon.ico

            Karthik Raveendran - I do see the following error when I log out of BioViz Connect. I'm not sure if this is related to recent changes. I am not able to access bvcprod2 to see if this issue occurs in production. The error appears to cause a failure to log out the user.

            [Wed Oct 13 14:42:22.839642 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] Traceback (most recent call last):
            [Wed Oct 13 14:42:22.840357 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
            [Wed Oct 13 14:42:22.840438 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] response = get_response(request)
            [Wed Oct 13 14:42:22.840491 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/utils/deprecation.py", line 113, in _call_
            [Wed Oct 13 14:42:22.840576 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] response = self.process_request(request)
            [Wed Oct 13 14:42:22.840627 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/middleware/common.py", line 54, in process_request
            [Wed Oct 13 14:42:22.840717 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] path = self.get_full_path_with_slash(request)
            [Wed Oct 13 14:42:22.840781 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/middleware/common.py", line 94, in get_full_path_with_slash
            [Wed Oct 13 14:42:22.840851 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] 'url': request.get_host() + new_path,
            [Wed Oct 13 14:42:22.840927 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to bvctest6.bioviz.org/oauth/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

            Show
            nfreese Nowlan Freese added a comment - - edited Testing on bvctest6 by logging in to the host and viewing the apache logs. Running: tail -f /var/log/apache2/access.log I see the request for the favicon.ico: "GET /favicon.ico HTTP/1.1" 302 4378 "https://bvctest6.bioviz.org/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36" Running: tail -f /var/log/apache2/error.log I do not see any errors in the apache logs regarding the favicon.ico Karthik Raveendran - I do see the following error when I log out of BioViz Connect. I'm not sure if this is related to recent changes. I am not able to access bvcprod2 to see if this issue occurs in production. The error appears to cause a failure to log out the user. [Wed Oct 13 14:42:22.839642 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] Traceback (most recent call last): [Wed Oct 13 14:42:22.840357 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner [Wed Oct 13 14:42:22.840438 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] response = get_response(request) [Wed Oct 13 14:42:22.840491 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/utils/deprecation.py", line 113, in _ call _ [Wed Oct 13 14:42:22.840576 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] response = self.process_request(request) [Wed Oct 13 14:42:22.840627 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/middleware/common.py", line 54, in process_request [Wed Oct 13 14:42:22.840717 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] path = self.get_full_path_with_slash(request) [Wed Oct 13 14:42:22.840781 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] File "/var/www/vhosts/bioviz-connect/venv/lib/python3.6/site-packages/django/middleware/common.py", line 94, in get_full_path_with_slash [Wed Oct 13 14:42:22.840851 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] 'url': request.get_host() + new_path, [Wed Oct 13 14:42:22.840927 2021] [wsgi:error] [pid 5128:tid 139667644827392] [remote 150.135.165.114:43142] RuntimeError: You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to bvctest6.bioviz.org/oauth/ (note the trailing slash), or set APPEND_SLASH=False in your Django settings.

              People

              • Assignee:
                karthik Karthik Raveendran
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: