Closed bgrusdt closed 8 years ago
Hi @bgrusdt ,
According to your stack trace, you have tried adding a new dataset from http://localhost:8080/e-entity/freme-ner/datasets and have received an unauthorized error from http://rv2622.1blu.de/solrdev. It happens because our Solr instances under 1blue.de is not widely open.
If you want to run it locally, I would recommend using freme-docker. Also, you can access FREME through the http://api-dev.freme-project.eu for DEV or http://api.freme-project.eu for PROD. I have checked your token and run your command and works fine.
sacoelho@debian-xps:~$ curl -X POST --header 'Content-Type: text/n3' --header 'Accept: application/json' --header 'X-Auth-Token: 0e967abd-d989-4189-a06e-bdd784f54ffe' -d '<http://www.lib.ncsu.edu/ld/onld/00000326> <http://www.w3.org/2004/02/skos/core#prefLabel> "101 Communications" .' 'http://api-dev.freme-project.eu/current/e-entity/freme-ner/datasets?name=mysmalltestDataset&language=en&visibility=public'
{
"id" : 177,
"creationTime" : 1471220744396,
"description" : null,
"owner" : {
"name" : "britta",
"role" : "ROLE_USER"
},
"visibility" : "PUBLIC",
"name" : "mysmalltestDataset",
"totalEntities" : 1
}
Could you please try again?
Best
Hi @sandroacoelho , thank you very much. I'm sorry, this was really a bad mistake. When I am connected to the Intranet everything works fine.. Thank you!
I am trying to create a dataset from the api-documentation:
which results in the following error:
Since the log file doesnt print the stack trace I added a file that contains the stacktrace I get when I run it on my local machine, stacktrace.txt. The Exception is thrown in the scala FremeNer code