Issue #1108 invalid

timeout on POST

created an issue

Hi, I have a script working in python and php that can post but am trying to use whurl and ios to send a post to my cherrypy api and it's failing with the following error:

File "/usr/lib/python2.6/site-packages/cherrypy/", line 600, in respond
File "/usr/lib/python2.6/site-packages/cherrypy/", line 722, in process_body
File "/usr/lib/python2.6/site-packages/cherrypy/", line 8, in __init__
  cgi.FieldStorage.__init__(self, *args, **kwds)
File "/usr/lib64/python2.6/", line 508, in __init__
  self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib64/python2.6/", line 637, in read_multi
  environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.6/site-packages/cherrypy/", line 8, in __init__
  cgi.FieldStorage.__init__(self, *args, **kwds)
File "/usr/lib64/python2.6/", line 510, in __init__
File "/usr/lib64/python2.6/", line 647, in read_single
File "/usr/lib64/python2.6/", line 669, in read_lines
File "/usr/lib/python2.6/site-packages/cherrypy/", line 31, in read_lines_to_outerboundary
  line = self.fp.readline(1<<16)
File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/", line 206, in readline
  data = self.rfile.readline(size)
File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/", line 868, in readline
  data = self.recv(self._rbufsize)
File "/usr/lib/python2.6/site-packages/cherrypy/wsgiserver/", line 747, in recv
  return self._sock.recv(size)
timeout: timed out

There's really no indication as to what the issue is. We have tried copying all the headers and body from the working script into whurl and still cannot get the script to work. Any help would be greatly appreciated.

Comments (7)

  1. deecodameeko reporter

    We ended up just using posting the script using key/value pairs in the form of a querystring since we never ended up having to upload files.

  2. Log in to comment