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

使用反馈1.2.x #148

Open
yugj opened this issue Dec 20, 2018 · 0 comments
Open

使用反馈1.2.x #148

yugj opened this issue Dec 20, 2018 · 0 comments

Comments

@yugj
Copy link

yugj commented Dec 20, 2018

hi,今天浏览了该项目,参考使用文档跑了下,一下有几个问题想咨询,感谢回复

版本:1.2.0-SNAPSHOT

use-case: half-separation/scca-ui-rest-server-git

配置文件如下:

spring.application.name=scca-ui-rest-server
server.port=12000

# scca-rest-server api url prefix
scca.rest.context-path=/xhr
# scca-ui-server embed scca-rest-server
scca.ui.use-embed-scca-rest-server=true

scca.config-server.username=username
scca.config-server.password=password

# eureka registry address
eureka.client.serviceUrl.defaultZone=http://username:password@localhost:19008/eureka/

# Datasource h2 (Not recommended for online, please use MySQL or other reliable datasource)
spring.datasource.url=jdbc:h2:file:./database4test/config-git-management;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.username=sa
spring.datasource.password=
spring.datasource.driver-class-name=org.h2.Driver

spring.h2.console.enabled=true
spring.h2.console.path=/h2
spring.h2.console.settings.web-allow-others=true

配置管理

image-20181220185032505

问题1,这边页面错乱了

chrome:版本 71.0.3578.98(正式版本) (64 位)

Macos :high Sierra

配置管理/列表模式 里面点击保存出现401错误

控制台日志:

2018-12-20 18:55:54.554 INFO 3140 --- [io-12000-exec-7] c.d.s.s.d.eureka.UrlMaker4Eureka : Get config server instances url : http://username:password@localhost:19008/eureka/apps/ms-config
2018-12-20 18:55:54.570 WARN 3140 --- [io-12000-exec-7] .m.m.a.ExceptionHandlerExceptionResolver : Resolved exception caused by Handler execution: org.springframework.web.client.HttpClientErrorException: 401 null

问题2,这边为啥会提示401,我在eureka地址已经配置了用户名密码;在config也配置了scca.config-server密码

问题3,咨询下;我没有找到 配置中心获取 里面修改config服务配置的相关入口(修改相关内容同步到git并刷新config bus),请问目前版本支持吗

目前在寻找这块相关开源项目,对比spring-boot-admin只支持刷新Environment,感觉spring-clound-config-admin支持这块功能,感觉我姿势不对

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

1 participant