Error: Could not connect: [111] Connection refused

So, on Friday, I turned on substream viewing for live playback on all 4 cameras. The next time I tried to login, I got the message: Could not connect: [111] Connection refused after logging in. I have already tried restarting the server, and making sure all server updates are installed (via apt). So far, neither option has had any success. I might try unplugging the cameras temporarily.

Update: according to the logs, I’m getting a segfault. I tried ‘systemctl restart bluecherrt.service’, but it segfaults immediately again.

Jul 11 03:01:42 cameras bc-server[548]: I(): Status reports are served at /tmp/bluecherry_status
Jul 11 03:01:42 cameras bc-server[548]: I(): Status reports are served at /tmp/bluecherry_trigger
Jul 11 03:01:42 cameras bc-server[548]: I(): Started bc-server 3.1.0 (toolchain 9.3.0) v2.7.6-552-g67b454d1 heads/master
Jul 11 03:01:42 cameras bc-server[548]: I(): HLS server started listen to port: 7003 (SSL=0)
Jul 11 03:01:42 cameras bc-server[548]: I(): SQL database connection opened
Jul 11 03:01:42 cameras bc-server[548]: I(): Initialized render node /dev/dri/renderD128 for VAAPI hardware acceleration
Jul 11 03:01:42 cameras bc-server[548]: I(): Determined oldest media time: 2021/05/14 02-46-48
Jul 11 03:01:42 cameras bc-server[548]: I(): Initial media cleanup finished: removed(0), archived(0), errors(0), others(42722)
Jul 11 03:01:42 cameras bc-server[548]: I(): v3license server started
Jul 11 03:01:42 cameras bc-server[548]: I(1/Front): Setting up device
Jul 11 03:01:42 cameras bc-server[548]: BUG: Segment violation at 0x0000000000000000
Jul 11 03:01:42 cameras bc-server[548]: Call trace:
Jul 11 03:01:42 cameras bc-server[548]: [0x000056178aeb222b]  @ /usr/sbin/bc-server
Jul 11 03:01:42 cameras bc-server[548]: [0x00007f0b91f8d210]  @ /lib/x86_64-linux-gnu/libc.so.6
Jul 11 03:01:42 cameras bc-server[548]: [0x00007f0b93c0a7d2] _Z14bc_handle_freeP9bc_handle+0x00000000 @ /usr/lib/libbluecherry.so.0
Jul 11 03:01:42 cameras bc-server[548]: [0x00007f0b93c0a9a7] _Z13bc_handle_getPv+0x00000000 @ /usr/lib/libbluecherry.so.0
Jul 11 03:01:42 cameras bc-server[548]: [0x000056178ae9e7ce]  @ /usr/sbin/bc-server
Jul 11 03:01:42 cameras bc-server[548]: [0x000056178ae99cbe]  @ /usr/sbin/bc-server
Jul 11 03:01:42 cameras bc-server[548]: [0x00007f0b91f6e0b3] __libc_start_main+0x00000000 @ /lib/x86_64-linux-gnu/libc.so.6
Jul 11 03:01:42 cameras bc-server[548]: [0x000056178ae9ae5e]  @ /usr/sbin/bc-server

Which distribution / release are you using?

Ubuntu 20.04.2 in an LXC environment.

I’m using Proxmox as the hypervisor, btw.

try this package:

wget http://lizard.bluecherry.net/~curt/releases/focal/bluecherry_3.1.0-rc3_amd64.deb ; sudo dpkg -i bluecherry_3.1.0-rc3_amd64.deb

Thank you, sir! That got the service to stay up, allowing me to realize: I didn’t have a substream URL configured for one of my Cameras, but I told the system to use it for live streaming. D’oh!