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

i_like_to_be_pwned not working? #392

Open
OlecramIppila opened this issue Nov 13, 2024 · 6 comments
Open

i_like_to_be_pwned not working? #392

OlecramIppila opened this issue Nov 13, 2024 · 6 comments

Comments

@OlecramIppila
Copy link

Hi, I just installed the NUT add-on to try to check the values of my new UPS, but I can't even save the config file:
"No se pudo guardar la configuración del complemento, Unknown error, see supervisor logs"

I saw this issue a lot in the closed issues tab, but the answer always was use "i_like_to_be_pwned".
The thing is that is not working for me...

HA in Proxmox
core-2024.10.0
Home Assistant OS 13.1
Supervisor-2024.09.1

NUT config:
users:

  • username: xxx
    password: ***************
    instcmds:
    • all
      actions: []
      devices:
  • name: Lyonn500
    driver: nutdrv_qx
    port: auto
    config:
    • productId = 0001
    • vendorId = 09d6
      mode: netserver
      shutdown_host: false
      i_like_to_be_pwned: true
      leave_front_door_open: false

Supervisor Log:
2024-11-13 16:41:55.355 INFO (MainThread) [supervisor.addons.manager] Add-on 'a0d7b954_nut' successfully installed
2024-11-13 16:42:41.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:43:51.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:44:08.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:44:56.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:45:13.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:46:05.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:48:03.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:54:53.634 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/nut/amd64 with version 0.13.2
2024-11-13 16:55:22.042 ERROR (SyncWorker_2) [supervisor.docker.manager] Container addon_a0d7b954_nut is not running
2024-11-13 16:57:25.493 INFO (SyncWorker_2) [supervisor.docker.manager] Cleaning addon_a0d7b954_nut application
2024-11-13 16:57:26.108 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/nut/amd64 with version 0.13.2
2024-11-13 16:58:01.664 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_a0d7b954_nut application
2024-11-13 16:58:02.856 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/nut/amd64 with version 0.13.2
2024-11-13 16:58:23.252 ERROR (SyncWorker_5) [supervisor.docker.manager] Container addon_a0d7b954_nut is not running
2024-11-13 16:58:27.642 ERROR (SyncWorker_4) [supervisor.docker.manager] Container addon_a0d7b954_nut is not running
2024-11-13 16:59:28.202 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 16:59:33.639 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Cannot connect to host api.pwnedpasswords.com:443 ssl:default [None]
2024-11-13 17:00:05.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:00:29.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:00:34.639 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Cannot connect to host api.pwnedpasswords.com:443 ssl:default [None]
2024-11-13 17:00:49.203 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:01:21.879 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
2024-11-13 17:02:12.203 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:03:09.201 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:04:31.202 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:04:36.360 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Cannot connect to host api.pwnedpasswords.com:443 ssl:default [None]
2024-11-13 17:05:00.204 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:05:24.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:09:01.204 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:12:39.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:12:45.017 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Cannot connect to host api.pwnedpasswords.com:443 ssl:default [None]
2024-11-13 17:13:04.203 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:22:19.202 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
2024-11-13 17:26:02.203 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout

I set a strong password, same error, I used the i_like_to_be_pwned option, same thing, I even tried to use the leave_front_door_open option, in that case, I think that the config file is saved but I can't start the add-on, same error again...

Any help will be greater appreciated

@sinclairpaul
Copy link
Member

It's hard to see without formatting, but endure that they are base options, something like:

users:
- username: xxx
  password: ***************
  instcmds: all
  actions: []
devices:
  - name: Lyonn500
    driver: nutdrv_qx
    port: auto
    config:
      - productId = 0001
        vendorId = 09d6
mode: netserver
shutdown_host: false
i_like_to_be_pwned: true

@OlecramIppila
Copy link
Author

So sorry, yes the format is correct

nut

@sinclairpaul
Copy link
Member

There is nothing in the log showing the failure to save, if I save this on my test system it applies fine.

users:
  - username: user
    password: password
    instcmds:
      - all
    actions: []
devices:
  - name: myups
    driver: dummy-ups
    port: dummy.dev
    config: []
mode: netserver
shutdown_host: false
i_like_to_be_pwned: true

You can also use the gui mode and show Unused options.

@OlecramIppila
Copy link
Author

Thanks for your time and speedy answers!
I tried to use the test config that you just sent and the same error appear in the supervisor log:
2024-11-13 19:18:34.200 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
So, evidently is something on my end.
I will try to figure it out
Thanks again!

Copy link

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Dec 14, 2024
@RecNes
Copy link

RecNes commented Dec 15, 2024

2024-11-13 17:26:02.203 WARNING (MainThread) [supervisor.utils.pwned] Can't fetch HIBP data: Timeout
That problem could occurring due to falsy DNS configuration.
I faced with that problem once. Network configuration was faulty. I fixed the network and that error has dissapeared.

BTW, I guess you might need to set true the leave_front_door_open option.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants