Skip to content

Something went wrong with the PioreactorUI! #169

Description

@mct936

Hi
I'm having issues accessing any pretty much anything of my experiments or any the pioreactors. When i open the website I'm met with this message:

Can't access /api/ endpoints when this unit isn't the leader. Did you mean /unit_api/?

The leader web server and queue and mqtt_to_db_streaming are both off

Here is the original-source stack trace:

Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
ExperimentContext.js:83 Primary request failed, attempting fallback: Error: Request failed with status: 404 Not Found
at c (ExperimentContext.js:37:11)
at async n (ExperimentContext.js:75:15)
at async ExperimentContext.js:100:15
(anonymous) @ ExperimentContext.js:83Understand this warning
/api/experiments:1 Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
ExperimentContext.js:127 Failed to load experiments: Error: Request failed with status: 404 Not Found
at c (ExperimentContext.js:37:11)
at async ExperimentContext.js:123:15
(anonymous) @ ExperimentContext.js:127Understand this error
/api/config/files/config.ini:1 Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
/api/experiments/latest:1 Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
ExperimentContext.js:105 Failed to load experiment metadata: Error: Request failed with status: 404 Not Found
at c (ExperimentContext.js:37:11)
at async n (ExperimentContext.js:89:15)
at async ExperimentContext.js:100:15
(anonymous) @ ExperimentContext.js:105Understand this error
Pioreactor.jsx:2843 Object
Pioreactor.jsx:2851 Fetching configuration failed: Error: Can't access /api/ endpoints when this unit isn't the leader. Did you mean /unit_api/?
at Pioreactor.jsx:2844:17
(anonymous) @ Pioreactor.jsx:2851Understand this error
Pioreactor.jsx:2861 Object
Pioreactor.jsx:2887 Object
Pioreactor.jsx:2759 Uncaught (in promise) TypeError: e.reduce is not a function
at Pioreactor.jsx:2759:24Understand this error
/api/experiments/assignment_count:1 Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
/api/experiments/assignment_count:1 Failed to load resource: the server responded with a status of 404 (Not Found)Understand this error
/api/local_access_point:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions