SOLVED: Proxy 502 error help.

User avatar
panzer
Posts: 43
Joined: Wed Apr 09, 2014 5:17 pm

SOLVED: Proxy 502 error help.

Postby panzer » Thu Jan 22, 2015 7:28 am

Hi

I get this strange error when trying to access SABnzbd after a reboot

Code: Select all

Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /. Reason: DNS lookup failure for: localhost
To resolve the problem i have to reinstall via the amahi dashboard, but when i reboot i have to reinstall again because of the above error " proxy 502".
Does anyone know what is happening with this ?

Thank you

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Proxy 502 error help.

Postby bigfoot65 » Thu Jan 22, 2015 8:16 am

Uninstalling and reinstalling is not the solution. Are you using the HDA as your DHCP and DNS server?

This could be related to the web browser or something else local to your HDA.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
panzer
Posts: 43
Joined: Wed Apr 09, 2014 5:17 pm

Re: Proxy 502 error help.

Postby panzer » Thu Jan 22, 2015 9:41 am

Hi, yes I am using the HDA as the DHCP and DNS.
If I uninstall and reinstall SAB through the HDA it comes back. Its strange because it works fine just when I reboot it has this issue.

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Proxy 502 error help.

Postby bigfoot65 » Thu Jan 22, 2015 11:21 am

Please check /var/log/amahi-app-installer.log for errors.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
panzer
Posts: 43
Joined: Wed Apr 09, 2014 5:17 pm

Re: Proxy 502 error help.

Postby panzer » Thu Jan 22, 2015 11:44 am

There are no errors in the log file for uninstall or installation.

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Proxy 502 error help.

Postby bigfoot65 » Thu Jan 22, 2015 12:28 pm

Interesting. What about in /var/log/boot.log?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
panzer
Posts: 43
Joined: Wed Apr 09, 2014 5:17 pm

Re: Proxy 502 error help.

Postby panzer » Thu Jan 22, 2015 1:16 pm

No errors in there either ? Strange?

Maybe linked to Apache? I recall this might have started after an update. This link may shed some light ?

https://devcentral.f5.com/questions/502-proxy-error


Some log file from Apache

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jan 22 14:32:19.788813 2015] [auth_digest:notice] [pid 838] AH01757: generating secret for digest authentication ...
[Thu Jan 22 14:32:19.790420 2015] [lbmethod_heartbeat:notice] [pid 838] AH02282: No slotmem from mod_heartmonitor
[Thu Jan 22 14:32:19.825131 2015] [mpm_prefork:notice] [pid 838] AH00163: Apache/2.4.10 (Fedora) PHP/5.5.19 Phusion_Passenger/3.0.21 configured -- resuming normal operations
[Thu Jan 22 14:32:19.825153 2015] [core:notice] [pid 838] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Jan 22 18:34:19.449968 2015] [mpm_prefork:notice] [pid 838] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jan 22 18:35:23.355573 2015] [suexec:notice] [pid 811] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
AH00557: httpd: apr_sockaddr_info_get() failed for tiger
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
[Thu Jan 22 18:35:43.508932 2015]


[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Proxy 502 error help.

Postby bigfoot65 » Thu Jan 22, 2015 2:33 pm

Interesting. Can you access the app via http://sabnzbd:25915? Also there is another option that you could employ. The guidance for it is located in this forum post.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
panzer
Posts: 43
Joined: Wed Apr 09, 2014 5:17 pm

Re: Proxy 502 error help.

Postby panzer » Thu Jan 22, 2015 3:30 pm

Hi the link http://sabnzbd.hda:25915 works.
The default install address http://sabnzbdplus.my domain.com. does not even with port number.


Any ideas?

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Proxy 502 error help.

Postby bigfoot65 » Thu Jan 22, 2015 3:33 pm

Look at the text in /etc/httpd/conf.d/####sabnzbd.conf and post the results.

Also check the domain name on your server:

Code: Select all

hostname hostname -f
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 8 guests