Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application error #43

Open
mds-vsu opened this issue Oct 23, 2020 · 3 comments
Open

Application error #43

mds-vsu opened this issue Oct 23, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mds-vsu
Copy link

mds-vsu commented Oct 23, 2020

Hi, OpenUBA development team!

I'm trying to run openuba locally on Ubuntu 20.04.
Could you please advise how to fix: i have an issue running the application, looks like some problems related to connecting to dev server
I had provided server and application logs and the screenshot from firefox
Will appreciate your help, thank you

image

logs.zip

@Jovonni
Copy link
Collaborator

Jovonni commented Oct 23, 2020

Hey @mds-vsu , these doesn't have anything to do with connecting to the dev server. This warning is purely related to the DOM hierarchy within react.

see:
https://stackoverflow.com/questions/55625431/warning-validatedomnesting-a-cannot-appear-as-a-descendant-of-a

This has been on our radar, and is a simple fix, just haven't gotten to fixing it yet. It doesn't hurt development though, as it is only within react.

Will label it, and keep open until we address it. I am glad to see you can successfully build the frontend. Please either let us know how we can make the documentation better, or if you want to create a pull request and help out.

If you want to look more into this, look at the SystemLog context consumer (this is using the react context api, and you will see the provider in the same file as well):

const SystemLogStatus = (props) => {
const [show, setShow] = React.useState(false);
return (
<SystemLogContext.Consumer>
{({system_log_status}) => (
<>
<p className="systemlogp">
System Status From Server: {system_log_status}
</p>
</>
)}
</SystemLogContext.Consumer>
)
}

This context implementation is setup to feed frontend related display information via context. Thanks for posting the issue, and feel free to join our discord (if you need some quicker help). We are still actively building on our first release.

:)

@Jovonni Jovonni self-assigned this Oct 23, 2020
@Jovonni Jovonni added the bug Something isn't working label Oct 23, 2020
@mds-vsu
Copy link
Author

mds-vsu commented Oct 24, 2020

@Jovonni thank you for rapid reply.
I'm working on master thesis with UEBA topic and want to try your software. Will be glad to contribute with something.
I still have the feeling that frontend displays just placeholders.
I'm attached some screenshots of other application sections

I got this when trying to switch to "Models"
image

Settings, Cases and Anomalies just displays a Header, like "Settings page", "Anomalies page", and no other information
image

@Jovonni
Copy link
Collaborator

Jovonni commented Oct 24, 2020

Yes, all configuration in this version is done via the actual source code. We haven't wired up all of the pages yet in the code you have. Our current release is further on that.

Don't rely on the UI to change anything right now. The only page that is started to be connected to backend is the models page, as that is receiving data via the context API.

Still working on that.

Regarding that renderer error, can you describe the behavior leading up to that?

We can check that API call it is referencing.

The model page is pulling in the two mode groups in the configuration file.

For testing, we have been customizing everything via the source code, not UI. More on the UI connecting to the backend soon, but it isn't needed to proceed through the workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants