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

Connection refused to localhost:6379 (bin/inbox-start) #416

Open
remysalim opened this issue Dec 1, 2016 · 1 comment
Open

Connection refused to localhost:6379 (bin/inbox-start) #416

remysalim opened this issue Dec 1, 2016 · 1 comment

Comments

@remysalim
Copy link

Hi,

I've been trying to run Nylas' sync-engine on Windows 10's linux subsystem and it looks like it might work but I can't seem to start the inbox properly. I get the following error message:

[ERROR] {"error_message": "Error 111 connecting to localhost:6379. Connection refused.", "account_id": null, "timestamp": "2016-12-01T00:17:24.786574Z", "provider": null, "module": "inbox.util.concurrency:106", "occurrences": 1, "greenlet_id": 139654788126672, "event": "Uncaught error", "level": "error", "error_tb": "Traceback (most recent call last):\n File \"/mnt/d/git/sync-engine/inbox/util/concurrency.py\", line 56, in wrapped\n return func(*args, **kwargs)\n File \"/mnt/d/git/sync-engine/inbox/scheduling/queue.py\", line 148, in _run_impl\n self.enqueue_new_accounts()\n File \"/mnt/d/git/sync-engine/inbox/scheduling/queue.py\", line 163, in enqueue_new_accounts\n new_accounts = self.runnable_accounts() - self.queue_client.all()\n File \"/mnt/d/git/sync-engine/inbox/scheduling/queue.py\", line 77, in all\n unassigned, assigned = p.execute()\n File \"/usr/local/lib/python2.7/dist-packages/redis/client.py\", line 2593, in execute\n return execute(conn, stack, raise_on_error)\n File \"/usr/local/lib/python2.7/dist-packages/redis/client.py\", line 2447, in _execute_transaction\n connection.send_packed_command(all_cmds)\n File \"/usr/local/lib/python2.7/dist-packages/redis/connection.py\", line 532, in send_packed_command\n self.connect()\n File \"/usr/local/lib/python2.7/dist-packages/redis/connection.py\", line 436, in connect\n raise ConnectionError(self._error_message(e))\nConnectionError: Error 111 connecting to localhost:6379. Connection refused.\n", "error": "ConnectionError"}

Everything else works just fine, the SQL database is set, auth of one account and calls on the API work like a charm.
Any ideas?

Regards

@khamidou
Copy link
Contributor

Did you start redis too? It's a (relatively recent) dependency of the sync-engine.

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

2 participants