freme-project / freme-ner

Apache License 2.0
6 stars 1 forks source link

linking method produces error #164

Closed fsasaki closed 7 years ago

fsasaki commented 7 years ago

Request is

curl -X POST --header 'Content-Type: text/plain' --header 'Accept: text/turtle' -d 'Berlin' 'https://api.freme-project.eu/current/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=link'

I get

{ "exception": "eu.freme.common.exception.ExternalServiceFailedException", "path": "/e-entity/freme-ner/documents", "message": "We apologise for some inconvenience, but seems that the server is to busy too answer your request. Could you please try again in some minutes? Thanks ", "error": "Bad Gateway", "status": 502, "timestamp": 1479918515166 }

with the mode "all" there is no issue.

jnehring commented 7 years ago

The behaviour is different when I try the request: The request takes forever and does never finish. But I get a bug also.

sandroacoelho commented 7 years ago

@fsasaki : mode spot, link, classify enabled in FREME-NER dev. Could you please test again?

Thanks

fsasaki commented 7 years ago

it works on FREME dev. On live it does not yet work. Should we keep this open for FREME live? @jnehring

jnehring commented 7 years ago

I will leave the issue open to check again after next release if it is also fixed on live.

jnehring commented 7 years ago

The bug is fixed on dev, but even after the release the curl request does not work on freme-live.

m1ci commented 7 years ago

Can you try to do the same what Sandro did for FREME dev -> enable spot, link, classify

jnehring commented 7 years ago

What should I do exactly? Is this a configuration option?

jnehring commented 7 years ago

Hm... actually I think I did not release freme-ner. Maybe this is the issue.

jnehring commented 7 years ago

The problem still happens on freme-live although I released FREME ner.

m1ci commented 7 years ago

curl -X POST --header 'Content-Type: text/plain' --header 'Accept: text/turtle' -d 'Berlin' 'https://api.freme-project.eu/current/e-entity/freme-ner/documents?language=en&dataset=dbpedia&mode=link'

works, the issue is fixed, closing the issue