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

使用cloud-tencent,服务间grpc无法通讯问题 #1287

Closed
fwdragon opened this issue May 9, 2024 · 2 comments
Closed

使用cloud-tencent,服务间grpc无法通讯问题 #1287

fwdragon opened this issue May 9, 2024 · 2 comments
Labels
question Further information is requested

Comments

@fwdragon
Copy link

fwdragon commented May 9, 2024

spring:
application:
name: @project.artifactId@
profiles:
active: dev
cloud:
polaris:
address: grpc://192.168.11.156:8091
config:
groups:
- name: TABR_IOT
files: [ "datasource.yml","jetcache.yml","common.yml","forest.yml"]

配置文件如上,服务正常在注册中心展示,但是grpc间调用返回"UNAVAILABLE: Unable to resolve host dc3-center-auth"
image

依赖版本如下:
spring-cloud-starter-tencent-all:1.12.4-2021.0.8
spring.boot:2.7.11
spring.cloud:2021.0.7
grpc-spring-boot-starter:2.14.0.RELEASE

@fwdragon fwdragon added the question Further information is requested label May 9, 2024
@SkyeBeFreeman
Copy link
Collaborator

sct暂不支持grpc使用。grpc目前有单独的接入方式,https://github.com/polarismesh/grpc-java-polaris

@fwdragon
Copy link
Author

fwdragon commented May 9, 2024

sct暂不支持grpc使用。grpc目前有单独的接入方式,https://github.com/polarismesh/grpc-java-polaris

好的 了解了

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

2 participants