mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #195] traceback if dns refuses connection #175
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#175
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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']}>,