#34694: trailing slash is not appending
--------------------------------+--------------------------------------
     Reporter:  davidhdpro      |                    Owner:  nobody
         Type:  Bug             |                   Status:  closed
    Component:  Core (URLs)     |                  Version:  4.2
     Severity:  Normal          |               Resolution:  worksforme
     Keywords:  trailing slash  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------

Comment (by iamsobanjaved):

 I am also facing this issue. Not appearing on dev env but facing this on
 production and staging instance.

 {{{

 [2023-11-01 17:31:26 +0000] [22] [INFO] GET /heartbeat
 [2023-11-01 17:31:26 +0000] [22] [ERROR] Error handling request /heartbeat
 Traceback (most recent call last):
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/django/core/handlers/exception.py", line 55, in inner
     response = get_response(request)
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/django/core/handlers/base.py", line 181, in _get_response
     callback, callback_args, callback_kwargs =
 self.resolve_request(request)
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/django/core/handlers/base.py", line 313, in resolve_request
     resolver_match = resolver.resolve(request.path_info)
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/newrelic/hooks/framework_django.py", line 605, in wrapper
     return _wrapped(*args, **kwargs)
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/newrelic/hooks/framework_django.py", line 593, in _wrapped
     result = wrapped(path)
   File "/edx/app/venvs/venv/lib/python3.8/site-
 packages/django/urls/resolvers.py", line 702, in resolve
     raise Resolver404({"tried": tried, "path": new_path})
 django.urls.exceptions.Resolver404: {'tried': [[<URLPattern 'heartbeat/'
 [name='heartbeat']>], 'path': 'heartbeat'}
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34694#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018b8bf8e6e3-05abca91-6fc7-4b4c-ade0-fa116e63f077-000000%40eu-central-1.amazonses.com.

Reply via email to