kedro-org / kedro-viz

Visualise your Kedro data and machine-learning pipelines and track your experiments.
https://demo.kedro.org
Apache License 2.0
665 stars 110 forks source link

URL Access to Experiment Tracking Causes 404 Error on viz demo #2048

Open SajidAlamQB opened 3 weeks ago

SajidAlamQB commented 3 weeks ago

Description

When accessing the experiment tracking page directly via the URL https://demo.kedro.org/experiment-tracking, a 404 error is returned. This issue only occurs when accessing the page directly via the URL, while navigation through the site’s tabs works as expected.

Context

This bug affects our ability to access the experiment tracking page directly via a URL, which is important for user experience and ease of access.

Steps to Reproduce

Expected Result

The experiment tracking page should load.

Actual Result

image

Checklist

ravi-kumar-pilla commented 2 weeks ago

Some Context:

GitHub Pages doesn’t support routers that use the HTML5 pushState history API under the hood (for example, React Router using browserHistory). This is because when there is a fresh page load for a url like http://user.github.io/todomvc/todos/42, where /todos/42 is a frontend route, the GitHub Pages server returns 404 because it knows nothing of /todos/42.

Possible solution:

More information and possible solutions are mentioned here - https://create-react-app.dev/docs/deployment/#github-pages

Thank you