我有一个带有 profobuf 服务的项目,效果很好:
jamie@machine:~/imp/lb$ lb delete imp && lb services restart
...
jamie@machine:~/imp/lb$ lb create imp && lb compile project ~/imp/lb/imp.project && lb addproject imp ~/imp/lb
created workspace 'imp'
jamie@machine:~/imp/lb$ echo '{}' | lb web-client call http://127.0.0.1:8080/ui
{}
但是当我从 docs 添加分支服务时,protobuf 服务停止工作:
jamie@machine:~/imp/lb$ lb web-server load --config ~/imp/lb/branch-services.config
loaded static workspace imp
jamie@machine:~/imp/lb$ echo '{}' | lb web-client call http://127.0.0.1:8080/ui
<3>2017-01-18 04:28:26,72400+00:00 ERROR BatchDriver - Server Error from service: http://127.0.0.1:8080/ui (HTTP Status 404)
error: stm {
simple {
call_proto {
service: "http://127.0.0.1:8080/ui"
encoding: JSON
gzip: true
input {
binary: "{}\n"
}
output_file: "-"
format: false
method: POST
}
}
status: ERROR
exception: "Server Error from service: http://127.0.0.1:8080/ui (HTTP Status 404)"
end_time: "2017-01-18 12:28:26,72500+08:00"
start_time: "2017-01-18 12:28:26,56300+08:00"
}
我需要以某种方式组合配置吗?他们需要住在不同的工作空间吗?