AtomGraph / LinkedDataHub

The low-code Knowledge Graph application platform. Apache license.

Home Page:https://atomgraph.github.io/LinkedDataHub/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem login

coret opened this issue · comments

I've followed the setup instructions (including importing cert in Chrome) but when I load https://localhost:4443/ I get the following error:

WebID profile could not be loaded: https://localhost:4443/admin/acl/agents//#this

<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:j.0="http://purl.org/dc/terms/"
    xmlns:j.1="http://www.w3.org/2011/http#" > 
  <rdf:Description rdf:nodeID="A0">
    <j.0:title>WebID profile could not be loaded: https://localhost:4443/admin/acl/agents//#this</j.0:title>
    <j.1:sc rdf:resource="http://www.w3.org/2011/http-statusCodes#BadRequest"/>
    <j.1:reasonPhrase>Bad Request</j.1:reasonPhrase>
    <j.1:statusCodeValue rdf:datatype="http://www.w3.org/2001/XMLSchema#long">400</j.1:statusCodeValue>
    <rdf:type rdf:resource="http://www.w3.org/2011/http#Response"/>
  </rdf:Description>
</rdf:RDF>

In the (Docker) logfile I see:

linkeddatahub_1 | 12:41:25,998 [http-nio-7070-exec-5] ERROR WebIDFilter:286 - Could not load WebID Agent: https://localhost:4443/admin/acl/agents//#this

What am I missing?

Hi Bob,

The WebID URI looks wrong.

I suspect the setup.sh did not succeed. Can you check the log for any errors around that?

What OS are you on? The setup currently requires Bash version 4.

FYI: I run on Linux (Debian) and have a bash version 5.

I do see some problems with setup.sh (now that I'm actually reading the output :-):
./scripts/setup.sh: line 153: uuidgen: command not found

So first install uuidgen (and maybe let the setup fail if uuidgen can't be found):

apt-get install uuid-runtime

Now the certs are ok and after installing the certificate into the browser I can "login" and use LinkedDataHub!

Thanks, that's useful feedback! Will add a check for uuidgen.

Let us know what your use case and/experience with LinkedDatHub is.