help please

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
dweevil
Posts: 4
Joined: Sun Apr 12, 2015 4:58 am

help please

Post by dweevil »

hi, ive been using ums for a long time with no problems, and just recently im experiencing problems where a movie im watching will stop, with a check your network connection error on the screen. Ive changed no hardware/software have a very high spec pc, and using a wired connection. have checked all i can think of, but this is still happening intermittently. im at my wits end!
dweevil
Posts: 4
Joined: Sun Apr 12, 2015 4:58 am

Re: help please

Post by dweevil »

anybody know what could cause this

DEBUG 22:21:08.458 [New I/O worker #9] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:21:08.458 [New I/O worker #9] Premature end, stopping...
dweevil
Posts: 4
Joined: Sun Apr 12, 2015 4:58 am

Re: help please

Post by dweevil »

bump
TECHNOPUG
Posts: 3
Joined: Mon Oct 28, 2013 9:50 am

Re: help please

Post by TECHNOPUG »

I have exactly the same issue, UMS 5.1.4 Java 8 - running Java 8 Update 45. Will stream for 2 to 10 mins before the same message as the OP.
quick_dry
Posts: 14
Joined: Thu Jan 23, 2014 8:11 pm

Re: help please

Post by quick_dry »

I'm still getting this error with either 5.5.0 or 6.0.0-b2, Java 8 on win2k12

Has anyone found a fix for this?
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: help please

Post by Nadahar »

As long as nobody bothers to post debug files, nobody will fix anything. We have to know what is wrong to be able to fix it.
raupet
Posts: 1
Joined: Sun Apr 10, 2016 8:03 am

Re: help please

Post by raupet »

I'm experiencing the same iusse. It only happens on certain videos, so maybe it has something to do with the format, or the properties of the video?

When I try to load the movie it's stuck at "loading video". The debug in UMS fills up with the repeating step documented below.
Once this error has occured, it seems like UMS has been "broken" and I have to restart the TV/UMS application.

I've tried both .mp4 and .avi versions of the movie, but both get this issue.

Setup info:
My computer streams via wire through the router to the TV, which is also connected to the router by wire.

Notes:
- I've tried a fresh install of UMS v6.2.2
- The other renders are still in the render folder.
- Both movies I've tried share the file location, but they have different names.
- We ran another movie successfully right before we tried to play the one that fails.
- The movie that fails to load, fails every time.

PC:
Win 10 (1511)
Java (version 8 update 77)
Universal Media Server (6.2.2)

TV:
Sony Bravia kd-55x8505c

----------------------------------------------

i've added a render for my TV. This render is based on the Sony-BraviaHX.conf render.
The changes I did to the render are:

From
UserAgentAdditionalHeaderSearch = BRAVIA KDL.+HX
UpnpDetailsSearch = Sony , KDL.+HX

To
UserAgentAdditionalHeaderSearch = BRAVIA KD-55X8505C
# UpnpDetailsSearch = Sony , KD.+HX

------------------------------------------

Logfiles:
DEBUG 2016-04-09 22:19:24.344 [New I/O worker #10] Matched media renderer "KD-55X8505C" based on address /10.0.0.103
DEBUG 2016-04-09 22:19:24.344 [New I/O worker #10] Starting transcode/remux of FILEPATH/MOVIE.avi with media info: container: avi, bitrate: 1769837, size: 576550912, video tracks: 1, audio tracks: 1, video codec: mp4, duration: 00:43:26.00, width: 688, height: 512, frame rate: 25.000, thumb size: 5552, mime type: video/avi, attached fonts: false
Audio track id: 0, lang: und, audio codec: MP3, sample frequency:48000, number of channels: 2, bits per sample: 16
DEBUG 2016-04-09 22:19:24.344 [Thread-120] Error: null
DEBUG 2016-04-09 22:19:24.345 [New I/O worker #10] Creating pipe \\.\pipe\ffmpegvideo_59_1460233164345
DEBUG 2016-04-09 22:19:24.346 [Thread-126] Waiting for pipe connection \\.\pipe\ffmpegvideo_59_1460233164345
DEBUG 2016-04-09 22:19:24.646 [ffmpeg.exe-19] Starting "C:\Program Files (x86)\Universal Media Server\win32\ffmpeg.exe" -y -loglevel fatal -i "FILEPATH/MOVIE.avi" -bufsize 10000000 -maxrate 9000000 -crf 19 -ab 448k -ar 48000 -c:v libx264 -tune zerolatency -preset ultrafast -level 31 -pix_fmt yuv420p -async 1 -fflags +genpts -c:a libmp3lame -ac 2 -b:v 35000k -bufsize 35000k -f matroska \\.\pipe\ffmpegvideo_59_1460233164345
DEBUG 2016-04-09 22:19:24.649 [ffmpeg.exe-19] Reading pipe: \\.\pipe\ffmpegvideo_59_1460233164345
DEBUG 2016-04-09 22:19:24.656 [ffmpeg.exe-19] Attaching thread: ffmpeg.exe-19
DEBUG 2016-04-09 22:19:24.732 [Thread-126] Result of \\.\pipe\ffmpegvideo_59_1460233164345 : true
DEBUG 2016-04-09 22:19:27.405 [New I/O worker #10] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2016-04-09 22:19:27.405 [New I/O worker #10] Premature end, stopping...
DEBUG 2016-04-09 22:19:27.412 [New I/O worker #11] Matched media renderer "KD-55X8505C" based on address /10.0.0.103
DEBUG 2016-04-09 22:19:27.472 [New I/O worker #11] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2016-04-09 22:19:27.472 [New I/O worker #11] Premature end, stopping...
DEBUG 2016-04-09 22:19:27.479 [New I/O worker #12] Matched media renderer "KD-55X8505C" based on address /10.0.0.103
DEBUG 2016-04-09 22:19:27.536 [New I/O worker #12] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2016-04-09 22:19:27.536 [New I/O worker #12] Premature end, stopping...
---The last 3 lines continues to loop---

Hopefully this will give you something to work with. :)
marketwiz
Posts: 2
Joined: Sun Nov 14, 2021 4:22 pm

Re: help please

Post by marketwiz »

As has been previously mentioned, the Java.io.IOException error is causing problems for many users.. .here is the relevant log file data:


DEBUG 2021-11-13 19:56:29.772 [HTTPv2 Request Worker 18] Detected charset "ISO-8859-1" in file "D:\Videos\Free Guy (2021) [1080p] [BluRay] [5.1] [YTS.MX]\Free.Guy.2021.1080p.BluRay.x264.AAC5.1-[YTS.MX].srt"
DEBUG 2021-11-13 19:56:30.250 [HTTPv2 Request Worker 20] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:30.279 [HTTPv2 Request Worker 20] Reading SubtitleHttpHeader: "CaptionInfo.sec" (default: "")
INFO 2021-11-13 19:56:30.280 [StartPlaying Event] Started playing Free.Guy.2021.1080p.BluRay.x264.AAC5.1-[YTS.MX].mp4 on your [TV] DNP735
DEBUG 2021-11-13 19:56:30.280 [StartPlaying Event] The full filename of which is: D:\Videos\Free Guy (2021) [1080p] [BluRay] [5.1] [YTS.MX]\Free.Guy.2021.1080p.BluRay.x264.AAC5.1-[YTS.MX].mp4 and the address of the renderer is: 192.168.1.213
DEBUG 2021-11-13 19:56:30.318 [HTTPv2 Request Worker 21] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:30.376 [HTTPv2 Request Worker 21] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2021-11-13 19:56:30.376 [HTTPv2 Request Worker 21] Premature end, stopping...

DEBUG 2021-11-13 19:56:30.382 [HTTPv2 Request Worker 22] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:32.036 [HTTPv2 Request Worker 23] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:32.039 [HTTPv2 Request Worker 23] Setting bookmark for D:\Videos\Free Guy (2021) [1080p] [BluRay] [5.1] [YTS.MX]\Free.Guy.2021.1080p.BluRay.x264.AAC5.1-[YTS.MX].mp4 => 0
DEBUG 2021-11-13 19:56:41.048 [HTTPv2 Request Worker 22] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2021-11-13 19:56:41.048 [HTTPv2 Request Worker 22] Premature end, stopping...
DEBUG 2021-11-13 19:56:41.055 [HTTPv2 Request Worker 24] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:41.827 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2021-11-13 19:56:42.475 [HTTPv2 Request Worker 24] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 2021-11-13 19:56:42.475 [HTTPv2 Request Worker 24] Premature end, stopping...
DEBUG 2021-11-13 19:56:42.483 [HTTPv2 Request Worker 13] Recognized media renderer "[TV] DNP735"
DEBUG 2021-11-13 19:56:54.273 [cling-15] Volume: 22

DEBUG 2021-11-13 19:57:12.723 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2021-11-13 19:57:43.656 [UPNP-AliveMessageSender] Sending ALIVE...
DEBUG 2021-11-13 19:58:14.716 [UPNP-AliveMessageSender] Sending ALIVE...
User avatar
mik_s
Moderator
Posts: 1115
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: help please

Post by mik_s »

That is not very helpful as many things could cause that. Will need proper logs to be of any help which no-one in this thread has posted. See the section in red above.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Post Reply