您好,1.2.7的server 版本,其中sdk有设置群备注,调用报错500,,是没有这个吗

stanly705 1天前 66

您好,1.2.7的server 版本,其中sdk有设置群备注,调用报错500,,是没有这个吗

最新回复 (15)
  • x86 1天前
    引用 2
    具体是哪个请求,请提供请求参数和相关日志
  • wfclaw 1天前
    引用 3
    您好,server 1.2.7 版本确实不支持群备注功能。

    群备注功能是在 1.3.8 版本才添加的,具体提交记录为:server api添加群备注和收藏群组接口。

    如果您需要使用群备注功能,建议将服务器升级到 1.3.8 或更高版本。升级后,SDK 中的 setGroupRemark 接口即可正常使用。

    如暂时无法升级,当前版本可以通过其他方式(比如本地存储)来实现群备注功能。
  • x86 1天前
    引用 4
    wfclaw 您好,server 1.2.7 版本确实不支持群备注功能。 群备注功能是在 1.3.8 版本才添加的,具体提交记录为:server api添加群备注和收藏群组接口。 如果您需要使用群备注功能,建议 ...
    不太对,GroupAdmin.setGroupRemark 是通过 GeneralAdmin.setUserSetting 实现群备注的,GeneralAdmin.setUserSetting  很早就支持了。

    还是需要提供请求参数和日志来分析
  • stanly705 1天前
    引用 5
    1、使用uniapp 2.0的版本,如果1.2.7升级1.4最新版,是否可以兼容
  • stanly705 1天前
    引用 6
    2、升级过程中,比对参数,重新运行过程后,会会自动更新sql字段吗,对数据是否有影响

  • stanly705 1天前
    引用 7
    3、uniapp使用过程中,发现,im中使用缓存机制保持的高性能,如清理服务器端缓存,如何清理,另外,咱们缓存是放到哪里了
    4、比如历史记录,uniapp后,获得了历史数据,这历史数据是如何获得的缓存,如何清理
  • stanly705 1天前
    引用 8
    5.目前技术文档中,没有讲解缓存的文章,能否讲一下缓存
  • stanly705 1天前
    引用 9
    6、1.2.7这个版本我下载了社区代码中,发现代码中确实是有setUserSetting ,并且有相关的逻辑实现,这里面有2个问题,一个是官网说的是6是备注,实际上我看代码是26
    :“获取群备注此接口复用用户设置接口,获取scope=6, key=groupId,”,后台的错误日志如下,
  • stanly705 1天前
    引用 10
    26-06-06 18:13:13,940 WARN  [nioEventLoopGroup-5-4] channel.DefaultChannelPipeline (DefaultChannelPipeline.java:1152) - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
    java.io.IOException: Connection reset by peer
           at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_371]
           at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_371]
           at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_371]
           at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_371]
           at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378) ~[?:1.8.0_371]
           at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253) ~[netty-buffer-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-buffer-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_371]
  • stanly705 1天前
    引用 11
    我在测试的过程中发现,如果实现GroupAdmin.getGroupInfo,后台日志是2026-06-06 22:18:45,365 INFO  [nioEventLoopGroup-5-7] handler.ActionHandler (ActionHandler.java:128) - Http request whit url /admin/group/get_info,
  • stanly705 1天前
    引用 12
    这是一下请求2个接口,完整的日志,
    2026-06-06 22:18:45,517 INFO  [nioEventLoopGroup-5-7] handler.ActionHandler (ActionHandler.java:128) - Http request whit url /admin/user/get_info
    2026-06-06 22:18:45,926 WARN  [nioEventLoopGroup-5-7] channel.DefaultChannelPipeline (DefaultChannelPipeline.java:1152) - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
    java.io.IOException: Connection reset by peer
           at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_371]
           at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_371]
           at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_371]
           at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_371]
           at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:378) ~[?:1.8.0_371]
           at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253) ~[netty-buffer-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) ~[netty-buffer-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:151) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) ~[netty-transport-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.68.Final.jar:4.1.68.Final]
           at java.lang.Thread.run(Thread.java:750) ~[?:1.8.0_371]
    2026-06-06 22:18:45,926 WARN  [nioEventLoopGroup-5-7] handler.ActionHandler (ActionHandler.java:73) - Connection reset by peer
  • x86 15小时前
    引用 13
    stanly705 6、1.2.7这个版本我下载了社区代码中,发现代码中确实是有setUserSetting ,并且有相关的逻辑实现,这里面有2个问题,一个是官网说的是6是备注,实际上我看代码是26 :“获取群备注此接 ...
    6 是收藏群组,26 是设置群备注
  • x86 15小时前
    引用 14
    stanly705 2、升级过程中,比对参数,重新运行过程后,会会自动更新sql字段吗,对数据是否有影响
    会的,没有影响,但还是建议先进行备份,然后在升级,出问题时,可以回滚
  • x86 15小时前
    引用 15
    stanly705 26-06-06 18:13:13,940 WARN [nioEventLoopGroup-5-4] channel.DefaultChannelPipeline (DefaultChannelPi ...
    这个日志不是设置群备注相关的
  • stanly705 12小时前
    引用 16
    那uniapp vue2版本能最新版吗
返回