sqle icon indicating copy to clipboard operation
sqle copied to clipboard

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

Open winfredLIN opened this issue 10 months ago • 0 comments

问题描述

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 avatar Apr 18 '24 11:04 winfredLIN