simplechat client requires restart after authentication failure
eugmes opened this issue · 1 comments
eugmes commented
Describe the bug
simplechat example client does not seem to send credentials to the server after entering password incorrectly once. A restart is required to enter new credentials
To Reproduce
- Run simplechatserver example
- Run simplechat example
- Enter invalid credentials, observe an
Authentication failed
message in the server output. - Try entering other credentials in the client, the server does not print any messages this time.
Expected behavior
It should be possible to retry entering credentials in the client without a restart.
Environment:
- OS: Debian unstable
- Version eb1a8b5, built with all 3rd party submodules
Additional context
The client prints these messages to console:
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
qrc:/main.qml:113:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
qtprotobuflog: "messageList" call "qtprotobuf.examples.SimpleChat" stream finished: "Невідома помилка"
The last message translates "Unknown error".
semlanik commented
Thanks! There are couple issues in gRPC stream implementation. I need to complete the refactoring one day.