#OctoPrint Can't Connect to HA

1 messages · Page 1 of 1 (latest)

fickle stone
#

I have OctoPrint set up to control a switch in HA through an Octoprint Plugin. The plugin config has ip_address:port, access_token, and entity_id(switch). I have those configs set up correctly as far as I can tell. HA is able to connect to the OctoPrint instance, which i can confirm since I collect Octoprint data through the HA OctoPrint integration.

I haven't used this OctoPrint instance in a few months, and had issues when I first booted it up. I thought the issue may be the access token, so I created a new one, and set that in the OctoPrint plugin config. The new access token did not seem to do anything. I restarted both octoprint and HA, and saw no changes either. I logs similar to the one I posted before, and it says that it has several thousand occurrences, so OctoPrint much be continuously pinging HA. I checked for an ip_ban.yaml file or whatever it is, and did not see one.

Any thoughts on that the issue may be and how to fix?

Log Info:

Source: components/http/ban.py:136
integration: HTTP (documentation, issues)

Login attempt or request with invalid authentication from xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx). Requested URL: '/api/states/switch.smart_plug'. (python-requests/2.31.0)
Login attempt or request with invalid authentication from xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx). Requested URL: '/api/services/switch/turn_on'. (python-requests/2.31.0)```