0101DNS TCP fallback on UDP query timeout disabled-redission-中间件

文章目录

1.问题描述

Springcloud 项目,微服务模块使用redission,启动报错

复制代码
DNS TCP fallback on UDP query timeout disabled. Upgrade Netty to 4.1.105 or higher.

相关软件版本如下

软件 版本 描述
springboot 2.7.18
springcloud 2021.0.9
SpringcloudAlibaba 2021.0.6.1
redission 3.32.0

2.临时解决方案

修改项目根目录pom.xml

xml 复制代码
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.netty</groupId>
                <artifactId>netty-handler</artifactId>
                <version>4.1.108.Final</version>
            </dependency>
            <dependency>
                <groupId>io.netty</groupId>
                <artifactId>netty-resolver-dns</artifactId>
                <version>4.1.108.Final</version>
            </dependency>
            <dependency>
                <groupId>io.netty</groupId>
                <artifactId>netty-codec-dns</artifactId>
                <version>4.1.108.Final</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
  • 版本>=4.1.105

报错模块修改redisson

复制代码
        <dependency>
            <groupId>org.redisson</groupId>
            <artifactId>redisson</artifactId>
            <version>3.27.2</version>
            <exclusions>
                <exclusion>
                    <groupId>io.netty</groupId>
                    <artifactId>netty-handler</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
  • 版本填写自己版本

结语

❓QQ:806797785

⭐️仓库地址:https://gitee.com/gaogzhen

⭐️仓库地址:https://github.com/gaogzhen

1\][使用redis缓存报错 `DNS TCP fallback on UDP query timeout disabled. Upgrade Netty to 4.1.105 or higher`](https://github.com/getrebuild/rebuild/issues/787)\[CP/OL\].

相关推荐
cqsztech3 小时前
基于UOS20 东方通tongweb8 安装简约步骤
中间件
yuanmenghao5 小时前
自动驾驶中间件iceoryx - 同步与通知机制(二)
开发语言·单片机·中间件·自动驾驶·信息与通信
云雾J视界6 小时前
从Boost的设计哲学到工业实践:解锁下一代AI中间件架构的密码
c++·人工智能·中间件·架构·stackoverflow·boost
yuanmenghao7 小时前
自动驾驶中间件iceoryx - 同步与通知机制(一)
开发语言·网络·驱动开发·中间件·自动驾驶
optimistic_chen1 天前
【Redis 系列】持久化特性
linux·数据库·redis·分布式·中间件·持久化
利刃大大1 天前
【RabbitMQ】安装详解 && 什么是MQ && RabbitMQ介绍
分布式·中间件·消息队列·rabbitmq·mq
schinber2 天前
MinIO生成环境如何做到负载均衡
中间件·minio
超龄超能程序猿2 天前
Docker常用中间件部署笔记:MongoDB、Redis、MySQL、Tomcat快速搭建
笔记·docker·中间件
lhrimperial3 天前
企业级消息中心架构设计与实践:多渠道统一推送平台
spring cloud·中间件·系统架构
慧一居士3 天前
IntelliJ IDEA中的项目jdk版本、语言级别版本与目标字节码版本配置说明与步骤示例
中间件