[Android Apps and Games] wecoyote5:
Hi all,

I was hoping for a little advice about an issue I'm seeing with BUPNP. I am running BUPNP on an Ubuntu 16.04 system and have created a Chromecast renderer out of the Google Home assistant to be used with the Samsung apps to announce doors open, alarm is armed, etc. After starting (or restarting) the server this works fine but over time (a matter of hrs) it stops working. I checked the app and it looked like the info was getting to BUPNP so I reviewed the logs in BUPNP and did in fact see that the request was received and processed by BUPNP but did not make it to the Google Home device. Digging a little deeper I came across the only anomaly that shows what happens but I have no idea how to fix it.

NORMAL:

[cling-161 (2010) ] INFO - 21:48:19.317 - b : Family room Home: got mime-type from Content-Type header

[cling-161 (2010) ] INFO - 21:48:19.318 - b : Family room Home: mime-type: audio/mpeg3

[cling-161 (2010) ] INFO - 21:48:19.318 - b : Family room Home: should proxy: false

[cling-161 (2010) ] INFO - 21:48:21.234 - b : Family room Home: play()

[cling-161 (2010) ] INFO - 21:48:21.235 - b : Family room Home: launch receiver...

[CastSocketRead (1888) ] INFO - 21:48:22.559 - b : Family room Home: receiver launched or joined

[CastSocketRead (1888) ] INFO - 21:48:22.559 - b : Family room Home: loading url=<Removed so I can post>$

[CastSocketRead (1888) ] INFO - 21:48:22.673 - b : Family room Home: player state: IDLE

[CastSocketRead (1888) ] INFO - 21:48:22.674 - b : Family room Home: Current state is: STOPPED, changing to new $

[CastSocketRead (1888) ] INFO - 21:48:22.879 - b : Family room Home: player state: BUFFERING

[CastSocketRead (1888) ] INFO - 21:48:22.879 - b : Family room Home: BUFFERING => PLAYING

[CastSocketRead (1888) ] INFO - 21:48:22.880 - b : Family room Home: started get current time task

[CastSocketRead (1888) ] INFO - 21:48:22.880 - b : Family room Home: Current state is: STOPPED, changing to new $

[CastSocketRead (1888) ] INFO - 21:48:22.928 - b : Family room Home: player state: BUFFERING

[CastSocketRead (1888) ] INFO - 21:48:22.929 - b : Family room Home: BUFFERING => PLAYING

[CastSocketRead (1888) ] INFO - 21:48:22.929 - b : Family room Home: ignoring duplicate player state

[CastSocketRead (1888) ] INFO - 21:48:27.245 - b : Family room Home: player state: IDLE

[CastSocketRead (1888) ] INFO - 21:48:27.246 - b : Family room Home: stopped get current time task

ABNORMAL:

[cling-540 (2390) ] INFO - 06:23:30.319 - b : Family room Home: play()

[cling-540 (2390) ] INFO - 06:23:30.320 - b : Family room Home: launch receiver...

[CastSocketRead (1888) ] WARNING - 06:23:30.323 - b$2 : error: java.net.SocketException: Connection reset

[CastSocketRead (1888) ] WARNING - 06:23:30.323 - b : Family room Home: platform error: Connection reset

[CastSocketRead (1888) ] INFO - 06:23:30.323 - b : Family room Home: disconnecting...

[CastSocketRead (1888) ] INFO - 06:23:30.323 - b : closing connection ...

[CastSocketRead (1888) ] INFO - 06:23:30.324 - b : Family room Home: Current state is: STOPPED, changing to new $

[CastSocketRead (1888) ] INFO - 06:23:30.324 - b : Family room Home: disconnected

[CastSocketRead (1888) ] WARNING - 06:23:30.337 - b$3 : connection closed

[CastSocketRead (1888) ] INFO - 06:23:30.339 - c$3 : platform sender: closed

[CastSocketRead (1888) ] INFO - 06:23:30.339 - b$5 : CastSocketRead thread stopped

[cling-549 (2399) ] INFO - 06:24:35.440 - b : Family room Home: stop()

[cling-549 (2399) ] WARNING - 06:24:36.427 - b : Family room Home: setVolume(): ignoring bogus volume value: 1$

[cling-549 (2399) ] INFO - 06:24:38.654 - b : Family room Home: setAVTransportURI: uri=<Removed>$

[cling-549 (2399) ] WARNING - 06:24:38.654 - c : cannot parse DIDLite:

[cling-549 (2399) ] INFO - 06:24:38.739 - b : Family room Home: got mime-type from Content-Type header

[cling-549 (2399) ] INFO - 06:24:38.739 - b : Family room Home: mime-type: audio/mpeg3

[cling-549 (2399) ] INFO - 06:24:38.739 - b : Family room Home: should proxy: false

[cling-549 (2399) ] INFO - 06:24:40.629 - b : Family room Home: play()

[cling-549 (2399) ] INFO - 06:24:40.630 - b : Family room Home: connecting to platform...

[cling-549 (2399) ] INFO - 06:24:40.630 - b : connecting to 192.168.1.232:8009 ...

[cling-549 (2399) ] INFO - 06:24:40.684 - b : connected to 192.168.1.232:8009

[CastSocketRead (2401) ] INFO - 06:24:40.685 - b$5 : CastSocketRead thread started

[cling-549 (2399) ] INFO - 06:24:40.687 - b : Family room Home: platform connected

[cling-549 (2399) ] WARNING - 06:24:40.687 - b : Family room Home: launch receiver already in progress

[cling-554 (2405) ] INFO - 06:29:08.37 - b : Family room Home: stop()

[cling-554 (2405) ] WARNING - 06:29:09.58 - b : Family room Home: setVolume(): ignoring bogus volume value: 1$

[cling-554 (2405) ] INFO - 06:29:11.261 - b : Family room Home: setAVTransportURI: uri=<Removed>.$

[cling-554 (2405) ] WARNING - 06:29:11.261 - c : cannot parse DIDLite:

[cling-554 (2405) ] INFO - 06:29:11.325 - b : Family room Home: got mime-type from Content-Type header

[cling-554 (2405) ] INFO - 06:29:11.325 - b : Family room Home: mime-type: audio/mpeg3

[cling-554 (2405) ] INFO - 06:29:11.326 - b : Family room Home: should proxy: false

[cling-555 (2406) ] INFO - 06:29:13.258 - b : Family room Home: play()

[cling-555 (2406) ] WARNING - 06:29:13.259 - b : Family room Home: launch receiver already in progress

Once the java exception occurs every time the play() function is called the 'launch receiver already in progress' occurs and the messages do not play. It remains this way until the server is restarted and the next java exception occurs.

It repeats pretty much like this until a restart (it just excludes the reconnection)...

[cling-673 (953) ] INFO - 08:02:59.719 - b : Family room Home: mime-type: audio/mpeg3

[cling-673 (953) ] INFO - 08:02:59.719 - b : Family room Home: should proxy: false

[cling-671 (951) ] INFO - 08:03:01.661 - b : Family room Home: play()

[cling-671 (951) ] WARNING - 08:03:01.662 - b : Family room Home: launch receiver already in progress

[cling-674 (954) ] WARNING - 08:05:01.600 - k : Processing stream request failed - <Removed> $

[cling-673 (953) ] INFO - 08:05:55.738 - b : Family room Home: stop()

Any ideas?

Thanks