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

How to increase the timeout on the UserDefinableApiEndpoint?

Solved935 views1st June 2023timeout UserDefinableApiEndpoint
1
Wannes Wittevrongel [SLC] [DevOps Member]165 1st June 2023 0 Comments

Hi
We are using the UserDefinableApiEndpoint still as a softlaunch option on DataMiner 10.2.6.0-11806.
Now when using Postman the request timeouts after 30s. Is there a setting somewhere to increase this timeout value? We already tried increasing the setting in Postman and IIS.

Wannes Wittevrongel [SLC] [DevOps Member] Selected answer as best 1st June 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.84K Posted 1st June 2023 5 Comments

Hi Wannes,

Increasing the timeout is described on the ‘DataMiner UserDefinableApiEndpoint DxM’ page of the documentation. There is a section here that describes that you’ll need to alter the config of the DxM (MessageBrokerTimeOutSeconds) and also make sure the timeout in IIS is increased as well. You can find it here: https://docs.dataminer.services/user-guide/Advanced_Modules/User%20Defined%20APIs/UD_APIs_UserDefinableApiEndpoint.html#changing-the-timeout

Also make sure to read the general section about changing the DxM configuration, it even contains an example of how the custom settings file looks like with the setting you want to adjust: https://docs.dataminer.services/user-guide/Advanced_Modules/User%20Defined%20APIs/UD_APIs_UserDefinableApiEndpoint.html#configuring-the-dxm

Wannes Wittevrongel [SLC] [DevOps Member] Selected answer as best 1st June 2023
Wannes Wittevrongel [SLC] [DevOps Member] commented 1st June 2023

The problem is that this documentation is based on DataMiner 10.3.6/10.4.0 and DataMiner 10.3.5. We are still using 10.2.6.0 this configuration seems a bit different as we don’t have a %programfiles%Skyline CommunicationsDataMiner UserDefinableApiEndpoint directory on the system.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 1st June 2023

Oh, ok. I misread the version you posted. It is then not the UserDefinableApiEndpoint you are using but the SLAPIEndpoint from the API deployment feature probably? I am not sure whether this supports increasing the timeout. Can you share the response you receive when the request goes in timeout? This could help us pinpoint where it is coming from.

Wannes Wittevrongel [SLC] [DevOps Member] commented 1st June 2023

yes indeed.
This is the response I receive:
Error: did not get a response in time Timeout occurred.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 1st June 2023

That response means that the SLAPIEndpoint did not get a reply back from the script in time. I can see that the default timeout is set to 30s and it is not overridable. You will have to reduce the execution time of the script or upgrade so you can use the new User-Defined APIs feature. Do note that long-running API calls should always be avoided. There is a small section on this in the new documentation as well: https://docs.dataminer.services/user-guide/Advanced_Modules/UserDefinedAPIs/Defining_an_API/UD_APIs_Examples.html#starting-long-running-actions-asynchronously

Wannes Wittevrongel [SLC] [DevOps Member] commented 1st June 2023

Ok thanks for the information.

0
Gerwin van der Kamp [DevOps Enabler]2.92K Posted 1st June 2023 1 Comment

Did you try to change the default script timeout time?

you can change it with: engine.Timeout = TimeSpan.FromMinutes(1); to increase the timeout of the script to 1 minute.

Wannes Wittevrongel [SLC] [DevOps Member] Posted new comment 1st June 2023
Wannes Wittevrongel [SLC] [DevOps Member] commented 1st June 2023

It is not the script itself that goes into timeout. We can still see the script running on DataMiner.

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