mit-pdos / noria-mysql

MySQL/MariaDB protocol shim for Noria
MIT License
67 stars 15 forks source link

'Custom { kind: UnexpectedEof, error: StringError("414 unhandled bytes") }', src/main.rs:149:29 #8

Open rizrmd opened 5 years ago

rizrmd commented 5 years ago

i got this error: 'Custom { kind: UnexpectedEof, error: StringError("414 unhandled bytes") }', src/main.rs:149:29

after running noria using: cargo r --release --bin noria-server -- --deployment my --no-reuse --address 0.0.0.0 --shards 0

and running noria-mysql using: cargo run --release -- --deployment my -z 0.0.0.0:2181

ms705 commented 5 years ago

Does this happen right away on startup, or did you run any queries against noria-mysql before it happened?

I tried your exact commands with the latest versions of the master branches of noria and noria-mysql, and they work fine for me (i.e., I don't see this crash). Note that noria and noria-mysql must use compatible versions of the noria crate (i.e., built from the same code) -- sometimes, a git pull is needed to ensure that both repos build from the latest git version (or you can rely on the release versions provided through crates.io -- we try to keep those stable and in sync).

rizrmd commented 5 years ago

This happen after i try to connect to it using datagrip. Yes, I am pulling latest noria and noria-mysql.