Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

POST HTTP request protocol no response – element goes into timeout

Solved1.23K views25th March 2024
11
Zhing Hang Lee672 18th March 2024 2 Comments

Hi, I am creating a protocol with HTTP POST request. I followed every instructions provided and looked through a lot of examples but still my protocol does not work.

Here's what I did:

  • created a protocol with type http

  • I specified the port settings

  • Then I start creating the flow until it reaches the session. Timer > Group > Session

  • In my POST session, I am consuming the authorization token as a form of header from a parameter which user can change. The same goes for the SQL statement, warehouseID, wait_timeout and on_wait_timeout information which if I understood correctly will be parse in the body as a form of JSON.
  • Next I have defined paramaters that hold the response status code and content.
  • The paramater content 107 is then linked to a QAction which will perform the data parsing.

Then I create a new element with this protocol and I configure all the details needed. I also specified the IP address of which the url destination I am consuming from.

What I expect is that the call is to be made successful and QAction is being called. But after I set the values nothing is happeing. The QAction is not being executed and status code is not showing the result such as 200ok and now the element goes into timeout immediately.

May I know what is the problem here? I followed every step I know but nothing is working.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 25th March 2024
Robbie Demaegdt [SLC] [DevOps Advocate] commented 18th March 2024

Can you check with streamviewer on the element what the communication looks like.

Zhing Hang Lee commented 19th March 2024

Hi Robbie,

Thank you for the quick response. I have checked the stream viewer as you mentioned and there seems to be a request timeout.

-> 15:28:12 – Error : 12002. [ERROR_WINHTTP_TIMEOUT]
-> 15:28:12 – Get for ResponseContent () had error : Error : 12002. [ERROR_WINHTTP_TIMEOUT]
-> 15:28:12 – Continuing get for ResponseContent ()

Do you know what this means? I used the bypassProxy in the bus address and also specified an IP address in the protocol paramater proxyServer.

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
7
Daniela Prada [SLC] [DevOps Advocate]456 Posted 18th March 2024 3 Comments

Hello,

As Robbie previously mentioned, starting with the StreamViewer is the best approach.

However, based on your description, it appears that the POST request you're constructing may require the body to be formatted as a JSON with a specific format.

Since you're currently using the parameter tag, the body will be constructed as follows:
statement=[VALUE]&warehouse_ID=[VALUE]...

See documentation

If the endpoint does require the body to have a specific JSON format, I recommend instead constructing the body in a QAction and saving it in a parameter.

Afterward, you can link the parameter to the session using the data tag:

<Request verb="POST" url="">
   ...
  <Data pid="[Parameter_ID]"></Data>
...
</Request>

Zhing Hang Lee Posted new comment 20th March 2024
Zhing Hang Lee commented 19th March 2024

Hi Daniela,

Thank you for the quick response. I have checked the stream viewer as you mentioned and there seems to be a request timeout.

-> 15:28:12 – Error : 12002. [ERROR_WINHTTP_TIMEOUT]
-> 15:28:12 – Get for ResponseContent () had error : Error : 12002. [ERROR_WINHTTP_TIMEOUT]
-> 15:28:12 – Continuing get for ResponseContent ()

Do you know what this means? I used the bypassProxy in the bus address and also specified an IP address in the protocol paramater proxyServer.

Also, thank you so much for the suggestion of using the data tag instead of the paramater tag, I will give it a try once the request timeout error is fixed.

Daniela Prada [SLC] [DevOps Advocate] commented 19th March 2024

It seems that Dataminer is not able to reach the endpoint. It could be because of firewall settings, an incorrect port…
Can you check with a third party app if you are able to reach the end point? Postman is a good option in these cases.

Zhing Hang Lee commented 20th March 2024

Using postman I am able to reach the end point but only after I turn on the bypassproxy setting in Google Chrome browser settings. For Dataminer, in logs and streamviewer it shows the client is connected but there is still an issue with getting the ResponseContent() or ConnectionStatus()

You are viewing 1 out of 3 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin