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
[For help] Failed to process the incoming request: unsupported protocol version #127
Comments
Hi @ShawnHsiung I have never seen that error before. Which version do you use? The current production version is |
Hi @buraksezer thanks for your reply. the output log incorrect protocol version was caused by our service scanner to do some security things. But, I have an question about why not to close the conn actively when handle message failed, and may we output more detail log while client using unknown protocol version, it's useful to position error.
|
Olric implements connection pooling. Closing the socket due to a message processing error is not useful at all. Because the underlying TCP socket would be healthy.
It's possible to improve the logging. Could you please send a PR or snipped to clarify the idea? |
It's might be better to distinguish protocol error from errors while handleMessage, close the connection if the protocol.ReadMessage returns error, because it would be a bad client with high probability, and there is a problem that olric not read until the EOF from conn that keep sending data.
yes, I'd like to make a PR to improve the logging readability. let's talk about the first question, is it possible to close conn if protocol read error? if it's possible, I 'd like to include it in the PR. |
Hi,
Sometime it's happen in my standalone deployment env, could you give me an idea about the above error output, what's the reason that cause protocol read version incorrect?
The text was updated successfully, but these errors were encountered: