FAQ  •  Register  •  Login

[In progress] Serviio breaks after latest Java update on Mac

<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Sat Jun 22, 2013 4:37 pm

[In progress] Serviio breaks after latest Java update on Mac

Hi all,
After weeks of near perfect Serviio operation, I am experiencing my WDTV media player stopping play and dropping off line.
I have to back out of "media servers" and open "photos" or "music" then when I go back to "media servers" I can select Serviio and start playing video from the beginning.
I have never experienced abrupt stops of video playing using Serviio on this system.
I have the following, constantly, repeating message in my log. Never seen it before.
I am obviously not an expert. Any help will be appreciated.
Regards

2013-06-22 11:25:35,400 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-22 11:25:40,401 DEBUG [DiscoveryAdvertisementNotifier] Problem during DiscoveryAdvertisementNotifier, will try again
java.net.SocketException: Can't assign requested address
at java.net.PlainDatagramSocketImpl.socketNativeSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:412)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:352)
at java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:536)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForSending(MultiCastUtils.java:56)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAliveToSingleInterface(DiscoveryAdvertisementNotifier.java:169)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAlive(DiscoveryAdvertisementNotifier.java:134)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.run(DiscoveryAdvertisementNotifier.java:94)
at java.lang.Thread.run(Thread.java:680)

UPDATE:
Just tried running a random film while watching the log...

This is what entered the log as the video stopped playing:

2013-06-22 12:32:31,622 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-22 12:32:35,725 DEBUG [AbstractCDSLibraryIndexingListener] Library updated, notifying CDS
2013-06-22 12:32:36,622 DEBUG [DiscoveryAdvertisementNotifier] Problem during DiscoveryAdvertisementNotifier, will try again
java.net.SocketException: Can't assign requested address
at java.net.PlainDatagramSocketImpl.socketNativeSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:412)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:352)
at java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:536)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForSending(MultiCastUtils.java:56)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAliveToSingleInterface(DiscoveryAdvertisementNotifier.java:169)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAlive(DiscoveryAdvertisementNotifier.java:134)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.run(DiscoveryAdvertisementNotifier.java:94)
at java.lang.Thread.run(Thread.java:680)
2013-06-22 12:32:36,622 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again
2013-06-22 12:32:40,267 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:byebye) message from Renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from address /192.168.1.35:1900
2013-06-22 12:32:40,268 DEBUG [RendererManager] Removing renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from list of active renderers
2013-06-22 12:32:40,268 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:byebye) message from Renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from address /192.168.1.35:1900
2013-06-22 12:32:40,292 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:byebye) message from Renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from address /192.168.1.35:1900
2013-06-22 12:32:40,293 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:byebye) message from Renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from address /192.168.1.35:1900
2013-06-22 12:32:40,295 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:alive) message from Renderer 27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1 from address /192.168.1.35:1900
2013-06-22 12:32:40,296 DEBUG [RendererManager] Adding renderer Renderer [uuid=27cbeb5e-0090-a99d-1db2-b4e8ae2e9ce1, ipAddress=192.168.1.35, name=WD TV Live Plus, profileId=14, manuallyAdded=false, forcedProfile=true, enabled=true, accessGroupId=1] to list of active renderers
2013-06-22 12:32:40,299 DEBUG [WebServer] I/O error: Broken pipe
2013-06-22 12:32:41,624 DEBUG [DiscoveryAdvertisementNotifier] Problem during DiscoveryAdvertisementNotifier, will try again
java.net.SocketException: Can't assign requested address
at java.net.PlainDatagramSocketImpl.socketNativeSetOption(Native Method)
at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:412)
at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:352)
at java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:536)
at org.serviio.util.MultiCastUtils.startMultiCastSocketForSending(MultiCastUtils.java:56)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAliveToSingleInterface(DiscoveryAdvertisementNotifier.java:169)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.sendAlive(DiscoveryAdvertisementNotifier.java:134)
at org.serviio.upnp.discovery.DiscoveryAdvertisementNotifier.run(DiscoveryAdvertisementNotifier.java:94)
at java.lang.Thread.run(Thread.java:680)
<<

Biker

Serviio newbie

Posts: 9

Joined: Sun Jun 23, 2013 9:43 am

Post Sun Jun 23, 2013 9:48 am

Re: Could not advertise the device on any available NIC

I'm having the same problem on my mac (osx version 10.8.4). I suspect it is related to the latest java updates from apple.

I continuously get this message in the log

