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

No response on Docker for Windows #37

Open
huberts opened this issue May 10, 2020 · 3 comments
Open

No response on Docker for Windows #37

huberts opened this issue May 10, 2020 · 3 comments

Comments

@huberts
Copy link

huberts commented May 10, 2020

Hi!
I use the recent version of Docker for Windows and I try to run DbPedia Spotlight for English with the command provided:
docker run -itd --restart unless-stopped -p 2222:80 dbpedia/spotlight-english spotlight.sh
The container console shows that it is actually running (I hope):

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Loading MemoryQuantizedCountStore...

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (101 ms)

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Loading MemoryTokenTypeStore...

[main] INFO org.dbpedia.spotlight.db.memory.MemoryTokenTypeStore - Creating reverse-lookup for Tokens.

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (8911 ms)

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Loading MemorySurfaceFormStore...

[main] INFO org.dbpedia.spotlight.db.memory.MemorySurfaceFormStore - Summing total SF counts.

[main] INFO org.dbpedia.spotlight.db.memory.MemorySurfaceFormStore - Creating reverse-lookup for surface forms, adding normalized surface forms.

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (338148 ms)

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Loading MemoryResourceStore...

Killed

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (207 ms)

[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (7630 ms)
[main] INFO org.dbpedia.spotlight.db.memory.MemoryStore$ - Done (919667 ms)

Then, with Postman, I created a GET request (with only one custom header: Accept: application/json):
http://localhost:2222?text=effe&confidence=0.35

There is no response. I can get some data from
http://api.dbpedia-spotlight.org/en/annotate?text=effe&confidence=0.35

What am I missing?

Hubert

@ClemensHa
Copy link

I have a similar problem on my windows machine. Is there any solution to this problem?

@bablf
Copy link

bablf commented Dec 9, 2021

did you find a solution?

@ClemensHa
Copy link

No. I finally used a Linux machine for this,

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

3 participants