troykelly / hassio-addons-letsencrypt-lexicon

Home Assistant Addon that provides Let's Encrypt with Lexicon
Apache License 2.0
5 stars 2 forks source link

Aliyun error: argument provider_name: invalid choice: 'null' #40

Closed dxh000130 closed 6 months ago

dxh000130 commented 6 months ago

Got error: argument provider_name: invalid choice: 'null' 屏幕截图 2024-01-16 094411

屏幕截图 2024-01-16 094227

BertyDR commented 6 months ago

I got the same issue with Godaddy: lexicon: error: argument provider_name: invalid choice: 'null'

troykelly commented 6 months ago

@dxh000130 @BertyDR The example configuration is the complete yaml, so in the editor - either edit the yaml: Screenshot by Dropbox Capture

Screenshot by Dropbox Capture

or, just remove the "dns" key, ie

  provider: aliyun
  aliyun_auth_key_id: SPECIFY ACCESS KEY ID FOR AUTHENTICATION
  aliyun_auth_secret: SPECIFY ACCESS SECRET FOR AUTHENTICATION
troykelly commented 6 months ago

Thank you both, I've updated the documentation to better reflect the UI vs the yaml editor. https://github.com/troykelly/hassio-addons-letsencrypt-lexicon?tab=readme-ov-file#configuration-note

BertyDR commented 6 months ago

Indeed dns: dns:

Thanks a lot for your answer, highly appreciated, both the answer and the soft :-)