013-06-23 11:46:26,476 WARN [DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again

and serviio never appears on the available sources list on my samsung TV.

Any help is appreciated!

Thanks,
Silla
<<

Biker

Serviio newbie

Posts: 9

Joined: Sun Jun 23, 2013 9:43 am

Post Sun Jun 23, 2013 10:07 am

Re: Could not advertise the device on any available NIC

I forgot to mention that this problem does not happen every time, only once in a while, but when it happpens, I'm unable to find a way to play my media. It happened yesterday but today I can play my media just fine (I tried to reboot everything, but to no avail).

Please find attached a detailed log of the problem.

Thanks again,
Silla
Attachments
debug.log.gz
(19 KiB) Downloaded 448 times
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Mon Jun 24, 2013 3:39 am

Re: Could not advertise the device on any available NIC

I have also recently updated to 10.8.4. I am currently downloading 10.8.5 beta... will report back.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 10:09 am

Re: Could not advertise the device on any available NIC

Maybe Serviio starts before your network is ready?
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Mon Jun 24, 2013 1:27 pm

Re: Could not advertise the device on any available NIC

Hi Petr,

Thanks for the reply.

My network is up 24 hours a day and Serviio has always served video flawlessly.

The only trouble I have ever had was when using the betas of 10.8.3 and plugins failed. Video always worked and so I let it go. The problem was never resolved until the official 10.8.3 was released and all started working again.

This time I have used the 10.8.4 betas with no problem and now, with the official 10.8.4 out, there is consistent failure of Serviio and my WDTV box. I can play any video for only near to 30 minutes and it stops playing. WDTV says there is no connection to the network.

I have posted my log. I have never had that message before. It continuously repeats. I somehow think it is related to the JAVA update, as Biker says. Java update was not applied until after the official 10.8.4 was out. That was when I noticed the problem.

I have started and restarted in multiple combinations, manual and automatic addresses, clearing caches, everything I could think of.

My log always indicates that it sees and is talking to the WDTV box but I still get the "Could not advertise the device on any available NIC" right after.

Last night I updated to 10.8.5 beta and have the same exact problem, no change.

I also notice in the Serviio Console I still have the reddish yellow indicator with the unrecognized device message that started back when I updated to Serviio 1.2. (see attached) Since I was always having perfect video serving I did not worry about it. Now I'm concerned again.

Also, why is there no Mac OS setting in the device dropdown ? Have us Mac users just been lucky that everything has worked up until now ?

I am really concerned now as I have Serviio running on several of my client's networks and they are all Mac users. No complaints as yet as they are all using NAS devices. Those are having a different set of problems but they are being managed for now.

Serviio is currently useless to me in this state. I have never received any messages from fellow Mac users here (except for Biker). I have asked for a confirmation of operation problems I was having several times before to no response so I guess everyone here is using Windows.

This really sucks since the reason I found Serviio was the exact same failure of PLEX. They have the exact same DLNA / WDTV problem over several versions (still happens with the latest version). I called their attention to it many times and so have others. PLEX geniuses have chosen to ignore it as does WD.

I think PLEX prefers their customers use "official" PLEX devices rather than DLNA. I hope that doesn't happen here.

Thanks for any help you can provide. I do not have the knowledge or time to learn and apply the deeper details of how Serviio works to solve my problem.

Regards
Attachments
Serviio screen.jpg
Serviio screen.jpg (164.24 KiB) Viewed 19382 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 2:06 pm

Re: Could not advertise the device on any available NIC

What's your Java version?

try

  Code:
java -version

in Terminal
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Mon Jun 24, 2013 2:10 pm

Re: Could not advertise the device on any available NIC

Thanks,

Here it is>

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
SDK-MP6:~ SDK$
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 2:54 pm

Re: Could not advertise the device on any available NIC

There is now _25 available. You could try that.
<<

Biker

Serviio newbie

Posts: 9

Joined: Sun Jun 23, 2013 9:43 am

Post Mon Jun 24, 2013 5:47 pm

Re: Could not advertise the device on any available NIC

Hello zip,
thanks for your help; I can confirm that the network is up before I start Serviio.
I have the latest version of java from oracle installed (1.7.0_25), but serviio defaults to the apple version (Java 1.6.0_51-Apple Inc.); is there a way to instruct Serviio to use the oracle version?

Best regards,
Silla Rizzoli
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Mon Jun 24, 2013 8:09 pm

Re: Could not advertise the device on any available NIC

I was just about to post & saw Silla's reply. I updated to _25 and still have the same repeating message in the log.
Also noticed the same startup default... Indicating Java 1.6.0_51 is what's loading>

Marker - Jun 24, 2013 10:42:01 AM
2013-06-24 10:42:14,049 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2013-06-24 10:42:14,054 INFO [MediaServer] ------------------------------------------------------------------------
2013-06-24 10:42:14,054 INFO [MediaServer] Serviio DLNA media streaming server v 1.2.1 (rev. a2aa56064460+)
2013-06-24 10:42:14,054 INFO [MediaServer] Petr Nejedly 2009-2013
2013-06-24 10:42:14,054 INFO [MediaServer] http://www.serviio.org
2013-06-24 10:42:14,054 INFO [MediaServer]
2013-06-24 10:42:14,054 INFO [MediaServer] Java 1.6.0_51-Apple Inc.
2013-06-24 10:42:14,055 INFO [MediaServer] OS Mac OS X x86_64 10.8.5
2013-06-24 10:42:14,055 INFO [MediaServer] File encoding: UTF-8
2013-06-24 10:42:14,055 INFO [MediaServer] Headless mode enabled: true
2013-06-24 10:42:14,055 INFO [MediaServer] User: SDK
2013-06-24 10:42:14,055 INFO [MediaServer] User home dir: /Users/SDK
2013-06-24 10:42:14,055 INFO [MediaServer] Temp dir: /var/folders/6x/rsql2l4d50g4gwfh_z1r8gd00000gn/T/
2013-06-24 10:42:14,055 INFO [MediaServer] ------------------------------------------------------------------------

I was testing and had to go out for a short while.
without even playing a film Serviio went off line while I was out.

Regards from Jamaica...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jun 24, 2013 11:23 pm

Re: Could not advertise the device on any available NIC

Biker wrote: is there a way to instruct Serviio to use the oracle version?

No, Java 7 on OSX required completely different packaging of apps, so Serviio only works with 1.6 on OSX - sorry I didn't realize this earlier.

Could you post results of running this program (using Java 1.6 you have installed):

viewtopic.php?f=3&t=3923&hilit=ListNic#p26629
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Tue Jun 25, 2013 2:46 am

Re: Could not advertise the device on any available NIC

This seems to be turning into a hazy, muddy mess.
Up until a few days ago Serviio was working perfectly on my Mac.
Now I read that Serviio has always been working with a very old version of Java that, as far as I can see, is not even on my computer.
How, after working through all of the recent updates with MacOS and Java, can that be ?
I must be missing something....
Can someone give a more detailed explanation that makes sense ?
Something has changed in the Mac OS very recently that has caused Serviio to fail
I want to know what that is and, if Serviio is not going to be upgraded to run with newer software, what I need to change to get it back into operation.
It seems to me that Serviio is falling behind the times and should just be updated. Isn't that what everyone else does ?
All of my other Java based apps are running fine through recent OS updates.
I do all my finances with a java based app. It has never failed but had some odd behavior during a recent upgrade.
It was quickly fixed by the developers.
All of the clients I have installed networks for (and using Macs) are using Serviio on my recommendation.
These recent events make me very sad.
I had sooo much trouble with plugins and due to the developer's hard work it has been like watching cable lately.
Now I can't even get the main app to stay up for 30 minutes.
I appreciate that all is provided free of charge. I, and I'm sure many others, are willing to pay for something that performs just a bit better and get regular updates.
Thanks for all the great operation up to this point. Serviio was the best mediaserver i have used to date.

Regards
<<

Biker

Serviio newbie

Posts: 9

Joined: Sun Jun 23, 2013 9:43 am

Post Tue Jun 25, 2013 5:56 am

Re: Could not advertise the device on any available NIC

Hello zip,
please find below the output you requested.

[ silla@BigZilla ~/Downloads ]
$ /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java ListNic
ip: 192.168.1.128,
name: en1
display name: en1
loopback: false
p2p: false
up: true
virtual: false
multicast: true
------------------------------
ip: 127.0.0.1,
name: lo0
display name: lo0
loopback: true
p2p: false
up: true
virtual: false
multicast: true

Thanks,
Silla Rizzoli
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jun 25, 2013 9:05 am

Re: Could not advertise the device on any available NIC

Thanks.

It looks like Java update for Mac broke this, not only for Serviio: http://www.ps3mediaserver.org/forum/vie ... =7&t=16638

Java 6 is not old, btw, it's being updated simultaneously with Java 7, and I assume the Apple Software updates still take care of it - thus it broke for you recently.

I will see if I can get fix for it for 1.3. Can you guys send me PM and I'll send you a new build to try out when I have something in place.
<<

Biker

Serviio newbie

Posts: 9

Joined: Sun Jun 23, 2013 9:43 am

Post Tue Jun 25, 2013 12:10 pm

Re: Could not advertise the device on any available NIC

Sure zip, I'll gladly test the builds, thanks for your help.

Best regards,
Silla Rizzoli
<<

francob

Serviio newbie

Posts: 12

Joined: Sat Sep 24, 2011 5:32 pm

Post Fri Jun 28, 2013 7:48 pm

Re: Could not advertise the device on any available NIC

Hi, I have this message too and Serviio won't connect with my Bravia.

In log file, looping:

[DiscoveryAdvertisementNotifier] Could not advertise the device on any available NIC, will try again

I have:
java version "1.6.0_51"
Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509)
Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode)

Mac OS X 10.7.5
<<

_SDK_

Streaming enthusiast

Posts: 46

Joined: Sun Dec 23, 2012 6:10 am

Location: NYC, NY

Post Sat Jun 29, 2013 2:25 am

Re: Could not advertise the device on any available NIC

Out of desperation I fired up my TwonkyServer app and through TwonkyManager updated to version 7.2.3-RC1. It has worked perfectly the last few days... go figure.
No Plugins and No Transcoding for .srt subs though :-( I call it a temporary fix.
<<

francob

Serviio newbie

Posts: 12

Joined: Sat Sep 24, 2011 5:32 pm

Post Tue Jul 02, 2013 10:11 am

Re: Could not advertise the device on any available NIC

No solution yet?
<<

Greg Sunny

Serviio newbie

Posts: 11

Joined: Fri Jan 07, 2011 1:47 pm

Post Thu Jul 04, 2013 7:52 am

Re: Could not advertise the device on any available NIC

@zip, same problem for me: I would happily test v1.3 too if you like!
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 149 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.