Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

Nameko Python RPC 框架

wpadmin~September 30, 2019 /Software Engineering

Nameko Python RPC 框架

<!–more–>

说明

报错信息

nameko crashed: [Errno 111] ECONNREFUSED
/usr/lib/python2.7/dist-packages/nameko/cli/main.py:26:in main
/usr/lib/python2.7/dist-packages/nameko/cli/run.py:182:in main
/usr/lib/python2.7/dist-packages/nameko/cli/run.py:132:in run
/usr/lib/python2.7/dist-packages/nameko/runners.py:67:in start
/usr/lib/python2.7/dist-packages/nameko/utils.py:180:in spawning_method
/usr/lib/python2.7/dist-packages/eventlet/greenpool.py:238:in next
/usr/lib/python2.7/dist-packages/eventlet/greenthread.py:175:in wait
/usr/lib/python2.7/dist-packages/eventlet/event.py:121:in wait
/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py:294:in switch
/usr/lib/python2.7/dist-packages/eventlet/greenthread.py:214:in main
/usr/lib/python2.7/dist-packages/nameko/utils.py:175:in call
/usr/lib/python2.7/dist-packages/nameko/containers.py:198:in start
/usr/lib/python2.7/dist-packages/nameko/utils.py:180:in spawning_method
/usr/lib/python2.7/dist-packages/eventlet/greenpool.py:238:in next
/usr/lib/python2.7/dist-packages/eventlet/greenthread.py:175:in wait
/usr/lib/python2.7/dist-packages/eventlet/event.py:121:in wait
/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py:294:in switch
/usr/lib/python2.7/dist-packages/eventlet/greenthread.py:214:in main
/usr/lib/python2.7/dist-packages/nameko/utils.py:175:in call
/usr/lib/python2.7/dist-packages/nameko/messaging.py:191:in setup
/usr/lib/python2.7/dist-packages/nameko/amqp.py:43:in verify_amqp_uri
/usr/lib/python2.7/dist-packages/kombu/transport/pyamqp.py:116:in establish_connection
/usr/lib/python2.7/dist-packages/nameko/amqp.py:16:in __init__
/usr/lib/python2.7/dist-packages/amqp/connection.py:165:in __init__
/usr/lib/python2.7/dist-packages/amqp/connection.py:186:in Transport
/usr/lib/python2.7/dist-packages/amqp/transport.py:299:in create_transport
/usr/lib/python2.7/dist-packages/amqp/transport.py:95:in __init__

依赖 rabiitmq

systemctl start rabbitmq-server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.