XBMC Video Server: stream/download your library contents

  Thread Rating:
  • 8 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bertybassett Offline
Senior Member
Posts: 179
Joined: Jun 2010
Reputation: 4
Post: #616
will try that later
find quote
wjbeckett Offline
Junior Member
Posts: 27
Joined: Aug 2012
Reputation: 0
Post: #617
Hey Negge,
Any reason why the Reverse proxy would be terminating downloads?

I'm running vanilla Ubuntu Server now rather than on an xampp stack.

Reverse proxy works, however the downloads/streams terminate early.
find quote
negge Offline
Team-Kodi Member
Posts: 2,226
Joined: Dec 2010
Reputation: 25
Location: Finland
Post: #618
Some other guy had the same problem, I have to say I don't know why. I've never experienced that myself, though I have a feeling it's a bug in XBMC on some platforms or something. Can you describe your setup a bit?
find quote
wjbeckett Offline
Junior Member
Posts: 27
Joined: Aug 2012
Reputation: 0
Post: #619
Sure,
Main Machine - XBMC Gotham running on Windows 8.1 with Hyper-V

Ubuntu Server 14.04 VM running on the Windows box with SickBeard, CouchPotato and XBMC-Video-Server.
xbmc-video-server is running on port 80, all other web apps are running on 808x so there is nothing on the same port.

ApachevHost file:

<VirtualHost *:80>

ServerName stream.xxxxxx.com

ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/xbmc-video-server


ErrorLog ${APACHE_LOG_DIR}/stream.error.log
CustomLog ${APACHE_LOG_DIR}/stream.access.log combined


<Directory /var/www/html/xbmc-video-server/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>

AllowEncodedSlashes On

<Location /xbmc-vfs>
ProxyPass http://172.30.1.3:8000/vfs
ProxyPassReverse http://172.30.1.3:8000/vfs
RequestHeader set Authorization "Basic eGJtYzp4Ym1j"
</Location>

</VirtualHost>


Browsing to 172.30.1.3:8000/vfs displays a blank page ( as it should).
So I know the reverse proxy is working. However it seems to be stopping the download about 5-6 seconds into it.
(This post was last modified: 2014-08-26 08:59 by wjbeckett.)
find quote
negge Offline
Team-Kodi Member
Posts: 2,226
Joined: Dec 2010
Reputation: 25
Location: Finland
Post: #620
Can you pastebin the Apache access and error logs plus an XBMC debug log when the disconnect happens?
find quote
wjbeckett Offline
Junior Member
Posts: 27
Joined: Aug 2012
Reputation: 0
Post: #621
(2014-08-26 09:37)negge Wrote:  Can you pastebin the Apache access and error logs plus an XBMC debug log when the disconnect happens?

Here's the Access log
http://pastebin.com/sZnGzj1F

Here's the XBMC log
http://pastebin.com/456w7zK2

There's nothing in the error log.

Thanks for you help!
find quote
negge Offline
Team-Kodi Member
Posts: 2,226
Joined: Dec 2010
Reputation: 25
Location: Finland
Post: #622
Can you provide a debug log, the one you posted is a normal one.
find quote
wjbeckett Offline
Junior Member
Posts: 27
Joined: Aug 2012
Reputation: 0
Post: #623
(2014-08-26 16:16)negge Wrote:  Can you provide a debug log, the one you posted is a normal one.

Oops.
Here you go!

http://pastebin.com/456w7zK2

and updated apache.access.log
http://pastebin.com/sZnGzj1F
find quote
negge Offline
Team-Kodi Member
Posts: 2,226
Joined: Dec 2010
Reputation: 25
Location: Finland
Post: #624
Can you successfully download the file if you disable the proxy?
find quote
wjbeckett Offline
Junior Member
Posts: 27
Joined: Aug 2012
Reputation: 0
Post: #625
(2014-08-27 12:24)negge Wrote:  Can you successfully download the file if you disable the proxy?

Yeah,
If the proxy is off its totally fine.
Which is what led me to believe that it was the proxy causing this issue in the first place.

When I was running this on a xampp stack in Windows I managed to get it working by adding the proxy details to the ghost file and not the httpd-proxy.conf file. But obviously Ubuntu is completely different.

So I'm at a bit of a loss here.

If its any more helpful, I can give you login and ssh access to my setup so you can play is you like?
find quote
Post Reply