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

v2.6.2 upgrade error #2832

Closed
BeatsKitano opened this issue May 16, 2023 · 3 comments
Closed

v2.6.2 upgrade error #2832

BeatsKitano opened this issue May 16, 2023 · 3 comments
Labels
question Further information is requested

Comments

@BeatsKitano
Copy link

BeatsKitano commented May 16, 2023

What happened:

升级到v2.6.2后报错如下:

xxx/internal/biz imports
        github.com/go-kratos/kratos/v2/errors tested by
        github.com/go-kratos/kratos/v2/errors.test imports
        google.golang.org/grpc/test/grpc_testing: module google.golang.org/grpc@latest found (v1.55.0), but does not contain package google.golang.org/grpc/test/grpc_testing 

grpc同时已经升级到v1.55.0

upgraded google.golang.org/grpc v1.46.2 => v1.55.0

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

如果将grpc降级为v1.46.2

go get -u google.golang.org/grpc@v1.46.2 

可正常运行

Environment:

  • Kratos version (use kratos -v): v2.6.2
  • Go version (use go version):1.20
  • OS (e.g: cat /etc/os-release):macos
  • Others:
@BeatsKitano BeatsKitano added the bug Something isn't working label May 16, 2023
@kratos-ci-bot kratos-ci-bot changed the title v2.6.2 升级报错 v2.6.2 upgrade error May 16, 2023
@fifsky
Copy link
Contributor

fifsky commented May 17, 2023

已经修正,将在下一个版本修正,目前先用google.golang.org/grpc <1.55版本即可

@kratos-ci-bot
Copy link
Collaborator

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It has been corrected and will be corrected in the next version. For now, use google.golang.org/grpc <1.55

@migmartri
Copy link
Contributor

Hi, thanks for the fix. Any thoughts on when the change will be released? This issue is currently preventing us to perform some fairly [1] important [2] security upgrades in our dependencies.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants