[GH-ISSUE #195] traceback if dns refuses connection #175

Closed
opened 2026-02-26 09:36:19 +03:00 by kerem · 0 comments
Owner

Originally created by @ThomasWaldmann on GitHub (Jan 3, 2015).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/195

Originally assigned to: @ThomasWaldmann on GitHub.

Internal Server Error: /nic/update
Traceback (most recent call last):
File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, _args, *_kwargs)
File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
return handler(request, _args, *_kwargs)
File "/srv/nsupdate.info/repo/nsupdate/utils/log.py", line 124, in caller
return func(_args, *_kwargs)
File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 237, in get
return _update_or_delete(host, ipaddr, secure, logger=logger, _delete=delete)
File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 361, in _update_or_delete
update(fqdn, ipaddr)
File "/srv/nsupdate.info/repo/nsupdate/main/dnstools.py", line 193, in update
update_ns(fqdn, rdtype, ipaddr, action='upd', ttl=ttl)
File "/srv/nsupdate.info/repo/nsupdate/main/dnstools.py", line 320, in update_ns
response = dns.query.tcp(upd, nameserver, timeout=UPDATE_TIMEOUT)
File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/dns/query.py", line 316, in tcp
_net_write(s, tcpmsg, expiration)
File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/dns/query.py", line 260, in _net_write
current += sock.send(data[current:])
error: [Errno 111] Connection refused

Request repr():
<WSGIRequest
path:/nic/update,
GET:<QueryDict: {u'hostname': [u'xxx.nerdpol.ovh'], u'myip': [u'23.45.67.89']}>,

Originally created by @ThomasWaldmann on GitHub (Jan 3, 2015). Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/195 Originally assigned to: @ThomasWaldmann on GitHub. Internal Server Error: /nic/update Traceback (most recent call last): File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response response = wrapped_callback(request, _callback_args, *_callback_kwargs) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view return self.dispatch(request, _args, *_kwargs) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch return handler(request, _args, *_kwargs) File "/srv/nsupdate.info/repo/nsupdate/utils/log.py", line 124, in caller return func(_args, *_kwargs) File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 237, in get return _update_or_delete(host, ipaddr, secure, logger=logger, _delete=delete) File "/srv/nsupdate.info/repo/nsupdate/api/views.py", line 361, in _update_or_delete update(fqdn, ipaddr) File "/srv/nsupdate.info/repo/nsupdate/main/dnstools.py", line 193, in update update_ns(fqdn, rdtype, ipaddr, action='upd', ttl=ttl) File "/srv/nsupdate.info/repo/nsupdate/main/dnstools.py", line 320, in update_ns response = dns.query.tcp(upd, nameserver, timeout=UPDATE_TIMEOUT) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/dns/query.py", line 316, in tcp _net_write(s, tcpmsg, expiration) File "/srv/nsupdate.info/env/local/lib/python2.7/site-packages/dns/query.py", line 260, in _net_write current += sock.send(data[current:]) error: [Errno 111] Connection refused Request repr(): <WSGIRequest path:/nic/update, GET:<QueryDict: {u'hostname': [u'xxx.nerdpol.ovh'], u'myip': [u'23.45.67.89']}>,
kerem 2026-02-26 09:36:19 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsupdate.info-nsupdate-info#175
No description provided.