vrypan / fario Goto Github PK
View Code? Open in Web Editor NEWFarcaster command-line tools
License: MIT License
Farcaster command-line tools
License: MIT License
I've been trying to connect to the public hub hub.pinata.cloud
and getting errors for all combinations of adding/omitting --hub
and --ssl
, and adding/omitting an explicit :443
for ssl.
After reading --help
for fario-fid-byname, I thought this command should work:
# fario-fid-byname --help
usage: fario-fid-byname [-h] [--version] [--hub HUB] [--ssl] [-v] username
Get a user's fid
positional arguments:
username Cast text
options:
-h, --help show this help message and exit
--version show program's version number and exit
--hub HUB Use the hub at <ADDRESS>. Ex. --hub 192.168.1.1:2283
--ssl Use SSL
-v, --verbose increase output verbosity
# fario-fid-byname --hub hub.pinata.cloud:443 --ssl allenday
E0520 07:02:21.745790385 8053 hpack_parser.cc:999] Error parsing 'content-type' metadata: invalid value
Traceback (most recent call last):
File "/usr/local/bin/fario-fid-byname", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/fario/fario_fid_byname.py", line 22, in main
ret = hub.GetUsernameProof(args.username)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/farcaster/HubService.py", line 162, in GetUsernameProof
return self._stub.GetUsernameProof(UsernameProofRequest(name=bytes(name,'ascii')))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/grpc/_channel.py", line 1161, in __call__
return _end_unary_response_blocking(state, call, False, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/grpc/_channel.py", line 1004, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Stream removed"
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2024-05-20T07:02:21.746186885+00:00", grpc_status:2, grpc_message:"Stream removed"}"
>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.