From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: HTTPError: HTTP Error 502: Bad Gateway - http://checkip4.dns.lightningwirelabs.com/ Date: Fri, 13 Oct 2017 14:16:22 +0100 Message-ID: <1507900582.19915.2.camel@ipfire.org> In-Reply-To: <542330051.14192.1507879222393@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4278978084161171408==" List-Id: --===============4278978084161171408== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable It's back up. I had some severe server woes yesterday that affected the whole infrastructur= e. In case anything else doesn't work as expected, please let me know. -Michael On Fri, 2017-10-13 at 09:20 +0200, dirk.wagner(a)ipfire.org wrote: > The DDNS-client currently produces a lot of HTTP-errors 502 in the syslog. > Sending request (GET): http://checkip4.dns.lightningwirelabs.com = =20 > = =20 > =20 > Request header: > Pragma: no-cache > User-agent: IPFireDDNSUpdater/010 > Response header (Status Code 502): > date: Fri, 13 Oct 2017 06:20:45 GMT > content-length: 173 > content-type: text/html > connection: close > server: nginx/1.12.1 > Dynamic DNS update for tld.de (Domain-Offensive) throwed an unhandled > exception: > Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/ddns/__init__.py", line 164, in _upd= ate > entry(force=3Dforce) > File "/usr/lib/python2.7/site-packages/ddns/providers.py", line 162, in > __call__ > elif self.has_failure or not self.requires_update: > File "/usr/lib/python2.7/site-packages/ddns/providers.py", line 207, in > requires_update > if self.ip_address_changed(self.protocols): > File "/usr/lib/python2.7/site-packages/ddns/providers.py", line 284, in > ip_address_changed > current_address =3D self.get_address(proto) > File "/usr/lib/python2.7/site-packages/ddns/providers.py", line 343, in > get_address > return self.core.system.get_address(proto) or default > File "/usr/lib/python2.7/site-packages/ddns/system.py", line 283, in > get_address > self._get_address(proto) > File "/usr/lib/python2.7/site-packages/ddns/system.py", line 311, in > _get_address > local_ip_address =3D self.guess_external_ip_address(proto) > File "/usr/lib/python2.7/site-packages/ddns/system.py", line 121, in > guess_external_ip_address > return self._guess_external_ip_address(url, **kwargs) > File "/usr/lib/python2.7/site-packages/ddns/system.py", line 98, in > _guess_external_ip_address > response =3D self.send_request(url, timeout=3Dtimeout) > File "/usr/lib/python2.7/site-packages/ddns/system.py", line 170, in > send_request > resp =3D urllib2.urlopen(req, timeout=3Dtimeout) > File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen > File "/usr/lib/python2.7/urllib2.py", line 435, in open =20 > HTTPError: HTTP Error 502: Bad > Gateway = =20 > = =20 > File "/usr/lib/python2.7/urllib2.py", line 548, in > http_response = =20 > = =20 > File "/usr/lib/python2.7/urllib2.py", line 473, in > error = =20 > = =20 > File "/usr/lib/python2.7/urllib2.py", line 407, in > _call_chain = =20 > = =20 > File "/usr/lib/python2.7/urllib2.py", line 556, in > http_error_default = =20 > = =20 > HTTPError: HTTP Error 502: Bad Gateway =20 --===============4278978084161171408== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxuZ3ZLY0FDZ2tRZ0hudy8yK1EKQ1FlbFpnLytJaUdkaENxdStJ c0hwdFZUeC9wQVhOUXJEc0kvR1phUm1vR2FMS1RVRkFFdlFVT1hnbWUxcEtPRgpxeDluanRjZlky RzU2OTlTWnVSMGU0TnFwNHNXdmNnTFA4Ykw0OTUrS3BuRHZYWkxFOFlNenNsd0RzSzl4T1QwCkxK ZGkyWnF5Y2NFL2lMdndCWmlsT3p2MGNnYy9HOE5oTDhQK2RBZWFFSW05MlhBTnhsdzVFcllVbnlu WHpwUmEKdzUyUFlvSkpOMHVWVjU1Y0w2MW5EVFpzYkd0V3crcDdRVGVJb0ovZ2k0clRaeDVEQ2ky YnRDMUVsVk1QQkN6MgpVeGZ4YUNOeGg1ZX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