You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonas I <jo...@gmail.com> on 2021/07/22 14:31:04 UTC

[users@httpd] Apache/mod_wsgi request data read error: The timeout specified has expired.

Hello,

I created the attached .xml. It is used to send sensor data to server.
When I create a post request  via https://reqbin.com and have this xml in
the Body it works perfectly.

Now I wanted to do this post request with a microcontroller + WINC1500 wifi
module.
I got the same header as the one i used with reqbin and got the xml into a
string and then send the post request with the arduino and the string as
the body to the server.

This time it didn't work: The error message i got:

15:1:52.889 -> HTTP/1.1 200 OK
15:2:03.306 -> Date: Mon, 19 Jul 2021 13:01:53 GMT
15:2:03.393 -> Server: Apache/2.4.29 (Ubuntu)
15:2:03.459 -> Content-Length: 994
15:2:03.503 -> Vary: Accept-Encoding
15:2:03.554 -> Connection: close
15:2:03.595 -> Content-Type: application/xml; charset=utf-8
15:2:03.694 ->
15:2:03.702 -> <?xml version="1.0" encoding="UTF-8"
standalone="no"?><ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://www.opengis.net/ows/1.1 ../owsExceptionReport.xsd" version="1.0.0"
xml:lang="en">
15:2:04.439 ->  <Exception exceptionCode="NoApplicableCode">
15:2:04.584 ->   <ExceptionText>
15:2:04.639 ->     IOError
15:2:04.674 ->   </ExceptionText>
15:2:04.738 ->   <ExceptionText>
15:2:04.793 ->     Apache/mod_wsgi request data read error: The timeout
specified has expired.
15:2:05.043 ->   </ExceptionText>
15:2:05.106 ->   <ExceptionText>
15:2:05.167 ->     ['Traceback (most recent call last):\n', '  File
"/usr/share/istsos/application_istsoslib.py", line 67, in executeSos\n
req_filter = FF.sosFactoryFilter(environ, sosConfig)\n', '  File
"/usr/share/istsos/istsoslib/filters/factory_filters.py", line 80, in
sosFactoryFilter\n    content =
environ[\'wsgi.input\'].read(request_body_size)\n', 'IOError:
Apache/mod_wsgi request data read error: The timeout specified has
expired.\n']
15:2:06.724 ->   </ExceptionText>
15:2:06.791 ->  </Exception>

I already increased the "RequestReadTimeout body" from the reqtimeout.conf
to 60. (it was 10 before) but i still get this error. Does anyone know how
to fix this?