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

按照文档进行docker部署报错:register to dms failed :failed to register dms proxy target #2161

Open
lovefqy opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lovefqy
Copy link

lovefqy commented Dec 15, 2023

根据文档https://actiontech.github.io/sqle-docs/docs/deploy-manual/Docker
执行

docker run -d -it \
--name sqle-server \
-p 10000:10000 \
-p 10001:10001 \
-e MYSQL_HOST="10.10.10.10" \
-e MYSQL_PORT=3306 \
-e MYSQL_USER="root" \
-e MYSQL_PASSWORD="123456" \
-e MYSQL_DMS_SCHEMA="dms" \
-e MYSQL_SQLE_SCHEMA="sqle" \
actiontech/sqle-ce:latest

部署报错,报错日志:

start sqle server...
2023-12-15 18:58:45 DEBUG caller=helper.go:51 msg=[ReadFile.start] path: /opt/sqle/etc/config.yml
2023-12-15 18:58:45 DEBUG caller=helper.go:51 msg=[ReadFile.end] path: /opt/sqle/etc/config.yml err: <nil>
register to dms failed :failed to register dms proxy target: failed to register dms proxy target http://127.0.0.1:10000/v1/dms/proxys: query data error: Post "http://127.0.0.1:10000/v1/dms/proxys": dial tcp 127.0.0.1:10000: connect: connection refused
@lovefqy lovefqy added the bug Something isn't working label Dec 15, 2023
@lovefqy lovefqy changed the title 按照文档进行docker部署报错 按照文档进行docker部署报错:register to dms failed :failed to register dms proxy target Dec 15, 2023
@ximply
Copy link

ximply commented Mar 22, 2024

我这边也是一样的,然后我进容器里面看了下,直接按照命令执行dms,打了两行日志就没然后了,看日志也没报错,所以不知道dms为何启动不成功:
bash-4.2$ ./sqle/bin/dms -conf /opt/sqle/etc/config.yaml
2024-03-22 17:11:36 DEBUG caller=helper.go:51 msg=[ReadFile.start] path: /opt/sqle/etc/config.yaml
2024-03-22 17:11:36 DEBUG caller=helper.go:51 msg=[ReadFile.end] path: /opt/sqle/etc/config.yaml err: <nil>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants