一滚动就报错

来源:11-7 实现旅拍瀑布流布局

噗通爱学习

2024-06-26

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"}


写回答

2回答

CrazyCodeBoy

2024-06-27

下面是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
0

CrazyCodeBoy

2024-06-27

从log上看应该是滑动的时候触发了频繁请求接口,检查下你的滚动请求接口的地方是否和课程代码一样
@override
  void initState() {
    _loadData();
    _scrollController.addListener(() {
      if (_scrollController.position.pixels ==
          _scrollController.position.maxScrollExtent) {
        _loadData(loadMore: true);
      }
    });
    super.initState();
  }
0
6
CrazyCodeBoy
回复
噗通爱学习
在11-7 实现旅拍瀑布流布局的13:19的时候 https://coding.imooc.com/lesson/741.html#mid=80612
2024-06-29
共6条回复

慕课甄选-Flutter零基础极速入门到进阶实战

全新Flutter从入门到进阶,实战仿携程网App

661 学习 · 316 问题

查看课程