[Bug 262552] net/mosquitto: Mosquitto websockets support not working

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Mar 2022 12:57:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262552

            Bug ID: 262552
           Summary: net/mosquitto: Mosquitto websockets support not
                    working
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ttkdroid@gmail.com
                CC: joe@thrallingpenguin.com
                CC: joe@thrallingpenguin.com
             Flags: maintainer-feedback?(joe@thrallingpenguin.com)

Mosquitto builds ok with the option to support websockets and apparently
initiates the listener, however no client can connect using websockets, log
doesn't show any errors (below):

LOG FILE

2022-03-15T10:29:21: mosquitto version 2.0.13 starting
2022-03-15T10:29:21: Config loaded from
/usr/local/etc/mosquitto/mosquitto.conf.
2022-03-15T10:29:21: Loading plugin:
/usr/local/lib/mosquitto_dynamic_security.so
2022-03-15T10:29:21: Opening ipv6 listen socket on port 8666.
2022-03-15T10:29:21: Opening ipv4 listen socket on port 8666.
2022-03-15T10:29:21: Opening websockets listen socket on port 8667.
2022-03-15T10:29:21: mosquitto version 2.0.13 running

NETSTAT

Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address          Foreign Address        (state)    
tcp4       0      0 10.0.0.33.8666         10.0.0.5.59398         ESTABLISHED
tcp6       0      0 *.8667                 *.*                    LISTEN     
tcp4       0      0 *.8666                 *.*                    LISTEN     
tcp6       0      0 *.8666                 *.*                    LISTEN     
tcp4       0      0 *.*                    *.*                    CLOSED        

Same configuration files works flawlessly on Linux.

-- 
You are receiving this mail because:
You are the assignee for the bug.