Page 2 of 2

Re: Proxy 502 error help.

Posted: Thu Jan 22, 2015 3:39 pm
by panzer
As requested
<VirtualHost *:80>

ServerName sabnzbdplus
ServerAlias sabnzbdplus.panzer.pw



ProxyPass / http://localhost:25915/sabnzbd/
ProxyPassReverse / http://localhost:25915/sabnzbd/

#Alternate access method: Comment out above 2 lines and uncomment the 3 below

#RewriteEngine On
#RewriteCond %{SERVER_PORT} 80
#RewriteRule (.*) http://%{HTTP_HOST}:25915/sabnzbd/ [R,L]

DocumentRoot /var/hda/web-apps/sabnzbdplus/html

<Directory "/var/hda/web-apps/sabnzbdplus/html">
Options Indexes FollowSymLinks MultiViews
<If "-s '/var/hda/web-apps/sabnzbdplus/htpasswd'">
AuthType Basic
AuthName "User Login Required for This Area"
AuthUserFile /var/hda/web-apps/sabnzbdplus/htpasswd
Require valid-user
</If>
<Else>
AllowOverride AuthConfig
Require all granted
</Else>
</Directory>

ErrorLog /var/hda/web-apps/sabnzbdplus/logs/error_log
CustomLog /var/hda/web-apps/sabnzbdplus/logs/access_log combined env=!dontlog

</VirtualHost>

[ Post made via Android ] Image

Re: Proxy 502 error help.

Posted: Thu Jan 22, 2015 3:44 pm
by bigfoot65
Not sure what could be the issue. Have you done OS updates? Seems like the prox is not working.

Re: Proxy 502 error help.

Posted: Thu Jan 22, 2015 3:58 pm
by panzer
No OS updates.
Not sure why this is happening if I reinstall it will work as normal.

[ Post made via Android ] Image

Re: Proxy 502 error help.

Posted: Thu Jan 22, 2015 4:01 pm
by bigfoot65
You might try installing the OS updates. Not sure if it will help, but will at least ensure you have all the latest security patches.

Re: Proxy 502 error help.

Posted: Fri Jan 23, 2015 5:43 am
by panzer
Hi, I done an update and rebooted. It seems everything has come back to normal? Very strange?

[ Post made via Android ] Image

Re: Proxy 502 error help.

Posted: Fri Jan 23, 2015 6:14 am
by bigfoot65
Good to hear.

Agreed it is strange. My theory is that some packages get installed that have dependencies on other packages with a newer version than currently installed. Often those are picked up automatically, but sometimes the don't get properly linked when the package is built.