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

Database communication problem #53

Open
fdiblen opened this issue Jan 11, 2019 · 0 comments
Open

Database communication problem #53

fdiblen opened this issue Jan 11, 2019 · 0 comments

Comments

@fdiblen
Copy link

fdiblen commented Jan 11, 2019

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

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

1 participant