taosdata / driver-go

taos go driver
MIT License
88 stars 34 forks source link

用taosWS方式连接提示 websocket: bad handshake #254

Open Gavine-Gao opened 5 months ago

Gavine-Gao commented 5 months ago

websocket: bad handshake 于是把源码里面的内容加了一个rest/ws就可以连上了,要怎么改才能连接上

WechatIMG17

yinheli commented 4 months ago

Maybe you should upgrade TDengine, the endpoint /ws introduced September 4th, 2023

https://github.com/taosdata/driver-go/commit/c71fda80ad39fcd862ba509f8964e1ed2e705603#diff-e06780a8812387c376133759eb641a3593f3ffce8f2b2b7a155a4a891fb3a27eL54

https://github.com/taosdata/taosadapter/commit/1c67fb520e1b82ca7763abae708c91a2a3f6bd45#diff-f7d19b76dd9ed2de654b20fc344dce79e34a022373caf4818d2e9a68c7964c59R24

This project appears to lack release notes. It is recommended that the maintainers add them, including details on bugs, features, and breaking changes, to facilitate quick issue tracking.

@huskar-t