sonarqube 启动不了,异常提示:远程主机强迫关闭了一个现有的连接。
2018-01-24 14:25
916 查看
启动sonarqube 6.7.1 报下面的错误:
2018.01.24 10:10:56 WARN app[][o.e.t.n.Netty4Transport] exception caught on transport layer [[id: 0x146de8cb, L:/127.0.0.1:57099 - R:/127.0.0.1:9001]], closing connection
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:433)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Unknown Source)
根据sonar.properties里面的注释,mysql版本不能低于5.6,
而我装的mysql版本5.5,升级mysql到5.7版本,问题解决。
另外如果联接数据库的帐号密码错误,也会报这个错。
2018.01.24 10:10:56 WARN app[][o.e.t.n.Netty4Transport] exception caught on transport layer [[id: 0x146de8cb, L:/127.0.0.1:57099 - R:/127.0.0.1:9001]], closing connection
java.io.IOException: 远程主机强迫关闭了一个现有的连接。
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:433)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1100)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:372)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:123)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:644)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
at java.lang.Thread.run(Unknown Source)
根据sonar.properties里面的注释,mysql版本不能低于5.6,
而我装的mysql版本5.5,升级mysql到5.7版本,问题解决。
另外如果联接数据库的帐号密码错误,也会报这个错。
相关文章推荐
- 解决WCF传输大数据量时出错并提示:远程主机强迫关闭了一个现有的连接
- 关于UDP消息服务抛出“远程主机强迫关闭了一个现有的连接”的异常说明及处理方法
- hubbledotnet 远程连接提示:无法从传输连接中读取数据:远程主机强迫关闭一个现有的连接
- 解决异常:Adb connection Error:远程主机强迫关闭了一个现有的连接。
- java.sql.SQLException: Io 异常: 远程主机强迫关闭了一个现有的连接。
- Android开发abd相关异常:Adb connection Error:远程主机强迫关闭了一个现有的连接
- eclipse在运行模拟器时候提示:Adb connection Error:远程主机强迫关闭了一个现有的连接
- 解决WCF传输大数据量时出错并提示:远程主机强迫关闭了一个现有的连接
- 关于UDP消息服务抛出“远程主机强迫关闭了一个现有的连接”的异常说明及处理方法
- Android studio中关于真机调试时远程主机强迫关闭了一个现有连接的解决方法
- Adb connection Error:远程主机强迫关闭了一个现有的连接
- Adb connection Error:远程主机强迫关闭了一个现有的连接
- Adb connection Error:远程主机强迫关闭了一个现有的连接
- 关于Adb connection Error:EOF远程主机强迫关闭了一个现有的连接。 原因
- 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。这个错误很难判断错在哪里,刚开……
- Adb connection Error:远程主机强迫关闭了一个现有的连接
- python socket.error: [Errno 10054] 远程主机强迫关闭了一个现有的连接。
- monkeyrunner执行adb push时出现“远程主机强迫关闭了一个现有的连接”解决方法
- Adb connection Error:远程主机强迫关闭了一个现有的连接
- Adb connection Error:远程主机强迫关闭了一个现有的连接。