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
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Http POST protocol failed to connect to end point – Error : 12002. [ERROR_WINHTTP_TIMEOUT]

Solved724 views25th March 2024http connection http proxy HTTPS 403 post
3
Zhing Hang Lee672 20th March 2024 0 Comments

I am developing a HTTP protocol with a POST request. However, when I run the element, it went into timeout and in the stream viewer and in the logs I see the following error.

STREAM VIEWER

POST https://{{HOST}}/api/2.0/sql/statements
-> 12:40:52 - Error : 12002. [ERROR_WINHTTP_TIMEOUT] -> 12:40:52 - Get for ResponseContent () had error : Error : 12002. [ERROR_WINHTTP_TIMEOUT] -> 12:40:52 - Continuing get for ResponseContent ()

Logs

CProtocol::HandleAnotherTelnetClient|DBG|0|Telnet clients connected Primary = 1, Derived = 0
CProtocol::ProcessSNMPError|CRU|-1|-> 13:19:33 - Get for ConnectionStatus () had error : Error : 12002. [ERROR_WINHTTP_TIMEOUT]
CProtocol::ProcessSNMPError|CRU|-1|-> 13:19:33 - Continuing get for ConnectionStatus ()
CProtocol::HandleAnotherTelnetClient|DBG|0|Telnet clients disconnected
**********

I tried using POSTMAN to try to reach the end point in the DMA where dataminer is hosting and with POSTMAN it works (status 200 OK) after I set the browser settings to use a proxy server.

Here is the url used in POSTMAN: https://{{HOST}}/api/2.0/sql/statements.

May I know why does the element failed to connect to the end point?

I even used the proxyServer attribute in the HTTP session tag in the protocol.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 25th March 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jeroen Neyt [SLC] [DevOps Advocate]2.35K Posted 20th March 2024 1 Comment

I believe this is a follow-up from POST HTTP request protocol no response – element goes into timeout so for sake of being thorough, I'll copy the summary here of what I believe is the root cause of the timeouts.

From your explanation I understood that the requests only work if you configure them to go through the proxy server which is why you have added the proxyServer attribute to the Session tag.

However if you then set the bypassproxy value in the bus address of the connection, you’re overriding that setting again configuring all the requests to be sent straight to the webserver.

The DataMiner docs mention the following:

Bus address: The bus address of the device. This is not always required. If the proxy server has to be bypassed, specify bypassproxy.

If you remove the bypassproxy value from the bus address input field, I believe your requests will stop timing out.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 25th March 2024
Zhing Hang Lee commented 21st March 2024

Hi Jeroen, thank you so much for your reply!

The timeout issue has been fixed, it was indeed due to the bypassproxy value in the bus address.

Very thankful for your answer!

You are viewing 1 out of 1 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