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

serving-server不能配置app_key用来连接fateflow,部署模型失败 #159

Open
xricky opened this issue Nov 6, 2022 · 0 comments
Open

Comments

@xricky
Copy link

xricky commented Nov 6, 2022

fateflow配置了客户端验证,但是部署模型的时候失败,在fate-serving-server下没有找到配置app_key,secret_key.错误日志如下:
2022-11-05 11:12:20,943 [INFO ] c.w.a.f.s.m.FateFlowModelLoader(FateFlowModelLoader.java:114) - read model fail, 202211041445445961800, guest#199975#arbiter-199974#guest-199975#host-199974#model, requirement headers parameters: ['TIMESTAMP', 'NONCE', 'APP_KEY', 'SIGNATURE']
2022-11-05 11:12:20,943 [INFO ] c.w.a.f.s.m.AbstractModelLoader(AbstractModelLoader.java:39) - load model error, name 202211041445445961800 namespace guest#199975#arbiter-199974#guest-199975#host-199974#model ,try to restore from local cache
2022-11-05 11:12:20,943 [INFO ] c.w.a.f.s.m.AbstractModelLoader(AbstractModelLoader.java:42) - load model from local cache error, name 202211041445445961800 namespace guest#199975#arbiter-199974#guest-199975#host-199974#model
2022-11-05 11:12:20,943 [ERROR] c.w.a.f.s.c.p.ModelServiceProvider(AbstractServiceAdaptor.java:143) - do service fail, cause by: model initialization error, please check if the model exists and the configuration of the FATEFLOW load model process is correct.
2022-11-05 11:12:20,943 [ERROR] c.w.a.f.s.c.p.ModelServiceProvider(AbstractServiceAdaptor.java:241) - service fail
com.webank.ai.fate.serving.core.exceptions.ModelProcessorInitException: model initialization error, please check if the model exists and the configuration of the FATEFLOW load model process is correct.
at com.webank.ai.fate.serving.model.ModelManager.load(ModelManager.java:458) ~[fate-serving-server-2.1.6.jar:?]
at com.webank.ai.fate.serving.common.provider.ModelServiceProvider.load(ModelServiceProvider.java:73) ~[fate-serving-server-2.1.6.jar:?]
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_192]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_192]
at com.webank.ai.fate.serving.guest.provider.AbstractServingServiceProvider.doService(AbstractServingServiceProvider.java:59) ~[fate-serving-server-2.1.6.jar:?]
at com.webank.ai.fate.serving.common.rpc.core.AbstractServiceAdaptor.service(AbstractServiceAdaptor.java:137) [fate-serving-common-2.1.6.jar:?]
at com.webank.ai.fate.serving.grpc.service.ModelService.publishLoad(ModelService.java:54) [fate-serving-server-2.1.6.jar:?]
at com.webank.ai.fate.api.mlmodel.manager.ModelServiceGrpc$MethodHandlers.invoke(ModelServiceGrpc.java:688) [fate-serving-federatedml-2.1.6.jar:?]
at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182) [grpc-stub-1.45.1.jar:1.45.1]
at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) [grpc-api-1.45.1.jar:1.45.1]
at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) [grpc-api-1.45.1.jar:1.45.1]
at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) [grpc-api-1.45.1.jar:1.45.1]
at com.webank.ai.fate.serving.grpc.service.ServiceExceptionHandler$1.onHalfClose(ServiceExceptionHandler.java:34) [fate-serving-server-2.1.6.jar:?]
at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35) [grpc-api-1.45.1.jar:1.45.1]
at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23) [grpc-api-1.45.1.jar:1.45.1]
at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40) [grpc-api-1.45.1.jar:1.45.1]
at com.webank.ai.fate.serving.grpc.service.ServiceOverloadProtectionHandle$1.onHalfClose(ServiceOverloadProtectionHandle.java:40) [fate-serving-server-2.1.6.jar:?]

@xricky xricky changed the title serving-server不能配置app_key连接fateflow,部署模型失败 serving-server不能配置app_key用来连接fateflow,部署模型失败 Nov 6, 2022
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

1 participant