nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajesh Biswas" <rajesh.bis...@bridgera.com>
Subject HandleHttpRequest Response Code
Date Fri, 06 Sep 2019 16:26:54 GMT
Hello Bryan,

I am getting HTTP 503 response code from HandleHttpRequest processor, but
the request is getting pushed successfully to the Kafka queue.

Below is the workflow:

 



 

Below is the HTTPRequest Processor's configuration

 



 

 

Below is the HTTP request:

 

curl -X POST \

  http://iotdev.xxxx.com:9691/httpdevice \

  -H 'Content-Type: application/json' \

  -H 'Postman-Token: 70283037-749a-4348-afde-8088898fe23c' \

  -H 'cache-control: no-cache' \

  -d
'{"device_firmware_version":"dth-1.0.1","temp":"114.54","unique_id":"DTH-601
1","battery_level":"39.58","current_unix_time":"1555003001","humidity":"83.0
1,"pressure":"23.69"}'

 

Response:

 

<html>

 

<head>

    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

    <title>Error 503 Service Unavailable</title>

</head>

 

<body>

    <h2>HTTP ERROR 503</h2>

    <p>Problem accessing /httpdevice. Reason:

        <pre>    Service Unavailable</pre>

    </p>

    <hr><a href="http://eclipse.org/jetty">Powered by Jetty://
9.4.3.v20170317</a>

    <hr />

 

</body>

 

</html>

 

 

Thanks and Regards,

Rajesh Biswas | +91 9100023898 |  <http://www.bridgera.com/>
www.bridgera.com

 



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message