Skip to content
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

Show some information when TLS is enabled #245

Open
mh-concordium opened this issue Mar 17, 2023 · 0 comments
Open

Show some information when TLS is enabled #245

mh-concordium opened this issue Mar 17, 2023 · 0 comments
Labels
[Type] Change Request Some visible functionality should be change.

Comments

@mh-concordium
Copy link
Contributor

mh-concordium commented Mar 17, 2023

Description
Concordium-client can use TLS by providing --secure flag as available option. It would be useful to show in some way to the user that communication between client and server is secured.

On the opposite side, if the connection was not initiated properly (not providing --secure flag) while the server on another side has available TLS. Client hangs for over a minute and then throws an error.

Steps to Reproduce

PS C:\test\test-config> cc --secure --grpc-ip grpc.testnet.concordium.com consensus show-parameters
PS C:\test\test-config> cc --grpc-ip grpc.testnet.concordium.com consensus show-parameters

Expected Result

Provide more information to the user.

Actual Result

PS C:\test\test-config> cc --secure --grpc-ip grpc.testnet.concordium.com consensus show-parameters
Election nonce:      807c4deb87d044d12fd39c1f0eb077c95d6167ab92d7e917630755560ba2747c
Election difficulty: 2.5e-2
PS C:\test\test-config> cc --grpc-ip grpc.testnet.concordium.com consensus show-parameters
Error: Error getting chain parameters: I/O error: Cannot connect to GRPC server.`

Versions

  • Software Version: 5.1.0
@mh-concordium mh-concordium added the [Type] Change Request Some visible functionality should be change. label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Change Request Some visible functionality should be change.
Projects
None yet
Development

No branches or pull requests

1 participant