net/mosquitto WebSockets support

From: Joseph Olatt <>
Date: Wed, 16 Mar 2022 15:30:02 UTC

I'm trying to run a mosquitto broker under FreeBSD 13.0-RELEASE on a
Raspberry Pi. It appears that Websockets support is missing. See:

  joji@nirmal> sudo service mosquitto onestart
  Starting mosquitto.
  1647444243: Error: Websockets support not available.
  1647444243: Error found at /usr/local/etc/mosquitto/mosquitto.conf:284.
  /usr/local/etc/rc.d/mosquitto: WARNING: failed to start mosquitto

The relevant lines from mosquitto.conf are:

  joji@nirmal> grep -E "^listener|^protocol" /usr/local/etc/mosquitto/mosquitto.conf
  listener 9001
  protocol websockets

The version of mosquitto is:


Does anybody know why Websockets support is missing in the net/mosquitto
port of FreeBSD for arm64?

Thank you.

[1] Output of "uname -a":
    FreeBSD nirmal 13.0-RELEASE-p6 FreeBSD 13.0-RELEASE-p6 #0: Mon Jan 10 06:33:27 UTC 2022