HTTP 500 error

For help and support with issues specific to Mac OS X
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

HTTP 500 error

Postby Ven » Sun Mar 10, 2013 8:03 pm

Hi there!
I am running OSX 10.8.2, some time ago everything was fine with my PMS (1.7.2) today when I tried to stream after a while, I noticed it is somehow impossible - everytime I try, with EVERY movie (it doesn't matter if it is *mkv or any different format), it ends with 'Media server error. HTTP 500 error has occured'.

I tried running PMS 1.3 or 1.5, but the same story every time.

PS: In the PS3 menu everything looks fine - every file is shown with an icon and full name.

I would love to hear some ideas about solution of this problem, because It's kind of weird that everyting crashed with no reason in a day (without updating OSX or PMS)

Thanks!
Ven
 
Posts: 3
Joined: Sun Mar 10, 2013 7:49 pm

Re: HTTP 500 error

Postby Raptor399 » Mon Mar 11, 2013 10:44 pm

Can you provide more information, e.g. a log excerpt?

FAQ: How can I supply details to help diagnose my problem?
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: HTTP 500 error

Postby Ven » Tue Mar 12, 2013 12:43 pm

Here it is:
Code: Select all
DEBUG 2013-03-12 12:34:55.717 [background-task-0] singleton task restart started
DEBUG 2013-03-12 12:34:55.717 [background-task-0-restart(0)] task started
INFO  2013-03-12 12:34:55.718 [background-task-0-restart(0)] Sending BYEBYE...
INFO  2013-03-12 12:34:58.677 [background-task-0-restart(0)] Stopping server on host 192.168.1.3 and port 5001...
INFO  2013-03-12 12:34:59.693 [background-task-0-restart(0)] Using address /192.168.1.3 found on network interface: name:en0 (en0)
INFO  2013-03-12 12:34:59.694 [background-task-0-restart(0)] Created socket: /192.168.1.3:5001
DEBUG 2013-03-12 12:34:59.695 [background-task-0-restart(0)] Sending ALIVE...
DEBUG 2013-03-12 12:35:04.787 [background-task-0-restart(0)] task ended
INFO  2013-03-12 12:35:05.469 [New I/O server worker #2-4] Checking shared folder: /Users/ksuchocka/Movies
DEBUG 2013-03-12 12:35:14.695 [New I/O server worker #2-16] No encoding detected for /Users/ksuchocka/Movies/TV/House of cards/House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.txt.
DEBUG 2013-03-12 12:35:14.706 [New I/O server worker #2-16] No encoding detected for /Users/ksuchocka/Movies/TV/House of cards/House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.txt.
DEBUG 2013-03-12 12:35:15.115 [New I/O server worker #2-2] Starting "/Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg" -ss 1 -i "/Users/ksuchocka/Movies/TV/House of cards/House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.mkv" -an -an -s 320x180 -vframes 1 -f image2 pipe:
DEBUG 2013-03-12 12:35:15.126 [New I/O server worker #2-2] Attaching thread: ffmpeg-7
DEBUG 2013-03-12 12:35:15.127 [New I/O server worker #2-2] Unix process ID (/Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg): 461
DEBUG 2013-03-12 12:35:15.169 [New I/O server worker #2-2] No encoding detected for /Users/ksuchocka/Movies/TV/House of cards/House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.txt.
DEBUG 2013-03-12 12:35:15.476 [New I/O server worker #2-4] Starting "/Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg" -ss 1 -i "/Users/ksuchocka/Movies/TV/House of cards/House.Of.Cards.2013.S01E06.480p.WEBRip.x264-BTN.mkv" -an -an -s 320x180 -vframes 1 -f image2 pipe:
DEBUG 2013-03-12 12:35:15.487 [New I/O server worker #2-4] Attaching thread: ffmpeg-8
DEBUG 2013-03-12 12:35:15.487 [New I/O server worker #2-4] Unix process ID (/Applications/PS3 Media Server.app/Contents/Resources/Java/osx/ffmpeg): 462
DEBUG 2013-03-12 12:35:17.661 [Buffered IO End Checker] Stopping Unix process 461: ffmpeg-7
INFO  2013-03-12 12:35:17.752 [New I/O server worker #2-16] Starting transcode/remux of House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.mkv
DEBUG 2013-03-12 12:35:17.754 [New I/O server worker #2-16] Caught exception
java.lang.NumberFormatException: For input string: "o"
   at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222) ~[na:1.6.0_43]
   at java.lang.Double.parseDouble(Double.java:510) ~[na:1.6.0_43]
   at net.pms.encoders.MEncoderVideo.getVideoBitrateConfig(MEncoderVideo.java:1155) ~[pms-1.72.0.jar:na]
   at net.pms.encoders.MEncoderVideo.addMaximumBitrateConstraints(MEncoderVideo.java:1165) ~[pms-1.72.0.jar:na]
   at net.pms.encoders.MEncoderVideo.launchTranscode(MEncoderVideo.java:1487) ~[pms-1.72.0.jar:na]
   at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:1697) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestV2.answer(RequestV2.java:327) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:301) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:256) ~[pms-1.72.0.jar:na]
   at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:149) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:527) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:351) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202) ~[netty-3.2.7.Final.jar:na]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_43]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_43]
   at java.lang.Thread.run(Thread.java:680) [na:1.6.0_43]
INFO  2013-03-12 12:35:17.861 [New I/O server worker #2-2] Starting transcode/remux of House.Of.Cards.2013.S01E05.480p.WEBRip.x264-BTN.mkv
DEBUG 2013-03-12 12:35:17.863 [New I/O server worker #2-2] Caught exception
java.lang.NumberFormatException: For input string: "o"
   at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222) ~[na:1.6.0_43]
   at java.lang.Double.parseDouble(Double.java:510) ~[na:1.6.0_43]
   at net.pms.encoders.MEncoderVideo.getVideoBitrateConfig(MEncoderVideo.java:1155) ~[pms-1.72.0.jar:na]
   at net.pms.encoders.MEncoderVideo.addMaximumBitrateConstraints(MEncoderVideo.java:1165) ~[pms-1.72.0.jar:na]
   at net.pms.encoders.MEncoderVideo.launchTranscode(MEncoderVideo.java:1487) ~[pms-1.72.0.jar:na]
   at net.pms.dlna.DLNAResource.getInputStream(DLNAResource.java:1697) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestV2.answer(RequestV2.java:327) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestHandlerV2.writeResponse(RequestHandlerV2.java:301) ~[pms-1.72.0.jar:na]
   at net.pms.network.RequestHandlerV2.messageReceived(RequestHandlerV2.java:256) ~[pms-1.72.0.jar:na]
   at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:149) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:116) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndFireMessageReceived(ReplayingDecoder.java:527) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:506) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:443) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:351) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:282) ~[netty-3.2.7.Final.jar:na]
   at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:202) ~[netty-3.2.7.Final.jar:na]
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [na:1.6.0_43]
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [na:1.6.0_43]
   at java.lang.Thread.run(Thread.java:680) [na:1.6.0_43]
DEBUG 2013-03-12 12:35:18.022 [Buffered IO End Checker] Stopping Unix process 462: ffmpeg-8
DEBUG 2013-03-12 12:35:41.934 [UPNP-AliveMessageSender] Sending ALIVE...
Ven
 
Posts: 3
Joined: Sun Mar 10, 2013 7:49 pm

Re: HTTP 500 error

Postby Raptor399 » Sat Mar 23, 2013 12:15 pm

Ah, that is very useful, thank you.

It appears as if you have a configuration error somewhere: the maximum video bitrate setting contains a letter "o" instead of the number "0".
Raptor399
Project Member
 
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: HTTP 500 error

Postby Ven » Sun Mar 24, 2013 7:05 pm

Thanks a lot! Everything seems to be fine now!
Ven
 
Posts: 3
Joined: Sun Mar 10, 2013 7:49 pm


Return to Mac OS X Support

Who is online

Users browsing this forum: No registered users and 1 guest