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

sqle-ms-plugin:测试数据源连通性失败 #2367

Open
winfredLIN opened this issue Apr 18, 2024 · 0 comments
Open

sqle-ms-plugin:测试数据源连通性失败 #2367

winfredLIN opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@winfredLIN
Copy link
Collaborator

问题描述

https://github.com/actiontech/sqle-ms-plugin
version:14f891e1baef8ae180ad9192aa2b97176e7383db
在使用sqle-ms-plugin插件,连接数据源时报错
在使用该插件连接数据源时报错
image

2024-04-17T09:56:01.078Z [ERROR] plugin.sqle-ms-plugin: get conn error: %v: EXTRA_VALUE_AT_END="Unable to open tcp connection with host '10.186.60.70:1433': dial tcp 10.186.60.70:1433: connect: connection refused" timestamp=2024-04-17T09:56:01.078Z
2024-04-17T09:56:01.080Z [DEBUG] plugin.sqle-ms-plugin: panic: get database connection failed when new driver: Unable to open tcp connection with host '10.186.60.70:1433': dial tcp 10.186.60.70:1433: connect: connection refused
2024-04-17T09:56:01.080Z [DEBUG] plugin.sqle-ms-plugin: 
2024-04-17T09:56:01.080Z [DEBUG] plugin.sqle-ms-plugin: goroutine 66 [running]:
2024-04-17T09:56:01.080Z [DEBUG] plugin.sqle-ms-plugin: github.com/actiontech/sqle/sqle/pkg/driver.(*Adaptor).Serve.func2(0xc00028c140, 0x171a0b0, 0x0)
2024-04-17T09:56:01.080Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/github.com/actiontech/sqle/sqle/pkg/driver/adaptor.go:108 +0x525
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: github.com/actiontech/sqle/sqle/driver.(*driverGRPCServer).Init(0xc000111200, 0xe3ac20, 0xc0000a22d0, 0xc00028c000, 0xc000111200, 0xc0000a22d0, 0xc000019ba0)
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/github.com/actiontech/sqle/sqle/driver/plugin.go:345 +0x3b1
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: github.com/actiontech/sqle/sqle/driver/proto._Driver_Init_Handler(0xcdff40, 0xc000111200, 0xe3ac20, 0xc0000a22d0, 0xc00058e060, 0x0, 0xe3ac20, 0xc0000a22d0, 0xc00003a270, 0x22)
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/github.com/actiontech/sqle/sqle/driver/proto/driver.pb.go:713 +0x214
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001328c0, 0xe40e58, 0xc00024aa80, 0xc000161320, 0xc000111770, 0x16d68b8, 0x0, 0x0, 0x0)
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/google.golang.org/grpc/server.go:1292 +0x52b
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: google.golang.org/grpc.(*Server).handleStream(0xc0001328c0, 0xe40e58, 0xc00024aa80, 0xc000161320, 0x0)
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/google.golang.org/grpc/server.go:1617 +0xd0c
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc000038130, 0xc0001328c0, 0xe40e58, 0xc00024aa80, 0xc000161320)
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/google.golang.org/grpc/server.go:940 +0xab
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: created by google.golang.org/grpc.(*Server).serveStreams.func1
2024-04-17T09:56:01.081Z [DEBUG] plugin.sqle-ms-plugin: 	/universe/vendor/google.golang.org/grpc/server.go:938 +0x1fd
2024-04-17T09:56:01.082Z [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2024-04-17T09:56:01.082Z [DEBUG] plugin: plugin process exited: path=.vscode/plugins/sqle-ms-plugin pid=24711 error="exit status 2"
@winfredLIN winfredLIN added the bug Something isn't working label Apr 18, 2024
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