You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: 301 Moved Permanently: None
Traceback:
Traceback (most recent call last):
File "/home/ubuntu/foo/site-packages/werkzeug/routing.py", line 1538, in match
rv = rule.match(path, method)
File "/home/ubuntu/foo/site-packages/werkzeug/routing.py", line 776, in match
raise RequestSlash()
werkzeug.routing.RequestSlash
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/foo/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ubuntu/foo/site-packages/flask/app.py", line 1791, in dispatch_request
self.raise_routing_exception(req)
File "/home/ubuntu/foo/site-packages/flask/app.py", line 1774, in raise_routing_exception
raise request.routing_exception
File "/home/ubuntu/foo/site-packages/flask/ctx.py", line 336, in match_request
self.url_adapter.match(return_rule=True)
File "/home/ubuntu/foo/site-packages/werkzeug/routing.py", line 1542, in match
safe='/:|+') + '/', query_args))
werkzeug.routing.RequestRedirect: 301 Moved Permanently: None```
### Steps to reproduce
Using swagger (openapi 2) definition in connexion.
Visit https://site.name/ui
### Additional info:
Output of the commands:
Python 3.6.5 :: Anaconda, Inc.
connexion 2.1.0
The text was updated successfully, but these errors were encountered:
Description
In 2.1, the url for the ui must have a slash after ui (e.g., https://site.name/ui/) Request to https://site.name/ui fail
Expected behaviour
https://site.name/ui should work the same as https://site.name/ui/
Actual behaviour
Throws a 500 error with the following logs:
The text was updated successfully, but these errors were encountered: