请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

一滚动就报错

flutter: </pre><p><b>Root Cause</b></p><pre>io.lettuce.core.RedisCommandTimeoutException: io.lettuce.core.RedisCommandTimeoutException: Command timed out after 6 second(s)
flutter: 	io.lettuce.core.LettuceFutures.awaitOrCancel(LettuceFutures.java:126)
flutter: 	io.lettuce.core.FutureSyncInvocationHandler.handleInvocation(FutureSyncInvocationHandler.java:69)
flutter: 	io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80)
flutter: 	com.sun.proxy.$Proxy452.get(Unknown Source)
flutter: 	org.springframework.data.redis.connection.lettuce.LettuceStringCommands.get(LettuceStringCommands.java:66)
flutter: 	org.springframework.data.redis.connection.DefaultedRedisConnection.get(DefaultedRedisConnection.java:253)
flutter: 	org.springframework.data.redis.connection.DefaultStringRedisConnection.get(DefaultStringRedisConnection.java:377)
flutter: 	org.springframework.data.redis.core.DefaultValueOperations$1.inRedis(DefaultValueOperations.java:57)
flutter: 	org.springframework.data.redis.core.AbstractOperations$ValueDeserializingRedisCallback.doInRedis(AbstractOperations.java:60)
flutter: 	org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:225)
flutter: 	org.springframework.data.redis.core.RedisTemplate.execute(RedisTemplate.java:185)
flutter: 	org.springframework.data.redis.core.AbstractOperations.execute(AbstractOperations.java:96)
flutter: 	org.springframework.data.redis.core.DefaultValueOperations.get(DefaultValueOperations.java:53)
flutter: 	org.devio.union.api.util.UserRedisUtil.getUser(UserRedisUtil.java:61)
flutter: 	org.devio.union.api.config.CommonInterceptor.doLog(CommonInterceptor.java:167)
flutter: 	org.devio.union.api.config.CommonInterceptor.preHandle(CommonInterceptor.java:49)
flutter: 	org.springframework.web.servlet.HandlerExecutionChain.applyPreHandle(HandlerExecutionChain.java:137)
flutter: 	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1035)
flutter: 	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
flutter: 	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
flutter: 	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
flutter: 	javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
flutter: 	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
flutter: 	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
flutter: 	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter.forwardToErrorPage(ErrorPageFilter.java:190)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter.handleException(ErrorPageFilter.java:175)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:142)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter.access$000(ErrorPageFilter.java:66)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter$1.doFilterInternal(ErrorPageFilter.java:103)
flutter: 	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
flutter: 	org.springframework.boot.web.servlet.support.ErrorPageFilter.doFilter(ErrorPageFilter.java:121)
flutter: 	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
flutter: 	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
flutter: </pre><p><b>Root Cause</b></p><pre>io.lettuce.core.RedisCommandTimeoutException: Command timed out after 6 second(s)
flutter: 	io.lettuce.core.ExceptionFactory.createTimeoutException(ExceptionFactory.java:51)
flutter: 	io.lettuce.core.protocol.CommandExpiryWriter.lambda$potentiallyExpire$0(CommandExpiryWriter.java:167)
flutter: 	io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
flutter: 	io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:127)
flutter: 	io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
flutter: 	io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:918)
flutter: 	io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
flutter: 	io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
flutter: 	java.base&#47;java.lang.Thread.run(Thread.java:830)
flutter: </pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/9.0.27</h3></body></html>
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=234
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=233
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.057+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.092+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.127+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30008ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30008ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.136+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30007ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30007ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.065+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30000ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30000ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.074+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.101+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30009ms.","path":"/uapi/ft/travels"}
flutter: Exception: {"timestamp":"2024-06-26T02:50:58.110+0000","status":500,"error":"Internal Server Error","message":"nested exception is org.apache.ibatis.exceptions.PersistenceException: \n### Error querying database.  Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30008ms.\n### The error may exist in file [/root/app/apache-tomcat-9.0.27/webapps/uapi/WEB-INF/classes/mybatis/TripMapper.xml]\n### The error may involve org.devio.union.api.mapper.TripMapper.travels_COUNT\n### The error occurred while executing a query\n### Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 30008ms.","path":"/uapi/ft/travels"}


正在回答 回答被采纳积分+3

2回答

CrazyCodeBoy 2024-06-27 23:18:34
下面是loadData容错处理:
Future<void> loadData({loadMore = false}) async {
    if (loadMore) {
      pageIndex++;
    } else {
      pageIndex = 1;
    }
    try {
      TravelTabModel? model =
          await TravelDao.getTravels(groupChannelCode, pageIndex, 10);
      List<TravelItem> items = _filterItems(model?.list);
      if (loadMore && items.isEmpty) {
        pageIndex--;
      }
      loading.value = false;
      if (!loadMore) {
        travelItems.clear();
      }
      travelItems.addAll(items);
    } catch (e) {
      //当出现类型转换异常时可以取消catchError,然后通过debug模式定位类型转换异常的字段
      debugPrint(e.toString());
      loading.value = false;
      if (loadMore) {
        pageIndex--;
      }
    }
  }
0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2024-06-27 08:51:50
从log上看应该是滑动的时候触发了频繁请求接口,检查下你的滚动请求接口的地方是否和课程代码一样
@override
  void initState() {
    _loadData();
    _scrollController.addListener(() {
      if (_scrollController.position.pixels ==
          _scrollController.position.maxScrollExtent) {
        _loadData(loadMore: true);
      }
    });
    super.initState();
  }
0 回复 有任何疑惑可以回复我~
  • 提问者 噗通爱学习 #1
    void initState() {
        super.initState();
        _loadData();
        ///增加一个_scrollController监听器,当滑动到最大处时候,加载更多(使用_scrollController.position.maxScrollExtent -200进行预加装)
        _scrollController.addListener((){
          if(_scrollController.position.pixels >= _scrollController.position.maxScrollExtent -200 ){
            _loadData(loadMore: true);
          }
        });
      }这个是我的,和你的一样,就是增加了预加载,flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?groupChannelCode=tourphoto_global1&pageSize=10&pageIndex=215
    flutter: ClientException with SocketException: Failed host lookup: 'api.geekailab.com' (OS Error: nodename nor servname provided, or not known, errno = 8), uri=https://api.geekailab.com/uapi/ft/travels?
    回复 有任何疑惑可以回复我~ 2024-06-27 10:23:25
  • 提问者 噗通爱学习 #2
    这里是不是有问题,    if(loadMore){
          pageIndex++;
          debugPrint(pageIndex.toString());
    我请求TravelTabModel? travelTabModel = await TravelDao.getTravels(widget.groupChannelCode, pageIndex, pageSize);都没返回值,只要往下滚,pageIndex就一直+1,不是应该请求返回后再+1吗
    回复 有任何疑惑可以回复我~ 2024-06-27 10:30:01
  • CrazyCodeBoy 回复 提问者 噗通爱学习 #3
    后面课程做了代码优化,在没有返回数据或者是异常的时候减1
    回复 有任何疑惑可以回复我~ 2024-06-27 23:17:42
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号