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

RDF endpoint unavailable #278

Open
Raf23 opened this issue Oct 12, 2022 · 3 comments
Open

RDF endpoint unavailable #278

Raf23 opened this issue Oct 12, 2022 · 3 comments

Comments

@Raf23
Copy link

Raf23 commented Oct 12, 2022

Hello,

I have already used neosemantics in the past, it's really a great lib ! Thanks for all ;-)
Unfortunately I would like to use it with docker and I have some issues to use RDF endpoint.
Everything is well installed in plugins folder (apoc.jar & n10s.jar)
When I call CALL dbms.procedures() I see well the n10s available procedures.

I'm using the following docker command to run:

docker run \ --name testneo4j \ -p7474:7474 -p7687:7687 \ -d \ -v C:/neo4j/docker/data:/data \ -v C:/neo4j/docker/logs:/logs \ -v C:/neo4j/docker/import:/var/lib/neo4j/import \ -v C:/neo4j/docker/plugins:/plugins \ --env NEO4J_AUTH=neo4j/test \ --env='NEO4JLABS_PLUGINS=["apoc", "n10s"]' \ --env='NEO4J_dbms_unmanaged__extension__classes="n10s.endpoint=/rdf"' \ --env='NEO4J_dbms_security_procedures_unrestricted=apoc.*,n10s.*' \ --env='NEO4J_dbms_security_procedures_whitelist=apoc.*,n10s.*' \ neo4j:latest

I see in the following lines in my logs

2022-10-12 14:44:53.396+0000 INFO Mounted unmanaged extension ["n10s.endpoint] at [/rdf"]
2022-10-12 14:44:54.288+0000 INFO Remote interface available at http://localhost:7474/

But when I try a GET http://localhost:7474/rdf/ping I receive an HTTP 404

Any helps would be really appreciated

Kind regards,

Raphaël

@tla
Copy link

tla commented Oct 13, 2022

I am also having this problem on an entirely fresh install - Neosemantics 4.4.0.1 on Neo4J 4.4.5 on Neo4J Desktop 1.5.0, default configuration and nothing in the database.

@tla
Copy link

tla commented Oct 13, 2022

I found my own problem, which is that I was missing the dbms.unmanaged_extension_classes line. For the info of the OP, I don't have the whitelist line, but I'm not seeing how that would cause this 404...

@Raf23
Copy link
Author

Raf23 commented Oct 25, 2022

Thanks for your comment @tla
The endpoint for the RDF is working for you after docker run ? => http://localhost:7474/rdf/ping

I continue to search the reason...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants