Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用redis缓存报错 DNS TCP fallback on UDP query timeout disabled. Upgrade Netty to 4.1.105 or higher. #787

Closed
jxcsoft opened this issue Jul 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jxcsoft
Copy link

jxcsoft commented Jul 22, 2024

版本 / Version

v3.7.3

什么问题 / What's the problem

使用redis缓存报错 DNS TCP fallback on UDP query timeout disabled. Upgrade Netty to 4.1.105 or higher.

如何复现此问题 / How to reproduce this problem

打包时警告,使用的时候可能由于网络环境不稳定因为DNS问题打不开系统

临时解决方案

修改pom.xml

  • 增加dependencyManagement
    <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>
  • 修改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>
@getrebuild getrebuild added the bug Something isn't working label Jul 22, 2024
@getrebuild
Copy link
Owner

感谢反馈,将在后续版本修复此问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants