Skip to content

hetznerctl reboot throws error #65

@edrock200

Description

@edrock200

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)`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions