Closed Inxo closed 1 year ago
Will look into this. We routinely test against the latest version of Vertica. There may have been an undocumented protocol change since 10.0.0
@Inxo , I am also facing this issue which connecting to vertica database. How can I resolve this at my end?
Causing regressions that weren't caught in CI automation. Will merge once we can verify it's only a test issue
I catch connection error
Uncaught error: Invalid startup packet layout: expected terminator as last byte
Looks like need to modify startup handshake
My solution was add one more empty string to startup:
var bodyBuffer = writer.addCString('').addCString('').flush()
nodejs: v16.13.2 vertica: v10.0.0-0
Also facing the exact thing. Tried different versions of node. Vertica version 10.1.1-17 Node versions I've tested - 19.4/16.19/14.21.2
I've the same issue on windows 10 (64x) +: NodeJs 19.3.0+ & Vertica 10.1+
Confirmed that problem is seen with Vertica version 10.0 as noted in the issue, but not 12.0
Resolved
I catch connection error
Uncaught error: Invalid startup packet layout: expected terminator as last byte
Looks like need to modify startup handshake
My solution was add one more empty string to startup:
nodejs: v16.13.2 vertica: v10.0.0-0