The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.14-1~deb10u1 (Linux)
File Line Function
/showthread.php 895 errorHandler->error



  • 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Starting pilight on boot: "cannot bind to the SSDP multicast network"
#1
Hi, long time no see!

Currently trying to get pilight working on Debian Buster, but am running into issues with starting pilight on boot.
/var/log/pilight.log shows the following messages at each boot:

Code:
(/home/pilight/source/daemon-dev/daemon.c #3082) [Aug 31 12:09:23:655388] INFO: version v8.1.5
(/home/pilight/source/daemon-dev/daemon.c #3151) [Aug 31 12:09:23:764054] INFO: no pilight daemon found, daemonizing
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #168) [Aug 31 12:09:23:791098] INFO: daemon listening to port: 5000
(/home/pilight/source/daemon-dev/libs/pilight/core/ssdp.c #119) [Aug 31 12:09:23:791324] ERROR: cannot bind to the ssdp multicast network
(/home/pilight/source/daemon-dev/libs/pilight/core/ssdp.c #302) [Aug 31 12:09:23:800321] ERROR: could not determine default network interface
(/home/pilight/source/daemon-dev/libs/pilight/core/socket.c #577) [Aug 31 12:09:23:801049] INFO: new client, ip: 127.0.0.1, port: 53048
(/home/pilight/source/daemon-dev/libs/pilight/core/webserver.c #1889) [Aug 31 12:09:23:820631] INFO: secured webserver started on port: 5002 (fd 18) 

Starting pilight manually after bootup works as expected, this specific node is supposed to clientize to a daemon running elsewhere on the network. But the SSDP discovery during bootup fails.

I've tried a bunch of things that worked when this issue occurred often a few years back, including
  • Checking the allowed runlevel and start-requires in the /etc/init.d/pilight file
  • Adding a sleep 5 to /etc/init.d/pilight
  • Adding lo network config in /etc/network/interfaces
  • Setting "wait for network during boot" to true in the raspi-config tool.
So now I'm out of ideas what to try.

OS:

Code:
Buster 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux

on a raspi 2 (no ipv6 allowed).
 
Reply
  


Messages In This Thread
Starting pilight on boot: "cannot bind to the SSDP multicast network" - by pilino1234 - 08-31-2019, 02:42 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  problem publish to pilight MQTT server Emiks5 5 1,342 03-18-2021, 07:23 PM
Last Post: Emiks5
  Hardware Switch and pilight-send/-control iTommix 3 481 02-14-2021, 09:25 PM
Last Post: iTommix
  pilight error after update to 8.1.5 on Odroid C2 WitchDoctor 4 1,628 02-07-2021, 09:50 PM
Last Post: pilightalpine
  pilight in Docker not accepting connections due to possible SYN flooding akloeckner 3 401 02-07-2021, 04:22 PM
Last Post: akloeckner
  pilight-debug format Rschnauzer 2 419 12-17-2020, 07:09 PM
Last Post: Rschnauzer
  pilight-flash not working danny 14 3,171 12-12-2020, 10:00 AM
Last Post: tox
  pilight does not start, Deamon is not found. Dekkertje 6 697 12-08-2020, 06:55 PM
Last Post: Dekkertje
  Failed pilight-send that say they succeeded hepcat72 2 450 12-05-2020, 05:30 PM
Last Post: hepcat72
  apt.pilight.org/dists/stable/main/binary 301 Moved Permanently Rschnauzer 6 758 11-23-2020, 01:49 PM
Last Post: Rschnauzer
  bridging pilight and mosquitto hansrijn2 5 1,155 10-26-2020, 06:31 PM
Last Post: hansrijn2

Forum Jump:


Browsing: 1 Guest(s)