Can't connect to InfluxDB v2 via HA integration

I’ve had InfluxDB running for quite a while on my system, using the HA integration to connect to the v1.x instance in Docker. I’m aware there are some ongoing issues with configuring InfluxDB, and because HA stopped connecting to my database I decided it was a good time to upgrade to v2.x.

I am able to connect to the InfluxDB UI in a browser, using http://IPADDRESS:8086. However, I can’t configure the integration to connect to my database:

I’ve confirmed the org, bucket, and token. My InfluxDB user has read/write permissions.

Any ideas what I’m doing wrong here? My HA is suffering… major slowdowns since my InfluxDB connection broke. Lots of log entries from connection failures. Thanks in advance.

EDIT: This is now working for me. I have no idea what changed. I connected at http://IP:8086.