当前位置:网站首页>The project does not report an error, operates normally, and cannot request services
The project does not report an error, operates normally, and cannot request services
2022-07-28 06:03:00 【Performer】

Let's talk about my final solution :
Cause :idea The breakpoint is on the method name , Cause the project to fail to run
debug Starting mode , Can't start . Because this is the method breakpoint
Don't open debug Normal operation mode can start normally

I have been checking this problem for a long time , It took a long time to find the key to the problem , In initial use idea In fact, I have encountered this problem before , But it was quickly solved
- Think the project is running successfully , And there is no error . I went to How to find out ? ping Redis Found that it can work normally
- Think it's a code problem , exclusions , Yesterday was normal , Nothing , Back up the current code , Revert to yesterday's code . I can't find it
- An error is reported during the period , Thought it was Redisson jar Caused by , Or is it Netty It's caused by conflict . This one took a lot of time
Package and put it on the server , It is found that it can operate normally . This step is crucial , We can locate the problem at once . then cmd stay windows It can also run normally , That means idea What the hell
problem 3 Recorded error information :
ERROR o.r.c.h.ErrorsLoggingHandler - Exception occured. Channel: [id: 0x6f524ea6, L:/192.168.1.15:51150 - R:/129.:6379]
java.io.IOException: The remote host forced an existing connection to be closed .
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:288)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1125)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:347)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:617)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:534)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:745)
[]-2020-12-25 15:51:16.747 [redisson-timer-4-1] ERROR o.r.c.h.PingConnectionHandler - Unable to send PING command over channel: [id: 0x6f524ea6, L:/192.168:51150 ! R:/129.20xx:6379]
org.redisson.client.RedisTimeoutException: Command execution timeout for command: (PING), params: [], Redis client: [addr=redis://129.2xx:6379]
at org.redisson.client.RedisConnection.lambda$async$1(RedisConnection.java:207)
at org.redisson.client.RedisConnection$$Lambda$376/1172508.run(Unknown Source)
at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:682)
at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:757)
at io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:485)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:745)This line of code represents the operation of the whole project
[]-2020-12-26 10:25:35.763 [main] INFO cn.blogspring.Application - Started Application in 31.123 seconds (JVM running for 32.419)
At this time, it hasn't run at all , Just the context loading is finished
[]-2020-12-26 10:27:13.555 [main] INFO o.s.w.c.ContextLoader - Root WebApplicationContext: initialization completed in 4956 ms
边栏推荐
- FlinkX安装及使用
- CVE_2017_11882漏洞复现(Metasploit开启NT远程桌面添加账户)
- Books - poor Charlie's classic
- On July 7, the national wind 24 solar terms "Xiaoshu" came!! Attachment.. cooperation.. completion.. advance.. report
- [interview question] anti shake and throttling
- 1:开启慢查询日志 与 找到慢SQL
- The combination of cultural tourism and digital collections has a significant effect, but how to support users' continuous purchasing power
- The difference between null and undefined
- 7月7日国风廿四节气《小暑》来袭!!附..合..成..预..告..
- Spark中的Structured Streaming
猜你喜欢
随机推荐
记录下在线扩容服务器遇到的问题 NOCHANGE: partition 1 is size 419428319. it cannot be grown
The combination of cultural tourism and digital collections has a significant effect, but how to support users' continuous purchasing power
mysql5.6(根据.ibd,.frm文件)恢复单表数据
微信小程序手机号正则校验规则
服务可靠性保障-watchdog
ES6 --- deconstruction assignment
mysql 触发器
Create a virtual environment using pycharm
(php毕业设计)基于thinkphp5校园新闻发布管理系统获取
It's not easy to travel. You can use digital collections to brush the sense of existence in scenic spots
Progressive enhancement and graceful degradation
Cookie、Session和Token的区别与联系
1:开启慢查询日志 与 找到慢SQL
Installation and use of sqoop
Trino function tag
JS simple publish and subscribe class
进程线程协程的区别
Xshell suddenly failed to connect to the virtual machine
Hit your face ins? Mars digital collection platform explores digital collection light social networking
使用pyhon封装一个定时发送邮件的工具类








