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

smart-serial server timing out

Solved1.86K views28th August 2020smart-serial
1
Julio Riambau [SLC] [DevOps Advocate]302 27th August 2020 1 Comment

Hi,

I have the following situation.

A driver acting as server via smart-serial.

If a request is made via postman or curl.

A response with 200 and the json body will be visible on the stream viewer.

On postman a status 200 will be available but it will keep waiting until timeout or until the driver is stopped.

Similar with curl.

Tried to close the connection with a close action but i may be missing something.

Could you please give me some advice in how to implement this feature?

Thanks in advance.

Julio Riambau [SLC] [DevOps Advocate] Selected answer as best 28th August 2020
Julio Riambau [SLC] [DevOps Advocate] commented 28th August 2020

Thank you very much for the feedback.

Thank you @Gelber Mahecha fixing the HTTP structure worked great!!

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Joey Vanhalst [SLC] [DevOps Advocate]1.80K Posted 28th August 2020 0 Comments

If your element needs to act as the server to handle http requests, then I don't think there is any other way than implementing a custom web service in a QAction. I assume you will only have one of these elements running on your DMS?

Implementing a custom web service in a QAction will have some limitations as communication will "bypass" DataMiner so you won't see this in the stream viewer for example. You'll also need to make sure you are closing the service whenever your element is stopped or deleted.

Joey Vanhalst [SLC] [DevOps Advocate] Answered question 28th August 2020
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