I'm on Ubuntu Server 12.04.
I can connect to all my other services running on proxies (plex, calibre, headphones, sickbeard, couchpotato, sabnzbd, transmission) but not from a browser to Subsonic. I can, however, connect just fine using my Android and the Subsonic app. You may notice the sendchunked directive in my Apache config. I had to add that due to the incomplete headers being sent to Android devices causing long hangups in loading directories. Also, the times listed in the Apache access.log (error.log is empty by the way) are not accurate since I cut and paste only the relevant parts for the forum.
Has something changed that I'm not aware of? I can't seem to find what I may have missed in configuring my Subsonic installation. Lastly, the only entries in my /var/subsonic/subsonic_sh.log is a bunch of garbage collection stuff. The same log showed a successful binding to http://localhost:4040/subsonic. The xxx.xxx.xxx.xxx is my public ip address and myhostname.com is my public domain name. This server is accessible via the internet.
Listed are my settings and logs:
/usr/share/subsonic/subsonic.sh
- Code: Select all
SUBSONIC_HOME=/var/subsonic
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=0
SUBSONIC_CONTEXT_PATH=/subsonic
SUBSONIC_MAX_MEMORY=150
SUBSONIC_PIDFILE=
SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music
SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/music/Podcast
SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists
/etc/default/subsonic
- Code: Select all
SUBSONIC_ARGS="--host=0.0.0.0 --port=4040 --context-path=/subsonic --max-memory=150"
/etc/apache2/httpd.conf
- Code: Select all
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location /subsonic>
ProxyPass http://localhost:4040/subsonic
ProxyPassReverse http://localhost:4040/subsonic
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/subsonic(.*) http://localhost:4040/subsonic$1 [P]
SetEnv proxy-sendchunked
SetEnv proxy-nokeepalive 0
</IfModule>
</Location>
/var/log/apache2/access.log
- Code: Select all
xxx.xxx.xxx.xxx - - [25/Feb/2014:22:21:58 -0800] "GET /subsonic/index.view HTTP/1.1" 200 983 "http://myhostname.com/subsonic/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:22:21:58 -0800] "GET /subsonic/style/default.css HTTP/1.1" 304 166 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:22:21:58 -0800] "GET /subsonic/nowPlaying.view? HTTP/1.1" 302 365 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:22:21:58 -0800] "GET /subsonic/right.view? HTTP/1.1" 200 2499 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:22:21:58 -0800] "GET /subsonic/playQueue.view? HTTP/1.1" 200 5460 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:21:59:26 -0800] "GET /subsonic/top.view? HTTP/1.1" 502 583 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:21:59:26 -0800] "GET /subsonic/left.view? HTTP/1.1" 502 584 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
xxx.xxx.xxx.xxx - - [25/Feb/2014:21:59:26 -0800] "GET /subsonic/home.view HTTP/1.1" 502 583 "http://myhostname.com/subsonic/index.view" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36"
EDIT
I lied. Here's the errors I'm getting in my Apache error.log:
/var/log/apache2/error.log
- Code: Select all
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/top.view, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/left.view, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:20 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/home.view, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/top.view, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/left.view, referer: http://myhostname.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] (70007)The timeout specified has expired: proxy: error reading status line from remote server localhost:4040, referer: http://fartinginelevators.com/subsonic/index.view
[Tue Feb 25 22:59:35 2014] [error] [client xxx.xxx.xxx.xxx] proxy: Error reading from remote server returned by /subsonic/home.view, referer: http://myhostname.com/subsonic/index.view