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
When ckan.root_path is set to /ckan/{{LANG}}, accessing any page, such as the login page, datasets, or organizations, results in requests in the logs being printed with double slashes, as shown in the logs below.
2024-10-18` 10:07:09,913 INFO [ckan.config.middleware.flask_app] 200 / render time 0.265 seconds
2024-10-18 10:08:10,418 INFO [ckan.config.middleware.flask_app] 200 / render time 0.287 seconds
2024-10-18 10:08:20,900 INFO [ckan.config.middleware.flask_app] 200 / render time 0.446 seconds
2024-10-18 10:08:20,973 INFO [ckan.config.middleware.flask_app] 200 //webassets/base/757e28ef_main.css render time 0.019 seconds
2024-10-18 10:08:21,071 INFO [ckan.config.middleware.flask_app] 200 //webassets/ckanext-activity/8dd77216_activity.css render time 0.018 seconds
2024-10-18 10:08:21,212 INFO [ckan.config.middleware.flask_app] 200 //webassets/vendor/90dbb6bf_vendor.js render time 0.017 seconds
2024-10-18 10:08:21,215 INFO [ckan.config.middleware.flask_app] 200 //webassets/vendor/6d1ad7e6_bootstrap.js render time 0.016 seconds
2024-10-18 10:08:21,234 INFO [ckan.config.middleware.flask_app] 200 //webassets/vendor/529a0eb7_htmx.js render time 0.016 seconds
2024-10-18 10:08:21,246 INFO [ckan.config.middleware.flask_app] 200 //webassets/base/a65ea3a0_main.js render time 0.014 seconds
2024-10-18 10:08:21,575 INFO [ckan.config.middleware.flask_app] 200 //api/i18n/en render time 0.011 seconds
2024-10-18 10:08:21,606 INFO [ckan.config.middleware.flask_app] 405 Method Not Allowed: The method is not allowed for the requested URL.
2024-10-18 10:08:22,062 INFO [ckan.config.middleware.flask_app] 405 //_tracking render time 0.468 seconds
I want to discuss whether this is a CKAN issue or if any changes are required in the Nginx configuration.
The tracking functionality is not working with ckan.root_path. The reason is that the request is being forwarded with //_tracking, which does not satisfy the condition in the code from this file: middleware.py.
if path == '/_tracking' and method == 'POST':
Please let me know if I am missing any configuration.
The text was updated successfully, but these errors were encountered:
When ckan.root_path is set to /ckan/{{LANG}}, accessing any page, such as the login page, datasets, or organizations, results in requests in the logs being printed with double slashes, as shown in the logs below.
Nginx conf is below:
I want to discuss whether this is a CKAN issue or if any changes are required in the Nginx configuration.
The tracking functionality is not working with ckan.root_path. The reason is that the request is being forwarded with //_tracking, which does not satisfy the condition in the code from this file: middleware.py.
if path == '/_tracking' and method == 'POST':
Please let me know if I am missing any configuration.
The text was updated successfully, but these errors were encountered: