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

SSL error for query_staking_summary #398

Open
lars20070 opened this issue Jul 2, 2024 Discussed in #397 · 2 comments
Open

SSL error for query_staking_summary #398

lars20070 opened this issue Jul 2, 2024 Discussed in #397 · 2 comments

Comments

@lars20070
Copy link

Discussed in #397

Originally posted by lars20070 July 2, 2024
I try to retrieve the staked amount of a specific Axelar address with query_staking_summary as discussed in the docu. All gRPC endpoints listed in the chain registry fail with the same SSL error below.

Handshake failed with fatal error SSL_ERROR_SSL: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER.

Back a few months, I was able to connect to at least one of the endpoints. Now all of them fail as above.

Similar problems have been reported here. But I am unsure how further to debug.

@lars20070
Copy link
Author

lars20070 commented Jul 7, 2024

Here a minimal example. None of the gRPC clients works.

from cosmpy.aerial.client import LedgerClient, NetworkConfig

# https://www.mintscan.io/axelar/address/axelar13s44uvtzf578zjze9eqeh0mnemj60pwn8slx2w
address = "axelar13s44uvtzf578zjze9eqeh0mnemj60pwn8slx2w"
# https://github.com/cosmos/chain-registry/blob/master/axelar/chain.json#L339
network_config = NetworkConfig(
    chain_id="axelar-dojo-1",
    url="grpc+https://grpc-axelar-ia.cosmosia.notional.ventures:443",
    fee_minimum_gas_price=1,
    fee_denomination="uaxl",
    staking_denomination="uaxl",
)
client = LedgerClient(network_config)
balance = client.query_bank_balance(address, "uaxl")
print(balance)

@lars20070
Copy link
Author

This issue has been preview on the Pull Requests. To resolve, Visit the defi protocol page to initiate a chat with the live agent on the chat button to get more information about your request via Defi Protocol Thank you for posting @lars20070

Caution. Phishing attempt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant