Audio FLAC file : Connection error: java.io.IOException: Connection reset by peer
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 6
- Joined: Tue May 19, 2015 7:31 am
Audio FLAC file : Connection error: java.io.IOException: Connection reset by peer
Hi,
I'm using UMS 5.1.3 on Debian 8 with java version "1.8.0_45"
I'm not able to play FLAC audio files on my Cabasse Stream Source, as you can see in log file : Java exception on the way.
Context detail : others audio files, mp3, wav are well played, I was using Mediatomb before with the same files and I haven't any problem playing FLAC files.
Using UMS in headless mode, I'm not very sure on how to provide debug zip package, feel free to ask any information if needed.
(at last remote access should be possible if needed)
debug.log:
DEBUG 17:44:35.849 [main] Mon May 18 17:44:35 CEST 2015
DEBUG 17:44:35.851 [main] Reading cred.path: "/etc/ums/UMS.cred" (default: "")
DEBUG 17:44:36.248 [main] PID: 1822
DEBUG 17:44:36.250 [main]
INFO 17:44:36.251 [main] Starting Universal Media Server 5.1.3
INFO 17:44:36.255 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 17:44:36.256 [main] http://www.universalmediaserver.com
INFO 17:44:36.258 [main]
INFO 17:44:36.259 [main] Build: add0f969f (2015-05-04)
INFO 17:44:36.261 [main] Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_45 64-bit by Oracle Corporation
INFO 17:44:36.262 [main] OS: Linux 64-bit 3.16.0-4-amd64
INFO 17:44:36.263 [main] Encoding: UTF-8
INFO 17:44:36.306 [main] Memory: 683 MB
INFO 17:44:36.307 [main] Language: \"fr\"
INFO 17:44:36.308 [main]
INFO 17:44:36.308 [main] Working directory: /opt/ums-5.1.3
INFO 17:44:36.311 [main] Temp directory: /tmp/universalmediaserver
INFO 17:44:36.313 [main] Logging config file: /opt/ums-5.1.3/logback.headless.xml
INFO 17:44:36.314 [main] debug.log: /var/log/universalmediaserver/root/debug.log
INFO 17:44:36.315 [main]
INFO 17:44:36.316 [main] Profile directory: /etc/ums
INFO 17:44:36.320 [main] Profile directory permissions: rw
INFO 17:44:36.321 [main] Profile path: /etc/ums/UMS.conf
INFO 17:44:36.323 [main] Profile permissions: rw
INFO 17:44:36.324 [main] Profile name: nas.home
INFO 17:44:36.325 [main]
DEBUG 17:44:36.327 [main] Reading web_conf: "/etc/ums/WEB.conf" (previous: null, default: "/etc/ums/WEB.conf")
INFO 17:44:36.327 [main] Web conf path: /etc/ums/WEB.conf
INFO 17:44:36.329 [main] Web conf permissions: rw
INFO 17:44:36.330 [main]
INFO 17:44:36.409 [main] GUI environment not available
INFO 17:44:36.411 [main] Switching to console mode
DEBUG 17:44:36.572 [main] Checking dbgpack property in UMS.conf
DEBUG 17:44:36.615 [main] adding /etc/ums/WEB.conf
DEBUG 17:44:36.615 [main] adding /etc/ums/UMS.conf
DEBUG 17:44:36.616 [main] adding /var/log/universalmediaserver/root/debug.log.prev
DEBUG 17:44:36.617 [main] adding /var/log/universalmediaserver/root/debug.log
INFO 17:44:36.912 [main] Loading MediaInfo library
INFO 17:44:37.071 [main] Loaded MediaInfoLib - v0.7.70
DEBUG 17:44:37.089 [main] Option 'File_TestContinuousFileNames' is set to: 0
DEBUG 17:44:37.091 [main] Option 'ParseSpeed' is set to: 0.000
(...)
TRACE 22:04:20.625 [New I/O worker #7] Opened request handler on socket /192.168.0.32:4551
TRACE 22:04:20.625 [New I/O worker #7] Request: HTTP/1.1 : GET : get/654/%2Fdata%2Fmusique%2FAgoria%2FFabric57%2F02-Silent+State+-+Golden+Day.flac
DEBUG 22:04:20.625 [New I/O worker #7] Matched media renderer "Cabasse" based on address /192.168.0.32
TRACE 22:04:20.625 [New I/O worker #7] Received on socket: User-Agent: Lavf54.6.100
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Accept: */*
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Range: bytes=0-
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Connection: close
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Host: 192.168.0.13:5001
TRACE 22:04:20.626 [New I/O worker #7] HTTP User-Agent: Lavf54.6.100
TRACE 22:04:20.626 [New I/O worker #7] Recognized media renderer: Cabasse
TRACE 22:04:20.626 [New I/O worker #7] HTTP: get/654/%2Fdata%2Fmusique%2FAgoria%2FFabric57%2F02-Silent+State+-+Golden+Day.flac / 0--1
TRACE 22:04:20.626 [New I/O worker #7] Getting player for resource "02-Silent State - Golden Day.flac"
TRACE 22:04:20.626 [New I/O worker #7] Player "FFmpeg" is incompatible
TRACE 22:04:20.626 [New I/O worker #7] Player "MEncoder" is incompatible
TRACE 22:04:20.627 [New I/O worker #7] tsMuxeR cannot determine compatibility based on audio track for /data/musique/Agoria/Fabric57/02-Silent State - Golden Day.flac
TRACE 22:04:20.627 [New I/O worker #7] Player "tsMuxeR" is incompatible
TRACE 22:04:20.627 [New I/O worker #7] Returning compatible player "FFmpeg Audio"
TRACE 22:04:20.627 [New I/O worker #7] Final verdict: "02-Silent State - Golden Day.flac" will be streamed
DEBUG 22:04:20.627 [New I/O worker #7] Switching rendering context to 'Cabasse [null]' from 'Firefox [FFmpeg Audio]'
TRACE 22:04:20.627 [New I/O worker #7] Asked stream chunk : TimeRange [start=null, end=null] of 02-Silent State - Golden Day.flac and player null
TRACE 22:04:20.628 [New I/O worker #7] Sending 19669625 bytes.
DEBUG 22:04:20.628 [New I/O worker #7] Switching rendering context to 'Firefox [FFmpeg Audio]' from 'Cabasse [null]'
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Content-Range: bytes 0-19669624/19669625
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Accept-Ranges: bytes
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Connection: keep-alive
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Server: Linux-amd64-3.16.0-4-amd64, UPnP/1.0, UMS/5.1.3
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Content-Length: 19669625
DEBUG 22:04:20.751 [cling-767] TransportState: TRANSITIONING
DEBUG 22:04:20.751 [cling-767] CurrentTrackURI: http://192.168.0.13:5001/get/654/%2Fdat ... n+Day.flac
DEBUG 22:04:20.751 [cling-767] CurrentTrack: 1
DEBUG 22:04:20.751 [cling-767] CurrentTransportActions: Next,Previous,Stop
DEBUG 22:04:20.751 [cling-767] CurrentTrackMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><upnp:album>Fabric 57: Agoria</upnp:album><upnp:genre>House/Techno</upnp:genre><dc:date>2014-09-02T09:49:08</dc:date><res duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:21.482 [pool-1-thread-5] Received http player control request from /192.168.0.25: /bump/play/uuid:6f80bdc0-bfde-11d3-9ad9-a220d33c421d?uri=%2Fplay%2F654&title=02-Silent%20State%20-%20Golden%20Day
DEBUG 22:04:22.321 [New I/O worker #7] Connection error: java.io.IOException: Connection reset by peer
DEBUG 22:04:22.321 [New I/O worker #7] Premature end, stopping...
DEBUG 22:04:22.388 [cling-766] AVTransportURIMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><res protocolInfo="http-get:*:*:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:22.388 [cling-766] CurrentTrackMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><upnp:album>Fabric 57: Agoria</upnp:album><upnp:genre>House/Techno</upnp:genre><dc:date>2014-09-02T09:49:08</dc:date><res protocolInfo="http-get:*:*:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:22.691 [cling-767] TransportState: STOPPED
DEBUG 22:04:22.691 [cling-767] TransportStatus: ERROR_OCCURRED
DEBUG 22:04:22.691 [cling-767] CurrentTransportActions: Next,Previous,Play
I'm using UMS 5.1.3 on Debian 8 with java version "1.8.0_45"
I'm not able to play FLAC audio files on my Cabasse Stream Source, as you can see in log file : Java exception on the way.
Context detail : others audio files, mp3, wav are well played, I was using Mediatomb before with the same files and I haven't any problem playing FLAC files.
Using UMS in headless mode, I'm not very sure on how to provide debug zip package, feel free to ask any information if needed.

(at last remote access should be possible if needed)
debug.log:
DEBUG 17:44:35.849 [main] Mon May 18 17:44:35 CEST 2015
DEBUG 17:44:35.851 [main] Reading cred.path: "/etc/ums/UMS.cred" (default: "")
DEBUG 17:44:36.248 [main] PID: 1822
DEBUG 17:44:36.250 [main]
INFO 17:44:36.251 [main] Starting Universal Media Server 5.1.3
INFO 17:44:36.255 [main] Based on PS3 Media Server by shagrath, copyright 2008-2014
INFO 17:44:36.256 [main] http://www.universalmediaserver.com
INFO 17:44:36.258 [main]
INFO 17:44:36.259 [main] Build: add0f969f (2015-05-04)
INFO 17:44:36.261 [main] Java: Java HotSpot(TM) 64-Bit Server VM 1.8.0_45 64-bit by Oracle Corporation
INFO 17:44:36.262 [main] OS: Linux 64-bit 3.16.0-4-amd64
INFO 17:44:36.263 [main] Encoding: UTF-8
INFO 17:44:36.306 [main] Memory: 683 MB
INFO 17:44:36.307 [main] Language: \"fr\"
INFO 17:44:36.308 [main]
INFO 17:44:36.308 [main] Working directory: /opt/ums-5.1.3
INFO 17:44:36.311 [main] Temp directory: /tmp/universalmediaserver
INFO 17:44:36.313 [main] Logging config file: /opt/ums-5.1.3/logback.headless.xml
INFO 17:44:36.314 [main] debug.log: /var/log/universalmediaserver/root/debug.log
INFO 17:44:36.315 [main]
INFO 17:44:36.316 [main] Profile directory: /etc/ums
INFO 17:44:36.320 [main] Profile directory permissions: rw
INFO 17:44:36.321 [main] Profile path: /etc/ums/UMS.conf
INFO 17:44:36.323 [main] Profile permissions: rw
INFO 17:44:36.324 [main] Profile name: nas.home
INFO 17:44:36.325 [main]
DEBUG 17:44:36.327 [main] Reading web_conf: "/etc/ums/WEB.conf" (previous: null, default: "/etc/ums/WEB.conf")
INFO 17:44:36.327 [main] Web conf path: /etc/ums/WEB.conf
INFO 17:44:36.329 [main] Web conf permissions: rw
INFO 17:44:36.330 [main]
INFO 17:44:36.409 [main] GUI environment not available
INFO 17:44:36.411 [main] Switching to console mode
DEBUG 17:44:36.572 [main] Checking dbgpack property in UMS.conf
DEBUG 17:44:36.615 [main] adding /etc/ums/WEB.conf
DEBUG 17:44:36.615 [main] adding /etc/ums/UMS.conf
DEBUG 17:44:36.616 [main] adding /var/log/universalmediaserver/root/debug.log.prev
DEBUG 17:44:36.617 [main] adding /var/log/universalmediaserver/root/debug.log
INFO 17:44:36.912 [main] Loading MediaInfo library
INFO 17:44:37.071 [main] Loaded MediaInfoLib - v0.7.70
DEBUG 17:44:37.089 [main] Option 'File_TestContinuousFileNames' is set to: 0
DEBUG 17:44:37.091 [main] Option 'ParseSpeed' is set to: 0.000
(...)
TRACE 22:04:20.625 [New I/O worker #7] Opened request handler on socket /192.168.0.32:4551
TRACE 22:04:20.625 [New I/O worker #7] Request: HTTP/1.1 : GET : get/654/%2Fdata%2Fmusique%2FAgoria%2FFabric57%2F02-Silent+State+-+Golden+Day.flac
DEBUG 22:04:20.625 [New I/O worker #7] Matched media renderer "Cabasse" based on address /192.168.0.32
TRACE 22:04:20.625 [New I/O worker #7] Received on socket: User-Agent: Lavf54.6.100
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Accept: */*
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Range: bytes=0-
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Connection: close
TRACE 22:04:20.626 [New I/O worker #7] Received on socket: Host: 192.168.0.13:5001
TRACE 22:04:20.626 [New I/O worker #7] HTTP User-Agent: Lavf54.6.100
TRACE 22:04:20.626 [New I/O worker #7] Recognized media renderer: Cabasse
TRACE 22:04:20.626 [New I/O worker #7] HTTP: get/654/%2Fdata%2Fmusique%2FAgoria%2FFabric57%2F02-Silent+State+-+Golden+Day.flac / 0--1
TRACE 22:04:20.626 [New I/O worker #7] Getting player for resource "02-Silent State - Golden Day.flac"
TRACE 22:04:20.626 [New I/O worker #7] Player "FFmpeg" is incompatible
TRACE 22:04:20.626 [New I/O worker #7] Player "MEncoder" is incompatible
TRACE 22:04:20.627 [New I/O worker #7] tsMuxeR cannot determine compatibility based on audio track for /data/musique/Agoria/Fabric57/02-Silent State - Golden Day.flac
TRACE 22:04:20.627 [New I/O worker #7] Player "tsMuxeR" is incompatible
TRACE 22:04:20.627 [New I/O worker #7] Returning compatible player "FFmpeg Audio"
TRACE 22:04:20.627 [New I/O worker #7] Final verdict: "02-Silent State - Golden Day.flac" will be streamed
DEBUG 22:04:20.627 [New I/O worker #7] Switching rendering context to 'Cabasse [null]' from 'Firefox [FFmpeg Audio]'
TRACE 22:04:20.627 [New I/O worker #7] Asked stream chunk : TimeRange [start=null, end=null] of 02-Silent State - Golden Day.flac and player null
TRACE 22:04:20.628 [New I/O worker #7] Sending 19669625 bytes.
DEBUG 22:04:20.628 [New I/O worker #7] Switching rendering context to 'Firefox [FFmpeg Audio]' from 'Cabasse [null]'
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Content-Range: bytes 0-19669624/19669625
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Accept-Ranges: bytes
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Connection: keep-alive
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Server: Linux-amd64-3.16.0-4-amd64, UPnP/1.0, UMS/5.1.3
TRACE 22:04:20.630 [New I/O worker #7] Sent to socket: Content-Length: 19669625
DEBUG 22:04:20.751 [cling-767] TransportState: TRANSITIONING
DEBUG 22:04:20.751 [cling-767] CurrentTrackURI: http://192.168.0.13:5001/get/654/%2Fdat ... n+Day.flac
DEBUG 22:04:20.751 [cling-767] CurrentTrack: 1
DEBUG 22:04:20.751 [cling-767] CurrentTransportActions: Next,Previous,Stop
DEBUG 22:04:20.751 [cling-767] CurrentTrackMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><upnp:album>Fabric 57: Agoria</upnp:album><upnp:genre>House/Techno</upnp:genre><dc:date>2014-09-02T09:49:08</dc:date><res duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:21.482 [pool-1-thread-5] Received http player control request from /192.168.0.25: /bump/play/uuid:6f80bdc0-bfde-11d3-9ad9-a220d33c421d?uri=%2Fplay%2F654&title=02-Silent%20State%20-%20Golden%20Day
DEBUG 22:04:22.321 [New I/O worker #7] Connection error: java.io.IOException: Connection reset by peer
DEBUG 22:04:22.321 [New I/O worker #7] Premature end, stopping...
DEBUG 22:04:22.388 [cling-766] AVTransportURIMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><res protocolInfo="http-get:*:*:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:22.388 [cling-766] CurrentTrackMetaData: <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item><dc:title>Silent State / Golden Day (STL vs. Blacmale)</dc:title><dc:creator>Agoria</dc:creator><upnp:album>Fabric 57: Agoria</upnp:album><upnp:genre>House/Techno</upnp:genre><dc:date>2014-09-02T09:49:08</dc:date><res protocolInfo="http-get:*:*:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" duration="00:02:45.000">http://192.168.0.13:5001/get/654/%2Fdat ... /DIDL-Lite>
DEBUG 22:04:22.691 [cling-767] TransportState: STOPPED
DEBUG 22:04:22.691 [cling-767] TransportStatus: ERROR_OCCURRED
DEBUG 22:04:22.691 [cling-767] CurrentTransportActions: Next,Previous,Play