FAQ  •  Register  •  Login

Cannot coonect to server

<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Tue Apr 24, 2018 9:33 pm

Cannot coonect to server

All of a sudden Serviio is dropping off and I am getting the message "cannot connect to server"; when re-booted Serviio is back up but only for about 10mins, and then the same again.
I haven't had any issues in the years of using Serviio, anyone any ideas?
<<

freaknik

User avatar

DLNA master

Posts: 345

Joined: Thu Mar 27, 2014 2:05 pm

Location: Endor

Post Thu Apr 26, 2018 1:09 am

Re: Cannot coonect to server

idk could be a network change.

check out the log?
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Thu Apr 26, 2018 6:33 pm

Re: Cannot coonect to server

How do I do that, and what am looking for?

It came back yesterday after re-booting, for today nothing
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Apr 26, 2018 8:15 pm

Re: Cannot coonect to server

The log is in the Serviio install location, under the Logs folder. by default, Serviio breaks them into 500kb sizes, so there might be multiple files in that folder.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Fri Apr 27, 2018 6:25 am

Re: Cannot coonect to server

I now have a list of logs that I cannot read, and if I could what would I be looking for, and what would I correct to get Serviio running again.

Which..... can back on last thing last night, and now this morning In get the same message again.

I have tried unistalling and re-installing both Serviio and Java with no affect.
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Apr 27, 2018 3:26 pm

Re: Cannot coonect to server

Please attach the log(s) here so they can be reviewed. If you can help pinpoint a time and/or media name that you were playing, that would be useful. Knowing the date/time helps focus on the part of the log that might have the necessary information.

If these logs don't have enough detail, you may need to enable detailed logging to same more information.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Fri Apr 27, 2018 5:20 pm

Re: Cannot coonect to server

I get an error message when trying to upload the log files, serviio.log.1 up to 5

error message - The extension 1 is not allowed.
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Fri Apr 27, 2018 5:26 pm

Re: Cannot coonect to server

after I r have run the debugger, attached
Attachments
serviio.log
(144.99 KiB) Downloaded 281 times
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Fri Apr 27, 2018 8:02 pm

Re: Cannot coonect to server

Seems that there is something weird with your video files while they are been processed by ffmpeg.

Can you post the output of (run in command shell: Win+R / cmd):
  Code:
"C:\Program Files\Serviio\lib\ffmpeg.exe" –i "J:\Kids Video\Looney Tunes\Looney Tunes Golden Collection Vol 6\Looney Tunes Golden Collection Vol 6 - Disc 1.avi"
?

One question, have you installed some ffmpeg parser script or did you left by default with serviio installation?

Another question, have you added any temporary directory (those ones containing sparse files) of any P2P or torrent software (BitTorrent, Vuze, Azureus, eMule, etc.)?

L.
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 9:05 am

Re: Cannot coonect to server

I wouldn't know what ffmpeg paser script is, I haven't created any temp directory uTorrent created it.

That particular file probably hasn't been accessed in a long time

C:\Users\user>"C:\Program Files\Serviio\lib\ffmpeg.exe" -i "J:\Kids Video\Looney Tunes\Looney Tunes Golden Collection Vol 6\Looney Tunes Golden Collection Vol 6 - Disc 1.avi"
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.9.3 (GCC)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-libass --enable-librtmp --enable-fontconfig --enable-libfreetype --enable-zlib --enable-libx264 --enable-libspeex --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm -lexpat -lfreetype -lfribidi -lz' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --enable-gpl --pkg-config=pkg-config --bindir='/jenkins/workspace/FFmpeg - Win32/target'
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, avi, from 'J:\Kids Video\Looney Tunes\Looney Tunes Golden Collection Vol 6\Looney Tunes Golden Collection Vol 6 - Disc 1.avi':
Duration: 00:00:00.03, start: 0.000000, bitrate: 2307237266 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 720x540 [SAR 1:1 DAR 4:3], 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, s16p, 192 kb/s
At least one output file must be specified
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 9:13 am

Re: Cannot coonect to server

When I had the file in seperatly it plays the file
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Sat Apr 28, 2018 9:30 am

Re: Cannot coonect to server

Seems that this is the matter. uTorrent creates sparse files that crashes ffmpeg.

So, remove the temp dirs from repository configuration (or any that contain these ones), or just create a file named ".nomedia" inside it (as is, with the dot and no extension). That should fix your problem.
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 10:54 am

Re: Cannot coonect to server

There's nothing in the uTorrent folder only an exe file??
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Sat Apr 28, 2018 11:44 am

Re: Cannot coonect to server

Have you the uTorrent dir in your repository config?
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 11:46 am

Re: Cannot coonect to server

:oops: sorry I don't know what that is, you have to use low for me
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Sat Apr 28, 2018 12:01 pm

Re: Cannot coonect to server

No worries!, my english ;)

When you added folders with your files to your shared folders library, you added also some uTorrent dir (or any that contains it) to library?

It seems (as log reflects a ffmpeg crash) that ffmpeg works fine (the test you did at command line) for you; so I wonder about the video file is a "sparsed" one from uTorrent (and you confirm you can play it when it from outside...); so we can suspect these temporary dirs are been "managed" by serviio.

Hope now is clear what I'm trying to check.

.
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 12:15 pm

Re: Cannot coonect to server

I leave the uTorrent directory alone, this wasn't added to the library; the specific file had issues try to play it, but when I used VLC media player it did play, but looks like a bad file.
<<

bolzass

Serviio lover

Posts: 67

Joined: Thu Jan 02, 2014 6:32 pm

Post Sat Apr 28, 2018 12:32 pm

Re: Cannot coonect to server

Ok!, understood :)

So.... sorry!, now I caught from the log that the string that makes the java.lang exception is the bitrate of your video file (your ffmpeg worked fine for it).

Seems that developers should take a look to that. It would be very useful to turn on detailed logging (http://wiki.serviio.org/doku.php?id=detail_logging) and left serviio work till it fails. At that moment (when failed), take all log files generated in the log dir and share them here.

.
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 4:01 pm

Re: Cannot coonect to server

There's a second log called derby.log, also attached
Attachments
derby.log
(729 Bytes) Downloaded 280 times
serviio.log
(168.26 KiB) Downloaded 276 times
<<

Smegsie

Streaming enthusiast

Posts: 46

Joined: Thu Apr 13, 2017 7:41 am

Post Sat Apr 28, 2018 4:12 pm

Re: Cannot coonect to server

:geek:
Attachments
derby.log
(729 Bytes) Downloaded 219 times
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 23 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.