Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting internal server error when try to play a file that is on the device #57

Open
dmsherazi opened this issue Apr 12, 2016 · 1 comment

Comments

@dmsherazi
Copy link

I am not able to play any file that is on the device. I get an Internal server error

`E/RendererCommand: Fail to play ! Error: Playing failed (HTTP response was: 500 Internal Server Error)``

here is the log

E/RendererCommand: TrackMetadata : TrackMetadata [id=a-187, title=036-YaSin, artist=Ala'shry Omran, genre=, artURI=res=http://192.168.1.152:8192/a-187.mp3, itemClass=object.item.audioItem]
 E/RendererCommand: Set uri to http://192.168.1.152:8192/a-187.mp3
</DIDL-Lite>
 I/RendererCommand: URI successfully set !
 I/MediaServer: Serve uri : /a-187.mp3
 E/MediaServer: media of id is 187
 E/MediaServer: Ask for audio
 I/MediaServer: Will serve /mnt/sdcard/Download/036.mp3
 W/System.err: java.net.SocketException
 W/System.err:     at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:723)
 W/System.err:     at fi.iki.elonen.NanoHTTPD$1$1.run(NanoHTTPD.java:160)
 W/System.err:     at java.lang.Thread.run(Thread.java:856)
 E/RendererCommand: Fail to play ! Error: Playing failed (HTTP response was: 500 Internal Server Error)
        04-12 14:25:32.244 2122-2146/system_process W/ProcessStats: Skipping unknown process pid 6401
 W/StreamClient: HTTP request failed: (OutgoingActionRequestMessage) POST http://192.168.1.18:49494/upnp/control/rendertransport1
        org.eclipse.jetty.io.EofException: early EOF
        at org.eclipse.jetty.client.AbstractHttpConnection$Handler.earlyEOF(AbstractHttpConnection.java:352)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:323)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.client.AsyncHttpConnection.handle(AsyncHttpConnection.java:135)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
        at java.lang.Thread.run(Thread.java:856)
 W/RendererCommand: Fail to get position info ! Error: Current state of service prevents invoking that action. Connection error or no response received.
 I/StreamServer: HttpServlet.service(): id:  24, request URI: /upnp/dev/00000000-0000-0000-0000-00000000000a/desc
 I/StreamServer: AsyncListener.onComplete(): id:  24, duration:   63, response: HTTP/1.1 200 

If I open the http://192.168.1.152:8192/a-187.mp3 in my browser I get the file.

Please note that my device has no wifi option but has a Rj45 lan jack.
192.168.1.18 is the renderer's IP

@dmsherazi
Copy link
Author

bump!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant