[ 
https://issues.apache.org/jira/browse/SCB-1489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16951966#comment-16951966
 ] 

Haishi Yao commented on SCB-1489:
---------------------------------

I think there are at least two improvements should be done:
1. java-chassis should check the error response content from service-center. 
Not all kind of error cause the microservice instance rerun the 
microservice/instance register process.
2. once the instanceId is changed, the token cache in RSAConsumerTokenManager 
should be refreshed instantly.

> Micro-service instance wouldn't work after we shotdown our service center for 
> updating while we had enable RSA authentication between services.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SCB-1489
>                 URL: https://issues.apache.org/jira/browse/SCB-1489
>             Project: Apache ServiceComb
>          Issue Type: Bug
>          Components: Java-Chassis
>            Reporter: Liu HuaiZhou
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We had add RSAĀ authentication between services following [Documents 
> |[https://docs.servicecomb.io/java-chassis/en_US/security/rsa.html]]. The 
> micro-service instances interrupted when we shutdown service center and 
> update it for latest version.Following are snap logs for comsumer and 
> provider instances.
> consumer logļ¼š
>  [2019-04-27 05:58:10,995/UTC][main][INFO]InvocationException: 
> code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] 
> com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:119)
>  [2019-04-27 05:58:12,995/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:13,001/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:13,001/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:13,001/UTC][main][INFO]create MicroserviceVersionRule, 
> appId=liushuang-noauth, microserviceName=pojolwx585706, versionRule=0.0.0+. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.createAndInitMicroserviceVersionRule(MicroserviceVersions.java:231)
>  [2019-04-27 05:58:13,001/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:13,004/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:13,004/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:13,004/UTC][main][ERROR]invoke failed, 
> pojolwx585706.helloworldGreeter.SayHello 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:80)
>  org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: 
> org.apache.servicecomb.core.filter.OperationInstancesDiscoveryFilter 
> discovery return null.
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.doDiscovery(DiscoveryTree.java:169)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:130)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:123)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.getOrCreateLoadBalancer(LoadbalanceHandler.java:360)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.handle(LoadbalanceHandler.java:179)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:72)
>  at org.apache.servicecomb.provider.pojo.Invoker.syncInvoke(Invoker.java:161)
>  at org.apache.servicecomb.provider.pojo.Invoker.invoke(Invoker.java:157)
>  at com.sun.proxy.$Proxy28.SayHello(Unknown Source)
>  at com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:107)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at 
> org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
>  at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
>  [2019-04-27 05:58:13,005/UTC][main][INFO]InvocationException: 
> code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] 
> com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:119)
>  [2019-04-27 05:58:14,324/UTC][Service Center Task][INFO]running microservice 
> register task. 
> org.apache.servicecomb.serviceregistry.task.MicroserviceRegisterTask.doRegister(MicroserviceRegisterTask.java:75)
>  [2019-04-27 05:58:14,329/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.GetExistenceResponse 
> failed, 400:Bad Request,
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"liushuang-noauth/pojoClientlwx585706/1.2.0 does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-04-27 05:58:14,330/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.CreateServiceResponse 
> failed, 401:Unauthorized,
> {"errorCode":"401101","errorMessage":"request has no 
> license","detail":"request has no license"}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-04-27 05:58:14,331/UTC][Service Center Task][ERROR]Registry 
> microservice failed. appId=[liushuang-noauth], name=[pojoClientlwx585706], 
> version=[1.2.0], env=[] 
> org.apache.servicecomb.serviceregistry.task.MicroserviceRegisterTask.doRegister(MicroserviceRegisterTask.java:97)
>  [2019-04-27 05:58:14,331/UTC][Service Center Task][INFO]read 
> MicroserviceRegisterTask status is READY 
> org.apache.servicecomb.serviceregistry.task.ServiceCenterTask.onRegisterTask(ServiceCenterTask.java:51)
>  [2019-04-27 05:58:14,341/UTC][Service Center Task][WARN]Bad Request 
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.heartbeat(ServiceRegistryClientImpl.java:552)
>  [2019-04-27 05:58:14,341/UTC][Service Center Task][ERROR]Update heartbeat to 
> service center failed, microservice 
> instance=49058d98659911e98d060255ac1002cb/491c6f24659911e98d060255ac1002cb 
> does not exist 
> org.apache.servicecomb.serviceregistry.task.MicroserviceInstanceHeartbeatTask.heartbeat(MicroserviceInstanceHeartbeatTask.java:79)
>  [2019-04-27 05:58:14,341/UTC][Service Center Task][INFO]read 
> MicroserviceInstanceHeartbeatTask status is READY 
> org.apache.servicecomb.serviceregistry.task.MicroserviceRegisterTask.onMicroserviceInstanceHeartbeatTask(MicroserviceRegisterTask.java:58)
>  [2019-04-27 05:58:14,341/UTC][Service Center Task][INFO]read 
> MicroserviceInstanceHeartbeatTask status is READY 
> org.apache.servicecomb.serviceregistry.task.ServiceCenterTask.onMicroserviceInstanceHeartbeatTask(ServiceCenterTask.java:63)
>  [2019-04-27 
> 05:58:14,342/UTC][registry-vert.x-eventloop-thread-0][ERROR]watcher connect 
> to service center server failed, microservice 
> 49058d98659911e98d060255ac1002cb, Websocket connection attempt returned HTTP 
> status code 401 
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.watchErrorHandler(ServiceRegistryClientImpl.java:688)
>  [2019-04-27 05:58:14,342/UTC][registry-vert.x-eventloop-thread-0][INFO]read 
> exception event, message is :Websocket connection attempt returned HTTP 
> status code 401 
> org.apache.servicecomb.serviceregistry.task.ServiceCenterTask.onExceptionEvent(ServiceCenterTask.java:71)
>  [2019-04-27 05:58:15,005/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:15,008/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:15,008/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:15,008/UTC][main][INFO]create MicroserviceVersionRule, 
> appId=liushuang-noauth, microserviceName=pojolwx585706, versionRule=0.0.0+. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.createAndInitMicroserviceVersionRule(MicroserviceVersions.java:231)
>  [2019-04-27 05:58:15,008/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:15,011/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:15,012/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:15,012/UTC][main][ERROR]invoke failed, 
> pojolwx585706.helloworldGreeter.SayHello 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:80)
>  org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: 
> org.apache.servicecomb.core.filter.OperationInstancesDiscoveryFilter 
> discovery return null.
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.doDiscovery(DiscoveryTree.java:169)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:130)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:123)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.getOrCreateLoadBalancer(LoadbalanceHandler.java:360)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.handle(LoadbalanceHandler.java:179)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:72)
>  at org.apache.servicecomb.provider.pojo.Invoker.syncInvoke(Invoker.java:161)
>  at org.apache.servicecomb.provider.pojo.Invoker.invoke(Invoker.java:157)
>  at com.sun.proxy.$Proxy28.SayHello(Unknown Source)
>  at com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:107)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at 
> org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
>  at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
>  [2019-04-27 05:58:15,012/UTC][main][INFO]InvocationException: 
> code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] 
> com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:119)
>  [2019-04-27 05:58:17,012/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:17,023/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:17,024/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:17,024/UTC][main][INFO]create MicroserviceVersionRule, 
> appId=liushuang-noauth, microserviceName=pojolwx585706, versionRule=0.0.0+. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.createAndInitMicroserviceVersionRule(MicroserviceVersions.java:231)
>  [2019-04-27 05:58:17,024/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:17,027/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:17,028/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:17,028/UTC][main][ERROR]invoke failed, 
> pojolwx585706.helloworldGreeter.SayHello 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:80)
>  org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: 
> org.apache.servicecomb.core.filter.OperationInstancesDiscoveryFilter 
> discovery return null.
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.doDiscovery(DiscoveryTree.java:169)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:130)
>  at 
> org.apache.servicecomb.serviceregistry.discovery.DiscoveryTree.discovery(DiscoveryTree.java:123)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.getOrCreateLoadBalancer(LoadbalanceHandler.java:360)
>  at 
> org.apache.servicecomb.loadbalance.LoadbalanceHandler.handle(LoadbalanceHandler.java:179)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:72)
>  at org.apache.servicecomb.provider.pojo.Invoker.syncInvoke(Invoker.java:161)
>  at org.apache.servicecomb.provider.pojo.Invoker.invoke(Invoker.java:157)
>  at com.sun.proxy.$Proxy28.SayHello(Unknown Source)
>  at com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:107)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
>  at 
> org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
>  at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
>  at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
>  [2019-04-27 05:58:17,028/UTC][main][INFO]InvocationException: 
> code=490;msg=CommonExceptionData [message=Cse Internal Bad Request] 
> com.huawei.paas.cse.demo.pojo.client.PojoClient.main(PojoClient.java:119)
>  [2019-04-27 05:58:19,028/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:19,033/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:19,033/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:19,033/UTC][main][INFO]create MicroserviceVersionRule, 
> appId=liushuang-noauth, microserviceName=pojolwx585706, versionRule=0.0.0+. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.createAndInitMicroserviceVersionRule(MicroserviceVersions.java:231)
>  [2019-04-27 05:58:19,033/UTC][main][INFO]create MicroserviceVersions, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceVersions.<init>(MicroserviceVersions.java:84)
>  [2019-04-27 
> 05:58:19,036/UTC][registry-vert.x-eventloop-thread-0][WARN]failed to 
> findInstances:
> {"errorCode":"400012","errorMessage":"Micro-service does not 
> exist","detail":"Consumer does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$4(ServiceRegistryClientImpl.java:213)
>  [2019-04-27 05:58:19,036/UTC][main][INFO]remove microservice, 
> appId=liushuang-noauth, microserviceName=pojolwx585706. 
> org.apache.servicecomb.serviceregistry.consumer.MicroserviceManager.removeMicroservice(MicroserviceManager.java:76)
>  [2019-04-27 05:58:19,037/UTC][main][ERROR]invoke failed, 
> pojolwx585706.helloworldGreeter.SayHello 
> org.apache.servicecomb.core.provider.consumer.InvokerUtils.innerSyncInvoke(InvokerUtils.java:80)
>  org.apache.servicecomb.foundation.common.exceptions.ServiceCombException: 
> org.apache.servicecomb.core.filter.OperationInstancesDiscoveryFilter 
> discovery return null.
> provider log:
>  [2019-05-08 00:41:41,475/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.MicroserviceInstanceResponse
>  failed, 400:Bad Request,
> {"errorCode":"400017","errorMessage":"Instance does not 
> exist","detail":"Service instance does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-05-08 00:41:41,476/UTC][pool-3-thread-1][ERROR]get microservice 
> instance from cache failed, 
> d4b20b66700611e99a000255ac120342@d4c1655c700611e99a000255ac120342, 
> java.lang.IllegalArgumentException: instance id not exists. 
> org.apache.servicecomb.serviceregistry.cache.MicroserviceInstanceCache.getOrCreate(MicroserviceInstanceCache.java:83)
>  [2019-05-08 00:41:41,476/UTC][pool-3-thread-1][ERROR]not instance found 
> d4c1655c700611e99a000255ac120342-d4b20b66700611e99a000255ac120342, maybe 
> attack 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.getPublicKey(RSAProviderTokenManager.java:84)
>  [2019-05-08 00:41:41,476/UTC][pool-3-thread-1][ERROR]verfiy error 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:67)
>  java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException: Short read of DER length
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:205)
>  at java.security.KeyFactory.generatePublic(KeyFactory.java:328)
>  at 
> org.apache.servicecomb.foundation.common.utils.RSAUtils.verify(RSAUtils.java:106)
>  at 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:60)
>  at 
> org.apache.servicecomb.authentication.provider.ProviderAuthHanlder.handle(ProviderAuthHanlder.java:34)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.qps.ProviderQpsFlowControlHandler.handle(ProviderQpsFlowControlHandler.java:49)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$construct$2(BizkeeperCommand.java:79)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.Observable.subscribe(Observable.java:8759)
>  at rx.Observable.subscribe(Observable.java:8726)
>  at rx.Observable.subscribe(Observable.java:8619)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperHandler.handle(BizkeeperHandler.java:77)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.handler.stats.PerfStatsHandler.handle(PerfStatsHandler.java:44)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at com.huawei.paas.cse.tracing.sla.SLAHandler.handle(SLAHandler.java:39)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.tracing.span.ProviderTracingHandler.handle(ProviderTracingHandler.java:53)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.doInvoke(AbstractRestInvocation.java:187)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.invoke(AbstractRestInvocation.java:164)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.runOnExecutor(AbstractRestInvocation.java:148)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.lambda$scheduleInvocation$0(AbstractRestInvocation.java:136)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
>  Caused by: java.security.InvalidKeyException: IOException: Short read of DER 
> length
>  at sun.security.x509.X509Key.decode(X509Key.java:397)
>  at sun.security.x509.X509Key.decode(X509Key.java:402)
>  at sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:86)
>  at sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:298)
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:201)
>  ... 61 more
>  [2019-05-08 00:41:43,482/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.MicroserviceInstanceResponse
>  failed, 400:Bad Request,
> {"errorCode":"400017","errorMessage":"Instance does not 
> exist","detail":"Service instance does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-05-08 00:41:43,483/UTC][pool-3-thread-1][ERROR]get microservice 
> instance from cache failed, 
> d4b20b66700611e99a000255ac120342@d4c1655c700611e99a000255ac120342, 
> java.lang.IllegalArgumentException: instance id not exists. 
> org.apache.servicecomb.serviceregistry.cache.MicroserviceInstanceCache.getOrCreate(MicroserviceInstanceCache.java:83)
>  [2019-05-08 00:41:43,483/UTC][pool-3-thread-1][ERROR]not instance found 
> d4c1655c700611e99a000255ac120342-d4b20b66700611e99a000255ac120342, maybe 
> attack 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.getPublicKey(RSAProviderTokenManager.java:84)
>  [2019-05-08 00:41:43,483/UTC][pool-3-thread-1][ERROR]verfiy error 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:67)
>  java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException: Short read of DER length
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:205)
>  at java.security.KeyFactory.generatePublic(KeyFactory.java:328)
>  at 
> org.apache.servicecomb.foundation.common.utils.RSAUtils.verify(RSAUtils.java:106)
>  at 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:60)
>  at 
> org.apache.servicecomb.authentication.provider.ProviderAuthHanlder.handle(ProviderAuthHanlder.java:34)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.qps.ProviderQpsFlowControlHandler.handle(ProviderQpsFlowControlHandler.java:49)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$construct$2(BizkeeperCommand.java:79)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.Observable.subscribe(Observable.java:8759)
>  at rx.Observable.subscribe(Observable.java:8726)
>  at rx.Observable.subscribe(Observable.java:8619)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperHandler.handle(BizkeeperHandler.java:77)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.handler.stats.PerfStatsHandler.handle(PerfStatsHandler.java:44)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at com.huawei.paas.cse.tracing.sla.SLAHandler.handle(SLAHandler.java:39)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.tracing.span.ProviderTracingHandler.handle(ProviderTracingHandler.java:53)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.doInvoke(AbstractRestInvocation.java:187)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.invoke(AbstractRestInvocation.java:164)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.runOnExecutor(AbstractRestInvocation.java:148)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.lambda$scheduleInvocation$0(AbstractRestInvocation.java:136)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
>  Caused by: java.security.InvalidKeyException: IOException: Short read of DER 
> length
>  at sun.security.x509.X509Key.decode(X509Key.java:397)
>  at sun.security.x509.X509Key.decode(X509Key.java:402)
>  at sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:86)
>  at sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:298)
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:201)
>  ... 61 more
>  [2019-05-08 00:41:45,489/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.MicroserviceInstanceResponse
>  failed, 400:Bad Request,
> {"errorCode":"400017","errorMessage":"Instance does not 
> exist","detail":"Service instance does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-05-08 00:41:45,490/UTC][pool-3-thread-1][ERROR]get microservice 
> instance from cache failed, 
> d4b20b66700611e99a000255ac120342@d4c1655c700611e99a000255ac120342, 
> java.lang.IllegalArgumentException: instance id not exists. 
> org.apache.servicecomb.serviceregistry.cache.MicroserviceInstanceCache.getOrCreate(MicroserviceInstanceCache.java:83)
>  [2019-05-08 00:41:45,490/UTC][pool-3-thread-1][ERROR]not instance found 
> d4c1655c700611e99a000255ac120342-d4b20b66700611e99a000255ac120342, maybe 
> attack 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.getPublicKey(RSAProviderTokenManager.java:84)
>  [2019-05-08 00:41:45,490/UTC][pool-3-thread-1][ERROR]verfiy error 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:67)
>  java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException: Short read of DER length
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:205)
>  at java.security.KeyFactory.generatePublic(KeyFactory.java:328)
>  at 
> org.apache.servicecomb.foundation.common.utils.RSAUtils.verify(RSAUtils.java:106)
>  at 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:60)
>  at 
> org.apache.servicecomb.authentication.provider.ProviderAuthHanlder.handle(ProviderAuthHanlder.java:34)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.qps.ProviderQpsFlowControlHandler.handle(ProviderQpsFlowControlHandler.java:49)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$construct$2(BizkeeperCommand.java:79)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.Observable.subscribe(Observable.java:8759)
>  at rx.Observable.subscribe(Observable.java:8726)
>  at rx.Observable.subscribe(Observable.java:8619)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperHandler.handle(BizkeeperHandler.java:77)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.handler.stats.PerfStatsHandler.handle(PerfStatsHandler.java:44)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at com.huawei.paas.cse.tracing.sla.SLAHandler.handle(SLAHandler.java:39)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.tracing.span.ProviderTracingHandler.handle(ProviderTracingHandler.java:53)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.doInvoke(AbstractRestInvocation.java:187)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.invoke(AbstractRestInvocation.java:164)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.runOnExecutor(AbstractRestInvocation.java:148)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.lambda$scheduleInvocation$0(AbstractRestInvocation.java:136)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
>  Caused by: java.security.InvalidKeyException: IOException: Short read of DER 
> length
>  at sun.security.x509.X509Key.decode(X509Key.java:397)
>  at sun.security.x509.X509Key.decode(X509Key.java:402)
>  at sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:86)
>  at sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:298)
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:201)
>  ... 61 more
>  [2019-05-08 00:41:47,495/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.MicroserviceInstanceResponse
>  failed, 400:Bad Request,
> {"errorCode":"400017","errorMessage":"Instance does not 
> exist","detail":"Service instance does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-05-08 00:41:47,496/UTC][pool-3-thread-1][ERROR]get microservice 
> instance from cache failed, 
> d4b20b66700611e99a000255ac120342@d4c1655c700611e99a000255ac120342, 
> java.lang.IllegalArgumentException: instance id not exists. 
> org.apache.servicecomb.serviceregistry.cache.MicroserviceInstanceCache.getOrCreate(MicroserviceInstanceCache.java:83)
>  [2019-05-08 00:41:47,496/UTC][pool-3-thread-1][ERROR]not instance found 
> d4c1655c700611e99a000255ac120342-d4b20b66700611e99a000255ac120342, maybe 
> attack 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.getPublicKey(RSAProviderTokenManager.java:84)
>  [2019-05-08 00:41:47,496/UTC][pool-3-thread-1][ERROR]verfiy error 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:67)
>  java.security.spec.InvalidKeySpecException: 
> java.security.InvalidKeyException: IOException: Short read of DER length
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:205)
>  at java.security.KeyFactory.generatePublic(KeyFactory.java:328)
>  at 
> org.apache.servicecomb.foundation.common.utils.RSAUtils.verify(RSAUtils.java:106)
>  at 
> org.apache.servicecomb.authentication.provider.RSAProviderTokenManager.valid(RSAProviderTokenManager.java:60)
>  at 
> org.apache.servicecomb.authentication.provider.ProviderAuthHanlder.handle(ProviderAuthHanlder.java:34)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.qps.ProviderQpsFlowControlHandler.handle(ProviderQpsFlowControlHandler.java:49)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperCommand.lambda$construct$2(BizkeeperCommand.java:79)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
>  at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
>  at rx.Observable.unsafeSubscribe(Observable.java:8666)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:52)
>  at rx.internal.operators.OnSubscribeDefer.call(OnSubscribeDefer.java:36)
>  at rx.Observable.subscribe(Observable.java:8759)
>  at rx.Observable.subscribe(Observable.java:8726)
>  at rx.Observable.subscribe(Observable.java:8619)
>  at 
> org.apache.servicecomb.bizkeeper.BizkeeperHandler.handle(BizkeeperHandler.java:77)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.handler.stats.PerfStatsHandler.handle(PerfStatsHandler.java:44)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at com.huawei.paas.cse.tracing.sla.SLAHandler.handle(SLAHandler.java:39)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> com.huawei.paas.cse.tracing.span.ProviderTracingHandler.handle(ProviderTracingHandler.java:53)
>  at org.apache.servicecomb.core.Invocation.next(Invocation.java:151)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.doInvoke(AbstractRestInvocation.java:187)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.invoke(AbstractRestInvocation.java:164)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.runOnExecutor(AbstractRestInvocation.java:148)
>  at 
> org.apache.servicecomb.common.rest.AbstractRestInvocation.lambda$scheduleInvocation$0(AbstractRestInvocation.java:136)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  at java.lang.Thread.run(Thread.java:748)
>  Caused by: java.security.InvalidKeyException: IOException: Short read of DER 
> length
>  at sun.security.x509.X509Key.decode(X509Key.java:397)
>  at sun.security.x509.X509Key.decode(X509Key.java:402)
>  at sun.security.rsa.RSAPublicKeyImpl.<init>(RSAPublicKeyImpl.java:86)
>  at sun.security.rsa.RSAKeyFactory.generatePublic(RSAKeyFactory.java:298)
>  at 
> sun.security.rsa.RSAKeyFactory.engineGeneratePublic(RSAKeyFactory.java:201)
>  ... 61 more
>  [2019-05-08 00:41:49,595/UTC][registry-vert.x-eventloop-thread-0][WARN]get 
> response for 
> org.apache.servicecomb.serviceregistry.api.response.MicroserviceInstanceResponse
>  failed, 400:Bad Request,
> {"errorCode":"400017","errorMessage":"Instance does not 
> exist","detail":"Service instance does not exist."}
> org.apache.servicecomb.serviceregistry.client.http.ServiceRegistryClientImpl.lambda$null$0(ServiceRegistryClientImpl.java:125)
>  [2019-05-08 00:41:49,596/UTC][pool-3-thread-1][ERROR]get microservice 
> instance from cache failed, 
> d4b20b66700611e99a000255ac120342@d4c1655c700611e99a000255ac120342, 
> java.lang.IllegalArgumentException: instance id not exists. 
> org.apache.servicecomb.serviceregistry.cache.MicroserviceInstanceCache.getOrCreate(MicroserviceInstanceCache.java:83)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to