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

添加SQL Server实例,测试链接报错 #2469

Open
xueanguo opened this issue Dec 26, 2023 · 6 comments · May be fixed by #2472
Open

添加SQL Server实例,测试链接报错 #2469

xueanguo opened this issue Dec 26, 2023 · 6 comments · May be fixed by #2472

Comments

@xueanguo
Copy link
Contributor

重现步骤

添加sqlserver 测试链接报错

预期外的结果

('08001', '[08001] [Microsoft][ODBC Driver 18 for SQL Server]TCP Provider: Error code 0x2746 (10054) (SQLDriverConnect)')

解决方法:
https://stackoverflow.com/questions/74708033/error-code-0x2746-10054-when-trying-to-connect-to-sql-server-2014-via-odbc-fro
执行下面3行解决问题:
chmod +rwx /etc/ssl/openssl.cnf
sed -i 's/TLSv1.2/TLSv1/g' /etc/ssl/openssl.cnf
sed -i 's/SECLEVEL=2/SECLEVEL=1/g' /etc/ssl/openssl.cnf

日志文本

No response

版本

master

部署方式

Docker

是否还有其他可以辅助定位问题的信息?比如数据库版本等

No response

@xueanguo
Copy link
Contributor Author

麻烦修改下镜像的dockerfile

@LeoQuote
Copy link
Collaborator

master 版本的镜像试过了吗?

docker pull ghcr.io/hhyo/archery:master

@xueanguo
Copy link
Contributor Author

docker pull hhyo/archery:master 用的这个镜像,这2个镜像我看一样的

@LeoQuote
Copy link
Collaborator

麻烦直接提个pr吧,谢谢

@xueanguo
Copy link
Contributor Author

改dockerfile是改那个文件,是https://github.com/hhyo/Archery/blob/master/src/docker/Dockerfile 这个吗?

@LeoQuote
Copy link
Collaborator

@xueanguo 是的,就是这个文件

@xueanguo xueanguo linked a pull request Dec 28, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants