GithubHelp home page GithubHelp logo

Comments (8)

SkyeBeFreeman avatar SkyeBeFreeman commented on July 18, 2024

@wchappygood 使用最新版本sct,1.13.1-2021.0.9,同时把完整的启动日志发一下。

from spring-cloud-tencent.

wchappygood avatar wchappygood commented on July 18, 2024

@wchappygood 使用最新版本sct,1.13.1-2021.0.9,同时把完整的启动日志发一下。

20240512104216
使用了一个globalfilter 调用了上游服务
日志.txt
这个是启动日志

from spring-cloud-tencent.

SkyeBeFreeman avatar SkyeBeFreeman commented on July 18, 2024

@wchappygood 看日志,这个userclient是在bean加载时期就去拉取了服务实例列表。但是bean加载时期北极星内部的相关bean不一定加载完成,所以会有报错。看下能否调整拉取服务实例列表的时机呢?

from spring-cloud-tencent.

wchappygood avatar wchappygood commented on July 18, 2024

@wchappygood 看日志,这个userclient是在bean加载时期就去拉取了服务实例列表。但是bean加载时期北极星内部的相关bean不一定加载完成,所以会有报错。看下能否调整拉取服务实例列表的时机呢?

现在就是考虑懒加载依赖,或者不使用spring.cloud.gateway.discovery.locator.enabled=false这个功能。是可以成功启动的

from spring-cloud-tencent.

SkyeBeFreeman avatar SkyeBeFreeman commented on July 18, 2024

这里有一个优化的点 #1293 ,可能和您的场景有关。后续发布snapshot版本,会提醒您尝试是否还有类似问题。

from spring-cloud-tencent.

SkyeBeFreeman avatar SkyeBeFreeman commented on July 18, 2024

使用1.14.0-2021.0.9-SNAPSHOT看下是否能够复现呢?

from spring-cloud-tencent.

wchappygood avatar wchappygood commented on July 18, 2024

使用1.14.0-2021.0.9-SNAPSHOT看下是否能够复现呢?

这个版本拉不下来呢

from spring-cloud-tencent.

SkyeBeFreeman avatar SkyeBeFreeman commented on July 18, 2024

使用1.14.0-2021.0.9-SNAPSHOT看下是否能够复现呢?

这个版本拉不下来呢

需要添加一下snapshot的仓库。

<repository>
          <id>nexus-snapshots</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
          </snapshots>
        </repository>

from spring-cloud-tencent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.