First of all, I apologize if this is a duplicate issue as this problem has already been discussed in
But as those have been marked as solved I didn’t want to bump them.
Also our problem seems to be stemming from a different cause as we are trying to test cytomine
on local machines only (as in running on the same computer).
We receive the same ‘Error of communication with Cytomine core’.
Here are the answers to the checklist as posted in the the previuosly linked threads:
- Do you have the
127.0.0.1 localhost-coreline into your /etc/hosts files?
Yes, all the lines stated in the documentation have been added to /etc/hosts.
- What is your OS/distribution ?
This is where our problem begins:
We first tested cytomine on a remote server running Ubuntu, where it seemed to work as expected.
Then we (a team of 3) tried installing cytomine locally, running MacOS, Manjaro Linux and Arch Linux
respectively. We each received the error mentioned above.
- Did you install Cytomine on your laptop (more exactly the same PC that is running your browser) ? Or is it installed on another computer that the one you are using?
- Can you get localhost-core/server/ping.json from a curl command in a terminal (
curl -v localhost-core
curl -v localhost-core/server/ping.json
curl -vX POST http://localhost-core/server/ping.json
) as well as in your browser ?
curl -v localhost-core/server/ping.json and
curl -vX POST http://localhost-core/server/ping.json result in 404 errrors on Arch Linux, but work under MacOS.
- Can you send me the following file :
cytomine-configs.zip (5.7 KB)
- Here are the outputs for
sudo docker logs core -t | grep -v INFOand
sudo docker ps
cytomine-docker-logs.zip (6.0 KB)
It seems to have some sort of problem with thread execution.
SEVERE: The web application  appears to have started a thread named [be.cytomine.middleware.MessageBrokerServer.data] but has failed to stop it. This is very likely to create a memory leak.
Any help with this would be greatly appreciated
Feel free to tell me if you need any other logs or information.