Bad Indicator Error 11 when trying to open ESPHome device web interface

I have set up an ESP8285 IR transceiver with ESPHome and it all works fine except for when I try to click Visit in ESPHome Builder or try to visit the device IP in a web browser. When this failure happens, the device log shows:

[17:30:32.657][D][api:136]: Accept 192.168.1.85
[17:30:32.672][VV][api.noise:162]: 192.168.1.85 (192.168.1.85): Bad indicator byte 71
[17:30:32.672][W][api.connection:1978]: 192.168.1.85 (192.168.1.85): Socket operation failed BAD_INDICATOR errno=11
[17:30:32.690][V][api:193]: Remove connection 192.168.1.85

My question is: Should I be able to get a web interface for this device?

Yaml for the device:

esphome:
  name: "ir-remote-1"
  friendly_name: "ir-remote-1"
esp8266:
    board: esp01_1m
# Enable logging
logger:
  level: VERY_VERBOSE
# Enable Home Assistant API
api:
  encryption:
    key: !secret esphome_encryption_key
ota:
  - platform: esphome
    password: "xxxxxxxxxxxxxxxxxxxxxx"
web_server:
  port: 80
wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Irremote1 Fallback Hotspot"
    password: "xxxxxxxxxxxxxxx"
captive_portal:
remote_receiver:
  pin:
    number: GPIO14
    inverted: true
  dump: all
remote_transmitter:
  pin:
    number: GPIO4
  carrier_duty_percent: 50%
button:
  - platform: template
    name: "On/Off Sony"
    on_press:
      - remote_transmitter.transmit_sony:
          data: 0x00000A90
          nbits: 12

I answered my own question, it started working and I’m not sure why except possibly a power cycle.