We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I keep getting DNS resolution failed.
Code:
import json from nibiru import Network, ChainClient client = ChainClient(Network.testnet(3)) # Query perp markets perp_markets = client.query.perp.markets() print(json.dumps(perp_markets, indent=4)) # Query trader's positions trader_addr = "..." positions = client.query.perp.all_positions(trader=trader_addr) print(json.dumps(positions, indent=4))
Error:
--------------------------------------------------------------------------- _InactiveRpcError Traceback (most recent call last) [<ipython-input-2-8e0c2acaade5>](https://localhost:8080/#) in <cell line: 8>() 6 print(json.dumps(obj, indent=2)) 7 ----> 8 client = ChainClient(Network.testnet(3)) 4 frames [/usr/local/lib/python3.10/dist-packages/grpc/_channel.py](https://localhost:8080/#) in _end_unary_response_blocking(state, call, with_call, deadline) 1004 return state.response 1005 else: -> 1006 raise _InactiveRpcError(state) # pytype: disable=not-instantiable 1007 1008 _InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "DNS resolution failed for grpc.itn-3.nibiru.fi:443: C-ares status is not ARES_SUCCESS qtype=A name=grpc.itn-3.nibiru.fi is_balancer=0: Domain name not found" debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-08-09T02:05:50.070989926+00:00", grpc_status:14, grpc_message:"DNS resolution failed for grpc.itn-3.nibiru.fi:443: C-ares status is not ARES_SUCCESS qtype=A name=grpc.itn-3.nibiru.fi is_balancer=0: Domain name not found"}"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I keep getting DNS resolution failed.
Code:
Error:
The text was updated successfully, but these errors were encountered: