MG-RAST/Skyport2

Database communication problem

Opened this issue · 0 comments

Hi,

I followed the instructions provided in README.md but cannot start the demo app.

I my browser console I get the following error:

Failed to load resource: the server responded with a status of 404 (Not Found)
VM1529:1 GET http://localhost:8001/shock/api/node/limit=100&order=created_on&direction=desc&offset=0

In Docker log:

we-worker_1     | [01/11/19 12:42:31] [EROR] (workStealer) workStealerRun returns: (ReadMany GET /work) CheckoutWorkunits returns: clientid=f71fbb00-d363-4cc0-94de-2779b657cdfe;available=592938143744;error=(popWorks) filterWorkByClient returned: Server queue is empty
awe-worker_1     | [01/11/19 12:42:31] [EROR] (workStealer) checking out workunit: (ReadMany GET /work) CheckoutWorkunits returns: clientid=f71fbb00-d363-4cc0-94de-2779b657cdfe;available=592938115072;error=(popWorks) filterWorkByClient returned: Server queue is empty, retry=12
awe-server_1     | [01/11/19 12:42:31] [INFO] (updateQueue) starting loop through TaskMap; threads: 20, TaskMap.Len: 0
awe-server_1     | [01/11/19 12:42:31] [INFO] (updateQueue) completed loop through TaskMap; # processed: 0, queued: 0, took 15.32µs
awe-server_1     | [01/11/19 12:42:32] [INFO] (updateQueue) starting loop through TaskMap; threads: 20, TaskMap.Len: 0
awe-server_1     | [01/11/19 12:42:32] [INFO] (updateQueue) completed loop through TaskMap; # processed: 0, queued: 0, took 15.709µs
awe-server_1     | [01/11/19 12:42:33] [INFO] (updateQueue) starting loop through TaskMap; threads: 20, TaskMap.Len: 0
awe-server_1     | [01/11/19 12:42:33] [INFO] (updateQueue) completed loop through TaskMap; # processed: 0, queued: 0, took 13.668µs
awe-server_1     | [01/11/19 12:42:34] [INFO] (updateQueue) starting loop through TaskMap; threads: 20, TaskMap.Len: 0
awe-server_1     | [01/11/19 12:42:34] [INFO] (updateQueue) completed loop through TaskMap; # processed: 0, queued: 0, took 13.729µs
awe-server_1     | [01/11/19 12:42:35] [INFO] (updateQueue) starting loop through TaskMap; threads: 20, TaskMap.Len: 0
awe-server_1     | [01/11/19 12:42:35] [INFO] (updateQueue) completed loop through TaskMap; # processed: 0, queued: 0, took 13.111µs
shock_1          | [01/11/19 12:42:35] [EROR] Could not connect to mongo (host: mongo:27017) (no reachable servers)

I don't see any problems in Docker logs but it looks like there is a problem with queuing due to a communication problem with mongodb.

My system infomation:
System: Arch Linux
Docker version: 18.09.0-ce
docker-compose version: 1.23.2
Shell: Bash
Firewall: disabled