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

Polykey Nodes Connections fails to recognise --client-host argument #371

Open
brynblack opened this issue Feb 17, 2025 · 1 comment
Open
Labels
bug Something isn't working

Comments

@brynblack
Copy link
Member

Describe the bug

When using polykey nodes connections and supplying client host, port and node ID, it fails to recognise client host as an argument, and the command fails.

╭╴Orchestrator on  feature-agent [+] via  v22.11.0 via  impure (nix-shell-env) on   (ap-southeast-2) 
╰─> polykey nodes getall --client-host <host> --client-port <port> --node-id <node-id>
nodeIdEncoded                                        	nodeAddress                                                                   	bucketIndex
vg6gldhfdstju8frtbguav2p2svmev85dvpdb34gffmiagpgjf2pg	159.196.120.34-59582                                                          	253
vg6gldhfdstju8frtbguav2p2svmev85dvpdb34gffmiagpgjf2pg	159.196.32.250-57003                                                          	253
vg6gldhfdstju8frtbguav2p2svmev85dvpdb34gffmiagpgjf2pg	159.196.32.250-59582                                                          	253
vqp7gqai1qhdugsbiun8rv70mmng7rp8hf74kflr7s4b3ed3tvoag	159.196.168.16-17865                                                          	254
vqp7gqai1qhdugsbiun8rv70mmng7rp8hf74kflr7s4b3ed3tvoag	159.196.32.250-36297                                                          	254
v5j9ho15tk112ho2ldlv9atoqm599bvtlt7r6c7j1svpd4ttbse60	159.196.32.250-39968                                                          	255
v5j9ho15tk112ho2ldlv9atoqm599bvtlt7r6c7j1svpd4ttbse60	2403:5806:180e:0:3409:6f6b:4dd1:e7d3-39968                                    	255
v5j9ho15tk112ho2ldlv9atoqm599bvtlt7r6c7j1svpd4ttbse60	49.187.173.64-1441                                                            	255
v6p14qcvvftnnscuavsehu37t22vfvnhse054pbkb3ehemmjsrdh0	3.145.86.40-1314                                                              	255
v6p14qcvvftnnscuavsehu37t22vfvnhse054pbkb3ehemmjsrdh0	v6p14qcvvftnnscuavsehu37t22vfvnhse054pbkb3ehemmjsrdh0.mainnet.polykey.com-1314	255
v8k5smi8a5o7j4mhdka50q679op9lctdcepgkuslrhumc0ur793og	13.210.66.119-1314                                                            	255
vair3u8kqfqoheulk277bp71j5vi80vd2bnavki02ekeounp72e80	13.58.98.187-1314                                                             	255
vet1dhoduhkmn4749r8usiopivklr8i4qoh9kjnhtgeg5rie4nvh0	125.254.28.166-51605                                                          	255
vet1dhoduhkmn4749r8usiopivklr8i4qoh9kjnhtgeg5rie4nvh0	159.196.32.250-51605                                                          	255

╭╴Orchestrator on  feature-agent [+] via  v22.11.0 via  impure (nix-shell-env) on   (ap-southeast-2) 
╰─> polykey nodes connections --client-host <host> --client-port <port> --node-id <node-id>
error: unknown option '--client-host'

Usage: polykey nodes connections [options]

list all active node connections

Options:
  -np, --node-path <path>      Path to Node State (default: "/home/brynleyl/.local/share/polykey", env: PK_NODE_PATH)
  -pf, --password-file <path>  Path to Password
  -f, --format <format>        Output Format (choices: "human", "json", default: "human")
  -v, --verbose                Log Verbose Messages (default: 0)
  -h, --help                   display help for command

Expected behavior

Returning the node connections.

Platform

  • Device: Matrix Dell 3480
  • OS: NixOS
  • Version: 0.17.1
@brynblack brynblack added the bug Something isn't working label Feb 17, 2025
Copy link

linear bot commented Feb 17, 2025

ENG-533

@brynblack brynblack changed the title Polykey Nodes Connections fails to recognise Client Host argument Polykey Nodes Connections fails to recognise --client-host argument Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant