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

关于指定注册的IP/URL引发的问题 #5160

Closed
3 tasks done
liwei-geng opened this issue Jun 14, 2024 · 1 comment
Closed
3 tasks done

关于指定注册的IP/URL引发的问题 #5160

liwei-geng opened this issue Jun 14, 2024 · 1 comment

Comments

@liwei-geng
Copy link

liwei-geng commented Jun 14, 2024

描述bug

在apolloconfig和admin中的startup.sh中分别指定-Deureka.instance.ip-address=xxxxx、-Deureka.instance.homePageUrl=http://xxxxx:8080、-Deureka.instance.preferIpAddress=false参数后,系统信息显示正常,Check正常,但是在系统参数界面无法显示配置参数信息。且应用页打开报错,截图如下。

复现

通过如下步骤可以复现:

  1. 配置安装好portal,并指定apollo.portal.meta.servers,用的为公网地址。
  2. 分别安装config和admin服务,配置数据库,vim两个服务下的startup.sh文件,指定参数-Deureka.instance.ip-address=xxxxx、-Deureka.instance.homePageUrl=http://xxxxx:8080、-Deureka.instance.preferIpAddress=false
  3. 分别启动config、admin、portal服务

期望

期望正常情况下应该正常加载新的环境的配置参数。

截图
按照如上步骤后的正常截图:
image

无法读取新环境的配置参数
image

点击应用后的报错截图
image

相应的日志截图
image

  • 版本:2.2.0
  • 平台和操作系统 centos7.5
@nobodyiam
Copy link
Member

image

admin service 的地址看起来注册错了

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

No branches or pull requests

2 participants