GuilleGF / hassio-ovh

OVH DynHost Updater Component for https://www.home-assistant.io/
20 stars 9 forks source link

Invalid config, but all work #14

Open Simonz82 opened 1 month ago

Simonz82 commented 1 month ago

hello, I have entered in with in configuration.yaml this string

ovh:
  domain: xxx.xxx.com
  username: myuser
  password: !secret ovh_access (with my psw)

everything works perfectly, HA is accessible with nginx etc. but why do I get these errors ? how can i solve it ?

2024-09-17_124221 2024-09-17_124211

despatates commented 1 week ago

I've had this error message when using a password starting by a ?, and the addon didn't worked. I removed the special characters, the message disappeared (and the addon works!).

Simonz82 commented 1 week ago

Is it just a special character issue? Are you telling me this? In my password there are, nn at the beginning, but there are

Thank you

Il Gio 17 Ott 2024, 23:37 Yvan G. @.***> ha scritto:

I've had this error message when using a password starting by a ?, and the addon didn't worked. I removed the special characters, the message disappeared (and the addon works!).

— Reply to this email directly, view it on GitHub https://github.com/GuilleGF/hassio-ovh/issues/14#issuecomment-2420637707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHAZ2Q6POO5M7QZLAN6RPTZ4AUYBAVCNFSM6AAAAABOLF526OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRQGYZTONZQG4 . You are receiving this because you authored the thread.Message ID: @.***>

despatates commented 1 week ago

For me it was. I checked the source code. I saw the password was embedded in a URL and realized that it could be the source of the problem.

https://github.com/GuilleGF/hassio-ovh/blob/d47c16c683a9e98883976f30ca891bdfad5d2a91/custom_components/ovh/__init__.py#L83