hetzner
hetzner copied to clipboard
hetznerctl reboot throws error
Not sure what I'm doing wrong here. Have the module installed and configured properly. hetznerctl list shows the servers. But running hetznerctl reboot IP x.x.x.x or herznerctl reboot x.x.x.x gives this error
File "/usr/local/bin/hetznerctl", line 414, in <module>
main()
File "/usr/local/bin/hetznerctl", line 410, in main
subcommand.execute(robot, parser, args)
File "/usr/local/bin/hetznerctl", line 60, in execute
server = robot.servers.get(ip)
File "/usr/local/lib/python3.10/dist-packages/hetzner/robot.py", line 388, in get
return Server(self.conn, self.conn.get('/server/{0}'.format(ip)))
File "/usr/local/lib/python3.10/dist-packages/hetzner/robot.py", line 368, in get
return self.request('GET', path)
File "/usr/local/lib/python3.10/dist-packages/hetzner/robot.py", line 333, in request
raise RobotError(msg.format(response.status), response.status)
hetzner.RobotError: Empty response, status 404. (404)`