temp.md 14 KB

2021-07-22 21:02:52 CST api-manage-a3ed5325-2c22-45b1-857e-dd67a01efe-cb6vx INFO com.starbuds.server.api.manage.extension.SecurityInterceptor 62 filter - 请求接口:/v1/user/getUserList 请求方式:GET 请求参数:pageNum=1&pageSize=10&startTime=1626883200000&endTime=1626969599999 请求头:remoteip=10.0.0.126&host=api.hidouyou.com&x-forwarded-for=115.199.101.23, 100.97.134.155, 10.0.0.126&connection=close&x-real-ip=100.97.134.155&user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36&pkg=eyJhIjoyMSwiYXYiOiIxLjAuMCIsImMiOjEsImNpIjoiIiwiZGkiOiIxYTAwYmYwZTk3OGM0NThmNzYyMGIzOTA3MTRiMjZjYyIsImxhdCI6IiIsImxuZyI6IiIsInBtIjoiIiwicG4iOiJjb20uc3RhcmJ1ZHMubWFuYWdlIiwic3QiOjEsInN2IjoiIiwidCI6ImREekVPQWJBRkRjUi9NdEFzb1p0Um9qQmhnRnAybEttdFdJTEFnOUx2NE5pdVFQTTdVbDZENW1QYitTeDcrZXVzODJFWEMwOU9RMXBSa3JBSmgwVzFNemdNbnJtb0pVcy8rWlR1NUNTNkFuR0RWU0pncTJGUFdOMEo5clMyL3gyIiwidHMiOjE2MjY5NTg5NzE4NjksInMiOiI2N2I4ZWQ0ZWRlYTU5NWJmM2YzOGEyNzczZTVlMWU0ZCJ9&accept=/&referer=http://pt.manage.hidouyou.com/customer/newUsers&accept-encoding=gzip, deflate&accept-language=zh-CN,zh;q=0.9,en;q=0.8&cookie=_xy_tk_platform=dDzEOAbAFDcR%2FMtAsoZtRojBhgFp2lKmtWILAg9Lv4NiuQPM7Ul6D5mPb%2BSx7%2Beus82EXC09OQ1pRkrAJh0W1MzgMnrmoJUs%2F%2BZTu5CS6AnGDVSJgq2FPWN0J9rS2%2Fx2& 2021-07-22 21:02:52 CST api-manage-a3ed5325-2c22-45b1-857e-dd67a01efe-cb6vx INFO com.starbuds.server.api.manage.extension.SecurityInterceptor 139 getHeaderPackage - decode pkg: {"a":21,"av":"1.0.0","c":1,"ci":"","di":"1a00bf0e97","lat":"","lng":"","pm":"","pn":"com.starbuds.manage","st":1,"sv":"","t":"dDzEOAbAFDcR/MtAsoZtRojBhgFp2lKmtWILAg9Lv4NiuQPM7Ul6D5mPb+Sx7+eus82EXC09OQ1pRkrAJh0W1MzgMnrmoJUs/+ZTu5CS6AnGDVSJgq2FPWN0J9rS2/x2","ts":1626958971869,"s":"67b8ed4ede"} 2021-07-22 21:02:52 CST api-manage-a3ed5325-2c22-45b1-857e-dd67a01efe-cb6vx ERROR com.starbuds.server.api.manage.extension.CustomExceptionMapper 29 toResponse - 访问出错, java.lang.RuntimeException: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed] ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]] at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177) at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:2053) at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2030) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1777) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1734) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1696) at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1092) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.doSearch(ElasticsearchRestTemplate.java:1149) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.queryForPage(ElasticsearchRestTemplate.java:381) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.queryForPage(ElasticsearchRestTemplate.java:376) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.queryForPage(ElasticsearchRestTemplate.java:147) at org.springframework.data.elasticsearch.repository.support.AbstractElasticsearchRepository.search(AbstractElasticsearchRepository.java:259) 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.data.repository.core.support.RepositoryComposition$RepositoryFragments.invoke(RepositoryComposition.java:371) at org.springframework.data.repository.core.support.RepositoryComposition.invoke(RepositoryComposition.java:204) at org.springframework.data.repository.core.support.RepositoryFactorySupport$ImplementationMethodExecutionInterceptor.invoke(RepositoryFactorySupport.java:657) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.doInvoke(RepositoryFactorySupport.java:621) at org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.invoke(RepositoryFactorySupport.java:605) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy129.search(Unknown Source) at com.starbuds.server.service.data.impl.UserSearchServiceImpl.getUserPageList(UserSearchServiceImpl.java:316) at org.apache.dubbo.common.bytecode.Wrapper40.invokeMethod(Wrapper40.java) at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47) at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84) at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56) at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56) at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:55) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java:92) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:48) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:81) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:105) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:149) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at com.navercorp.pinpoint.plugin.micro.service.auth.dubbo.apache.AuthProviderFilter.invoke(AuthProviderFilter.java:30) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:82) at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:157) at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102) at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193) at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51) at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) 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) Suppressed: org.elasticsearch.client.ResponseException: method [POST], host [http://10.0.1.122:9200], URI [/user/userentity/_search?rest_total_hits_as_int=true&typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=dfs_query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 400 Bad Request] Warnings: [299 Elasticsearch-7.4.2-2f90bbf7b9 "[types removal] Specifying types in search requests is deprecated."] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [userCreateTime] in order to sort on","index_uuid":"-LxP290iRUeS4BIEmfeYvg","index":"user"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"user","node":"wH0gxsRwQF-PhY5PGQ4_Tg","reason":{"type":"query_shard_exception","reason":"No mapping found for [userCreateTime] in order to sort on","index_uuid":"-LxP290iRUeS4BIEmfeYvg","index":"user"}}]},"status":400} at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:936) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:233) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1764) ... 56 more Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http://10.0.1.122:9200], URI [/user/userentity/_search?rest_total_hits_as_int=true&typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=dfs_query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 400 Bad Request] Warnings: [299 Elasticsearch-7.4.2-2f90bbf7b9 "[types removal] Specifying types in search requests is deprecated."] {"error":{"root_cause":[{"type":"query_shard_exception","reason":"No mapping found for [userCreateTime] in order to sort on","index_uuid":"-LxP290iRUeS4BIEmfeYvg","index":"user"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"user","node":"wH0gxsRwQF-PhY5PGQ4_Tg","reason":{"type":"query_shard_exception","reason":"No mapping found for [userCreateTime] in order to sort on","index_uuid":"-LxP290iRUeS4BIEmfeYvg","index":"user"}}]},"status":400} at org.elasticsearch.client.RestClient$1.completed(RestClient.java:552) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:537) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:114) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) ... 1 more

at org.apache.dubbo.rpc.filter.ExceptionFilter$ExceptionListener.onResponse(ExceptionFilter.java:105) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.lambda$invoke$0(ProtocolFilterWrapper.java:167) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.rpc.AsyncRpcResult.lambda$whenCompleteWithContext$0(AsyncRpcResult.java:155) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:760) ~[?:1.8.0_191] at java.util.concurrent.CompletableFuture.uniWhenCompleteStage(CompletableFuture.java:778) ~[?:1.8.0_191] at java.util.concurrent.CompletableFuture.whenComplete(CompletableFuture.java:2140) ~[?:1.8.0_191] at org.apache.dubbo.rpc.AsyncRpcResult.whenCompleteWithContext(AsyncRpcResult.java:153) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$CallbackRegistrationInvoker.invoke(ProtocolFilterWrapper.java:159) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:152) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:102) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:193) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57) ~[dubbo-2.7.4.1.jar!/:2.7.4.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_191] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_191] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]