Search code examples
marklogicmarklogic-dhf

MarkLogic Data Hub Framework Quick Start Hub - Error "unsupported auth scheme: [Basic realm=public]" when connecting to a remote Instance


I am testing out the ML DHF Quickstart Hub from my workstation and can connect fine to a local instance of MarkLogic. But when I create a new environment gradle-DEV.properties file and try to connect to a remote MarkLogic cluster I get the error:

unsupported auth scheme: [Basic realm=public]

Checking the logs on the remote instance I do see that the login attempts have authenticated.

Are there specific MarkLogic Configurations required by the Data Hub Framework that I might be missing?


Solution

  • Dan,

    That error means that your App-Services appserver on your DEV MarkLogic instance is set to basic authentication.

    You need to make QuickStart aware of this so that it can authenticate properly. Simply add this to your gradle-DEV.properties:

    mlAppServicesAuthentication=basic

    Then refresh the browser on QuickStart and try again. Should work with that property set.

    -Paxton