Tôi mới dùng lagom-sbt và tôi đang cố gắng chạy gói dịch vụ Lagom bằng ConductR.Lỗi kết nối Lagom ConductR Lỗi từ chối
Tôi đã thêm sau SBT-conductr phiên bản trong plugins.sbt
addSbtPlugin("com.lightbend.conductr" % "sbt-conductr" % "2.4.0")
Dưới đây là những gì tôi đã chạy đến nay
sbt
sandbox run 2.0.8
install
bundle:dist
project <my-service-impl>
conduct load <bindle_zip>
Dưới đây là các bản ghi: -
|------------------------------------------------|
| Starting ConductR |
|------------------------------------------------|
Network address aliases are required so that the sandbox can operate as a cluster of machines.
To add the network aliases sudo privileges are required.
sudo ifconfig lo:0 192.168.10.1 netmask 255.255.255.255 up
Lỗi tôi nhận được trong khi chạy các lệnh trên: -
Error: Unable to contact ConductR.
Error: Reason: HTTPConnectionPool(host='127.0.0.1', port=9005): Max retries exceeded with url: /v2/bundles (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
Error: Start the ConductR sandbox with: sandbox run IMAGE_VERSION
Bất kỳ ai cũng có thể biết tại sao tôi gặp phải lỗi này. Cảm ơn trước!!