core: Error during webhook registration

The problem

Log says:

Logger: homeassistant.components.netatmo
Source: components/netatmo/__init__.py:137
Integration: netatmo (documentation, issues)
First occurred: 9:01:00 PM (1 occurrences)
Last logged: 9:01:00 PM

2020-03-18 21:01:00 ERROR (MainThread) [homeassistant.components.netatmo] Error during webhook registration - 400 - Bad request - Allowed ports for webhooks are 443 and 80. (21) when accessing 'https://api.netatmo.com/api/addwebhook'

Environment

arch armv7l
dev false
docker true
hassio true
os_name Linux
os_version 4.19.106-v7l
python_version 3.7.6
timezone Europe/Amsterdam
version 0.107.0
virtualenv false
  • Home Assistant release with the issue: 0.107
  • Last working Home Assistant release (if known): 0.106.6
  • Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
  • Integration causing this issue: Netatmo
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/netatmo

Problem-relevant configuration.yaml

netatmo:
  client_id: YOUR_CLIENT_ID
  client_secret: YOUR_CLIENT_SECRET

Traceback/Error logs

Happens after updating tot 107. Stays after reboots.


Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 39 (15 by maintainers)

Most upvoted comments

I’m not very used to DISCORD but I’m there now. How do I get in tough with you on discord? (and by the way - thank you so much for taking the time) 😃

Sir, it was not my intention to question your motives. I completely accept your logic. To defend myself; I was completely unaware that the Netatmo platform had been changed when I decided to upgrade to 107 (perhaps I didn’t read the 107 release notes well enough - that’s human)

Now that I know, let’s move on. Please be aware that I haven’t read yet the details regarding webhooks and your new approach. But I will (although I have little or no knowledge about the nature of webhooks at this point). But did I understand correctly the the use of webhooks implies that HA has to be exposed to the internet ? You can surely appreciate that my concern is security. And I know that DDNS and Nabu Casa etc. can help risk. In my case though, I use a reverse proxy to access HA from the internet. Will that be sufficient to facilitate “webhooks” ? (Please excuse my ignorance)