Page 1 of 1

UMS init problem

Posted: Sat Nov 03, 2012 11:20 pm
by lacanaupro
Hello everyone,

Since I updated UMS to 2.0.0 version I am facing the issue below every time I start the application. Tried reinstalling 1.6.0 and now facing the same issue also on that version.

Code: Select all

INFO  2012-11-03 12:14:00.677 [main] Starting Universal Media Server 2.0.0
INFO  2012-11-03 12:14:00.679 [main] Based on PS3 Media Server by shagrath, copyright 2008-2012
INFO  2012-11-03 12:14:00.679 [main] http://www.universalmediaserver.com
INFO  2012-11-03 12:14:00.680 [main] 
INFO  2012-11-03 12:14:00.680 [main] Build: 9456e1544 (2012-10-31)
INFO  2012-11-03 12:14:00.681 [main] Java: 1.6.0_37-Apple Inc.
INFO  2012-11-03 12:14:00.681 [main] OS: Mac OS X 64-bit 10.8.2
INFO  2012-11-03 12:14:00.681 [main] Encoding: UTF-8
INFO  2012-11-03 12:14:00.682 [main] Memory: 763 MB
INFO  2012-11-03 12:14:00.682 [main] 
INFO  2012-11-03 12:14:00.683 [main] Working directory: /Applications/Universal Media Server.app/Contents/Resources/Java
INFO  2012-11-03 12:14:00.709 [main] Temp directory: /var/folders/jm/lt1_qbnn49xfdrtl9p_mffm00000gn/T/universalmediaserver
INFO  2012-11-03 12:14:00.710 [main] Logging config file: /Applications/Universal Media Server.app/Contents/Resources/Java/logback.xml
INFO  2012-11-03 12:14:00.711 [main] debug.log: /Applications/Universal Media Server.app/Contents/Resources/Java/debug.log
INFO  2012-11-03 12:14:00.712 [main] 
INFO  2012-11-03 12:14:00.712 [main] Profile directory: /Users/paperboy/Library/Application Support/UMS
INFO  2012-11-03 12:14:00.713 [main] Profile path: /Users/paperboy/Library/Application Support/UMS/UMS.conf
INFO  2012-11-03 12:14:00.713 [main] Profile permissions: no such file
INFO  2012-11-03 12:14:00.714 [main] Profile name: new-host-2.home
INFO  2012-11-03 12:14:00.714 [main] 
INFO  2012-11-03 12:14:00.719 [main] Loading MediaInfo library
INFO  2012-11-03 12:14:00.974 [main] Loaded MediaInfoLib - v0.7.60
INFO  2012-11-03 12:14:00.997 [main] Loading renderer configurations from /Applications/Universal Media Server.app/Contents/Resources/Java/renderers
INFO  2012-11-03 12:14:00.998 [main] Loading configuration file: AirPlayer.conf
INFO  2012-11-03 12:14:01.018 [main] Loading configuration file: Android.conf
INFO  2012-11-03 12:14:01.031 [main] Loading configuration file: Bravia4500.conf
INFO  2012-11-03 12:14:01.041 [main] Loading configuration file: Bravia5500.conf
INFO  2012-11-03 12:14:01.046 [main] Loading configuration file: BraviaEX.conf
INFO  2012-11-03 12:14:01.053 [main] Loading configuration file: DirecTVHR.conf
INFO  2012-11-03 12:14:01.058 [main] Loading configuration file: DLinkDSM510.conf
INFO  2012-11-03 12:14:01.063 [main] Loading configuration file: FreeboxHD.conf
INFO  2012-11-03 12:14:01.067 [main] Loading configuration file: FreecomMusicPal.conf
INFO  2012-11-03 12:14:01.072 [main] Loading configuration file: iPad-iPhone.conf
INFO  2012-11-03 12:14:01.078 [main] Loading configuration file: Kuro.conf
INFO  2012-11-03 12:14:01.083 [main] Loading configuration file: LGST600.conf
INFO  2012-11-03 12:14:01.095 [main] Loading configuration file: N900.conf
INFO  2012-11-03 12:14:01.109 [main] Loading configuration file: OPPOBDP83.conf
INFO  2012-11-03 12:14:01.117 [main] Loading configuration file: OPPOBDP93.conf
INFO  2012-11-03 12:14:01.120 [main] Loading configuration file: Panasonic.conf
INFO  2012-11-03 12:14:01.127 [main] Loading configuration file: Philips.conf
INFO  2012-11-03 12:14:01.135 [main] Loading configuration file: PhilipsPFL.conf
INFO  2012-11-03 12:14:01.144 [main] Loading configuration file: PopcornHour.conf
INFO  2012-11-03 12:14:01.150 [main] Loading configuration file: PS3.conf
INFO  2012-11-03 12:14:01.177 [main] Loading configuration file: Realtek.conf
INFO  2012-11-03 12:14:01.180 [main] Loading configuration file: Samsung-SMT-G7400.conf
INFO  2012-11-03 12:14:01.186 [main] Loading configuration file: SamsungAllShare.conf
INFO  2012-11-03 12:14:01.228 [main] Loading configuration file: SamsungWiseLink.conf
INFO  2012-11-03 12:14:01.231 [main] Loading configuration file: Showtime3.conf
INFO  2012-11-03 12:14:01.238 [main] Loading configuration file: SMP-N100.conf
INFO  2012-11-03 12:14:01.242 [main] Loading configuration file: SonyBluray.conf
INFO  2012-11-03 12:14:01.245 [main] Loading configuration file: SonyBraviaHX800.conf
INFO  2012-11-03 12:14:01.249 [main] Loading configuration file: Streamium.conf
INFO  2012-11-03 12:14:01.251 [main] Loading configuration file: WDTVLive.conf
INFO  2012-11-03 12:14:01.253 [main] Loading configuration file: WMP.conf
INFO  2012-11-03 12:14:01.255 [main] Loading configuration file: XBMC.conf
INFO  2012-11-03 12:14:01.257 [main] Loading configuration file: XBOX360.conf
INFO  2012-11-03 12:14:01.260 [main] Loading configuration file: YamahaRXA1010.conf
INFO  2012-11-03 12:14:01.262 [main] Loading configuration file: YamahaRXV671.conf
INFO  2012-11-03 12:14:01.264 [main] Checking MPlayer font cache. It can take a minute or so.
DEBUG 2012-11-03 12:14:01.264 [main] launching: osx/mplayer
INFO  2012-11-03 12:14:01.603 [main] Done!
INFO  2012-11-03 12:14:01.613 [main] Searching for plugins in /Applications/Universal Media Server.app/Contents/Resources/Java/plugins
INFO  2012-11-03 12:14:01.614 [main] No plugins found
INFO  2012-11-03 12:14:01.629 [main] Registering transcoding engine: FFmpeg Audio
INFO  2012-11-03 12:14:01.634 [main] Registering transcoding engine: MEncoder
INFO  2012-11-03 12:14:01.635 [main] Registering transcoding engine: FFmpeg
INFO  2012-11-03 12:14:01.635 [main] Registering transcoding engine: MPlayer Audio
INFO  2012-11-03 12:14:01.636 [main] Registering transcoding engine: FFmpeg Web Video
INFO  2012-11-03 12:14:01.636 [main] Registering transcoding engine: MEncoder Web
INFO  2012-11-03 12:14:01.637 [main] Registering transcoding engine: MPlayer Video Dump
INFO  2012-11-03 12:14:01.637 [main] Registering transcoding engine: MPlayer Web
INFO  2012-11-03 12:14:01.639 [main] Registering transcoding engine: tsMuxeR
INFO  2012-11-03 12:14:01.639 [main] Registering transcoding engine: Audio High Fidelity
INFO  2012-11-03 12:14:01.640 [main] Registering transcoding engine: VLC Audio Streaming
INFO  2012-11-03 12:14:01.640 [main] Registering transcoding engine: VLC Video Streaming
INFO  2012-11-03 12:14:01.641 [main] Registering transcoding engine: dcraw Thumbnailer
INFO  2012-11-03 12:14:01.738 [main] Using address /192.168.1.7 found on network interface: name:en1 (en1)
INFO  2012-11-03 12:14:01.739 [main] Created socket: /192.168.1.7:5001
DEBUG 2012-11-03 12:14:01.943 [main] Sending ALIVE...
INFO  2012-11-03 12:14:01.977 [main] Generated new UUID based on the MAC address of the network adapter 'en1'
INFO  2012-11-03 12:14:01.987 [main] Configuration saved to: /Users/paperboy/Library/Application Support/UMS/UMS.conf
INFO  2012-11-03 12:14:01.988 [main] Using the following UUID configured in UMS.conf: 867d43c6-2e4e-3181-9bab-8a02ff6755ba
ERROR 2012-11-03 12:14:01.998 [main] A serious error occurred during PMS init
java.io.IOException: Host is down
	at java.net.PlainDatagramSocketImpl.send(Native Method) ~[na:1.6.0_37]
	at java.net.DatagramSocket.send(DatagramSocket.java:625) ~[na:1.6.0_37]
	at net.pms.network.UPNPHelper.sendMessage(UPNPHelper.java:182) ~[ums-2.0.0.jar:na]
	at net.pms.network.UPNPHelper.sendAlive(UPNPHelper.java:116) ~[ums-2.0.0.jar:na]
	at net.pms.PMS.init(PMS.java:546) [ums-2.0.0.jar:na]
	at net.pms.PMS.createInstance(PMS.java:858) [ums-2.0.0.jar:na]
	at net.pms.PMS.main(PMS.java:933) [ums-2.0.0.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_37]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_37]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_37]
	at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_37]
	at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) [na:na]
	at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) [na:na]
	at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) [na:na]
 
