netty框架有问题的可以问了
netty吧
全部回复
仅看楼主
level 11
邺城一帅 楼主
2020年07月30日 02点07分 1
level 1
使用Netty HTTP客户端 发送POST JSON 给nginx服务端通讯。服务端一直提示数据有问题。我使用相同的数据。使用httpclient 发送就可以。我这边初步怀疑是发送request的时候hearder参数设置的有问题。这一块想请教一下
2020年08月18日 01点08分 2
可以到尚硅谷官网查找相关教程,看自己能否找到解决方案。没有找到我再跟您解决。
2021年01月26日 03点01分
level 1
这边的问题客户端的connect是doresolveandconnect方法中
regFuture.isDone()总是等于false这是为啥注册失败呢
2021年02月01日 02点02分 3
level 1
netty可以写一级代理服务器嘛?就是netty后端接另一个代理服务器
2021年03月01日 03点03分 4
level 1
今天使用netty4碰到这样一个问题,不知道怎么解决:
2021-03-03 19:10:06,701-[TS] ERROR nioEventLoopGroup-3-8 com.sciyon.inter.netty.server.TCPServerHandler - Unexpected exception from downstream.
java.io.IOException: 您的主机中的软件中止了一个已建立的连接。
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:225)
at sun.nio.ch.IOUtil.read(IOUtil.java:193)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:375)
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:357)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:898)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:485)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:399)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:371)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
at java.lang.Thread.run(Thread.java:724)
2021年03月03日 11点03分 5
请问这个问题后来怎么解决的呢
2022年12月28日 07点12分
请问这个问题后来怎么解决的呢
2022年12月28日 07点12分
level 1
我写了个netty的服务端,和客户端的demo; 但是客户端发送CloseWebSocketFrame,服务端想接收到这个做业务处理,但是我继承了SimpleChannelInboundHandler并在channelRead0里判断了,为什么走不到这里呢 ,不知道是框架的那层直接给处理了
2021年06月04日 03点06分 6
level 2
如果我想系统的学习netty 有什么好的建议吗?
2021年08月02日 06点08分 8
level 1
请问我在项目集成netty做客户端时,在给客户端发送信息时使用一个order函数给消息内容设置大小端,但是idea提示过时了,网上找了一圈都没有找到合适的答案,请问有什么新函数,可以对整个消息包进行大小端设置吗
2024年04月07日 11点04分 9
level 1
netty在处理理各种网络事件的时候,并发量高的情况下,有的httpPost请求不起作用,相同时间请求多次就会起作用,请问这个问题怎么解决
2024年04月10日 07点04分 10
level 1
客户端发送多个socket请求下载文件,netty怎么保持一次channelactive,通过多次channel read处理下载响应而不触发channel inactive
2024年09月21日 03点09分 12
1