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

启动 Beaver 服务错误 #20

Open
T-ze-yu opened this issue Oct 11, 2024 · 6 comments
Open

启动 Beaver 服务错误 #20

T-ze-yu opened this issue Oct 11, 2024 · 6 comments

Comments

@T-ze-yu
Copy link

T-ze-yu commented Oct 11, 2024

bazel-bin/libspu/mpc/semi2k/beaver/beaver_impl/ttp_server/beaver_server_main -port=9449 -server_private_key=LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JR0lBZ0VBTUJRR0NDcUJITTlWQVlJdEJnZ3FnUnpQVlFHQ0xRUnRNR3NDQVFFRUlJeUNFSTkxK0diYzVCRHgKRmNuR1hrK3dzQVZCcHpwSzE4SWtia0JZazNhU29VUURRZ0FFeFFiRnNJMFQ1VTlYNW5rSE92NU41azdZUklOVAovOENDS2hvVHF4cm9xWTdqNElzZDI5dVY0OWRiTnZ1bU5PTWJxZ0pUMDhwR3dST0tYTkYxbzhkWlJRPT0KLS0tLS1FTkQgUFJJVkFURSBLRVktLS0tLQo=
terminate called after throwing an instance of 'yacl::EnforceNotMet'
what(): [Enforce fail at external/yacl/yacl/crypto/key_utils.cc:149] (OSSL_DECODER_from_bio(decoder.get(), bio.get())) == 1. 0 vs 1
已放弃 (核心已转储)

@shaojian-ant
Copy link
Contributor

bazel-bin/libspu/mpc/semi2k/beaver/beaver_impl/ttp_server/beaver_server_main -gen_key=true 生成新的私钥,再用这个私钥试一下

@T-ze-yu
Copy link
Author

T-ze-yu commented Oct 11, 2024

bazel-bin/libspu/mpc/semi2k/beaver/beaver_impl/ttp_server/beaver_server_main -gen_key=true 生成新的私钥,再用这个私钥试一下

还是一样的

@T-ze-yu
Copy link
Author

T-ze-yu commented Oct 12, 2024

之前的编译有些问题,在新机器上编译后,成功启动了服务
image

@T-ze-yu
Copy link
Author

T-ze-yu commented Oct 12, 2024

于是我在进行ss-sgd的任务时,在其任务参数进行了如下配置,protocol选择了SEMI2K,并配置了可信第三方,虽然任务成功运行了,但在第三方的服务日志中并没有看到相关访问信息。
"config": "{"runtime_config":{"protocol":"SEMI2K","field":"FM64","ttp_beaver_config": {"server_host": "192.168.201.165:9449", "server_public_key":"LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZrd0V3WUhLb1pJemowQ0FRWUlLb0VjejFVQmdpMERRZ0FFUkYwaW5LUXc4M1VTQTExclAzYVVtR0Y1dVdXZgpkd0pDek84NFRaczRlT1FXU3VwQXBKdS93Y0VCUDFhV0Fic0JWNExSeUVpLzlOMUVqaW9pTzFJWGp3PT0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0tCg=="}},"link_desc":{"connect_retry_times":60,"connect_retry_interval_ms":1000,"brpc_channel_protocol":"http","brpc_channel_connection_type":"pooled","recv_timeout_ms":1200000,"http_timeout_ms":1200000}}"

@T-ze-yu
Copy link
Author

T-ze-yu commented Oct 12, 2024

image

@shaojian-ant
Copy link
Contributor

应该是 ss-lr 任务。beaver_server.cc 代码中没有带引相关访问信息,所以应该是正常的

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