Anybody knows how to fix the "java.io.IOException: Host is down" error?

Thanks in advance.

Re: UMS init problem

Posted: Sun Nov 04, 2012 8:28 am
by SubJunk
Hi, well the fact that it's happening with a version it wasn't happening with before suggests it's something outside of UMS causing the problem.
I recommend trying to uninstall and install JRE again, and if that doesn't work look at any firewalls/antivirus programs to create an exception for UMS.

Re: UMS init problem

Posted: Sun Nov 04, 2012 11:06 am
by lacanaupro
Checked fiewall, made exception with Little Snitch. Still same error. Reinstalled JRE. Still same issue. Tried with PMS version and there it´s working fine. Would like to know why UMS 2.0 is causing this issue if possible.

Re: UMS init problem

Posted: Tue Nov 06, 2012 8:31 am
by SubJunk
It's a strange one!
Maybe try uninstalling UMS, deleting the installation directory, then installing again.

Re: UMS init problem

Posted: Wed Nov 07, 2012 12:57 am
by lacanaupro
Already did actually and many times. Deleted app install and also config file in hidden folder: /Users/paperboy/Library/Application Support/UMS/UMS.conf still getting the same error. What is weird is that even if I reinstall old version which was working fine previously I do get the same error too now. Even weirder is that the init on PMS version is basically the same apart from the generated UUID which then connects to the available renderers.

Re: UMS init problem

Posted: Wed Nov 07, 2012 1:02 am
by lacanaupro
In the end I guess I can stick to PMS but it's too bad cause the UMS 2.0.0 looks great and the improvements are awesome. Too bad I can't use it for now.

Re: UMS init problem

Posted: Wed Nov 07, 2012 7:58 am
by SubJunk
Well I'm not giving up just yet :)
I've made some edits to the code so it will give me more debug info and stop crashing at that point, so now I just have to wait for the code to be compiled for OS X because I can't do it myself. I'm requesting glebb, the guy who does our official OS X builds, to help me with this and then I'll post back with a download link

Re: UMS init problem

Posted: Sat Nov 10, 2012 10:21 pm
by lacanaupro
Hey Subjunk, did you receive my PM? Not sure if it was sent correctly :)

Re: UMS init problem

Posted: Wed Nov 14, 2012 8:42 am
by SubJunk
I think I got it, I just got back from a short holiday so I am catching up on UMS stuff now :)