/home/ash/.virtualenvs/lite/local/lib/python2.7/site-packages/opensrs/opensrsapi.py in suggest_domains(self, search_string, tlds, maximum, max_wait_time, search_key)
470 max_wait_time=None, search_key=None):
471 rsp = self._name_suggest_domain(search_string, tlds, maximum,
--> 472 max_wait_time, search_key)
473 data = rsp.get_data()
474 domains = {}
/home/ash/.virtualenvs/lite/local/lib/python2.7/site-packages/opensrs/opensrsapi.py in _name_suggest_domain(self, search_string, tlds, maximum, max_wait_time, search_key)
253 return self._req(action='NAME_SUGGEST',
254 object='DOMAIN',
--> 255 attributes=attributes)
256
257 def _process_pending(self, order_id, cancel=False):
/home/ash/.virtualenvs/lite/local/lib/python2.7/site-packages/opensrs/opensrsapi.py in _req(self, action, object, attributes, **kw)
133 def _req(self, action, object, attributes, **kw):
134 msg = XCPMessage(action, object, attributes, **kw)
--> 135 return self._get_channel().make_request(msg)
136
137 def make_contact(self, user, domain, **kw):
/home/ash/.virtualenvs/lite/local/lib/python2.7/site-packages/opensrs/xcp.py in make_request(self, message)
154 def make_request(self, message):
155 log.debug('OpenSRS Request: %s' % repr(message.get_content()))
--> 156 response = self._make_call(message)
157 log.debug('OpenSRS Response: %s' % repr(response.message_xml))
158 if response.get_data()['is_success'] == '0':
/home/ash/.virtualenvs/lite/local/lib/python2.7/site-packages/opensrs/xcp.py in _make_call(self, message)
140 request = Request('https://%s:%s/' % (self.host, self.port))
141 import ipdb; ipdb.set_trace()
--> 142 headers = {
143 'Content-Type': 'text/xml',
144 'X-Username': self.username,
/usr/lib/python2.7/socket.pyc in read(self, size)
349 while True:
350 try:
--> 351 data = self._sock.recv(rbufsize)
352 except error, e:
353 if e.args[0] == EINTR:
/usr/lib/python2.7/httplib.pyc in read(self, amt)
600 # connection, and the user is reading more bytes than will be provided
601 # (for example, reading in 1k chunks)
--> 602 s = self.fp.read(amt)
603 if not s and amt:
604 # Ideally, we would raise IncompleteRead if the content-length
/usr/lib/python2.7/httplib.pyc in read(self, amt)
1355 return s + self._file.read()
1356 else:
-> 1357 return s + self._file.read(amt - len(s))
1358 else:
1359 assert amt <= self._line_left
/usr/lib/python2.7/socket.pyc in read(self, size)
378 # fragmentation issues on many platforms.
379 try:
--> 380 data = self._sock.recv(left)
381 except error, e:
382 if e.args[0] == EINTR:
/usr/lib/python2.7/ssl.pyc in recv(self, buflen, flags)
339 "non-zero flags not allowed in calls to recv() on %s" %
340 self.__class__)
--> 341 return self.read(buflen)
342 else:
343 return self._sock.recv(buflen, flags)
/usr/lib/python2.7/ssl.pyc in read(self, len)
258
259 try:
--> 260 return self._sslobj.read(len)
261 except SSLError, x:
262 if x.args[0] == SSL_ERROR_EOF and self.suppress_ragged_eofs:
error: [Errno 104] Connection reset by