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

RPC Shutdown: Shutdown fails with NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE #3250

Closed
t0mcat1337 opened this issue Oct 8, 2023 · 1 comment
Closed

Comments

@t0mcat1337
Copy link

t0mcat1337 commented Oct 8, 2023

Describe the issue you are experiencing

When trying to shut down a Windows 10 machine with a call like this

service: hassio.addon_stdin
data:
  addon: core_rpc_shutdown
  input: test-pc

this fails, the machine is not shut down.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

RPC Shutdown

What is the version of the add-on?

2.4

Steps to reproduce the issue

  1. Install the Add - On
  2. Configure a Windows 10 22R2 PC
  3. Try to shutdown as described
    ...

System Health information

No repairs available

Anything in the Supervisor logs that might be useful for us?

23-10-08 23:46:58 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping addon_core_rpc_shutdown application
23-10-08 23:47:02 INFO (SyncWorker_1) [supervisor.docker.manager] Cleaning addon_core_rpc_shutdown application
23-10-08 23:47:02 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-rpc_shutdown with version 2.4
23-10-08 23:50:01 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token

Anything in the add-on logs that might be useful for us?

[23:47:21] INFO: Read alias: hostname
[23:47:21] INFO: Shutdown hostname -> hostname.my.domain
Could not connect to server 192.168.42.168
Connection failed: NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
Could not connect to server 192.168.42.168
Connection failed: NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
[23:47:21] ERROR: Shutdown failed:

Additional information

This is configured in the addon:

- address: hostname.my.domain
  alias: hostname
  credentials: user%password
  delay: 0
  message: PC wird heruntergefahren

I use this service call:

      service: hassio.addon_stdin
      data:
        addon: core_rpc_shutdown
        input: hostname

The Windows PC ist part of a Samba driven AD domain.
Version is Windows 10 22R2
Clocks between HomeAssistant and Windows machine are in sync.

Copy link

github-actions bot commented Nov 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Nov 8, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants