Skip to content

fix: [ISSUE] Local Docker Compose install fails in browser with CSP unsafe-eval / Ajv schema compilation error #1874

@BradyKSmith

Description

@BradyKSmith

Describe the bug

Fresh local self-hosted install fails in the browser UI. The console shows a Content Security Policy error blocking unsafe-eval, followed by an Ajv-generated schema compilation failure. This appears to break the frontend in a local Docker Compose setup.

To reproduce

1.	Start Unstract with ./run-platform.sh script
2.	Open the local UI in the browser
3.	Go to http://frontend.unstract.localhost/mock_org/onboard
4.	Select any of the 4 oboarding steps
5.  Click test connection green button
6.	Observe CSP error and schema compilation failure

Expected behavior

The test connection to pass or fail with a user feedback message

Environment details

  • Version: v0.161.2 (latest tag in docker as of 3/24/26)

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions