bbedward / betsy-middleware Goto Github PK
View Code? Open in Web Editor NEWBetsy - NANO/BANANO POW precacher, distributor, & callback forwarder
License: MIT License
Betsy - NANO/BANANO POW precacher, distributor, & callback forwarder
License: MIT License
It can be difficult to understand that it's redis missing:
(! 2034)-> ./venv/bin/python main.py --node-url [::1]:55000 --debug
INFO:aiohttp.server:Opening redis connection
DEBUG:aioredis:Creating tcp connection to ('localhost', 6379)
DEBUG:aioredis:Closed 0 connection(s)
Traceback (most recent call last):
File "main.py", line 364, in <module>
main()
File "main.py", line 351, in main
asyncio.get_event_loop().run_until_complete(start())
File "uvloop/loop.pyx", line 1451, in uvloop.loop.Loop.run_until_complete
File "main.py", line 344, in start
await runner.setup()
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aiohttp/web_runner.py", line 203, in setup
self._server = await self._make_server()
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aiohttp/web_runner.py", line 302, in _make_server
await self._app.startup()
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aiohttp/web_app.py", line 389, in startup
await self.on_startup.send(self)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aiohttp/signals.py", line 34, in send
await receiver(*args, **kwargs) # type: ignore
File "main.py", line 301, in open_redis
db=1, encoding='utf-8', minsize=2, maxsize=50)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aioredis/commands/__init__.py", line 201, in create_redis_pool
loop=loop)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aioredis/pool.py", line 56, in create_pool
await pool._fill_free(override_min=False)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aioredis/pool.py", line 388, in _fill_free
conn = await self._create_new_connection(self._address)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aioredis/connection.py", line 108, in create_connection
timeout, loop=loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 339, in wait_for
return (yield from fut)
File "/home/glawless/nano_ws/betsy-middleware/venv/lib/python3.6/site-packages/aioredis/stream.py", line 19, in open_connection
lambda: protocol, host, port, **kwds)
File "uvloop/loop.pyx", line 1904, in create_connection
File "uvloop/loop.pyx", line 1883, in uvloop.loop.Loop.create_connection
ConnectionRefusedError: [Errno 111] Connection refused
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.