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

Cloud session automatic renewal

Solved560 views21st June 2024cloud connected
8
Catarina Grilo [SLC] [DevOps Enabler]1.53K 11th June 2024 0 Comments

For context: My DMA runs on the cloud and shuts down every day from 7 PM to 7 AM, as well as during the weekends.

The issue: My cloud session's automatic renewal, which occurred during the shutdown period, was unsuccessful. This can be seen in the logs located at 'C:\ProgramData\Skyline Communications\DataMiner CloudGateway\Logs':

"[2024-06-11 11:41:25.264 ERR]Failure during automatic DMS secret refresh: ErrorType_General SLCcaGatewayService.Exceptions.GeneralCcaGatewayException: ErrorType_General The known dmsToken is already expired (6/10/2024 6:06:00 AM +00:00)."

From what I understand, this automatic renewal occurs every 7 days (as noted in Lost Cloud Connection with Invalid Session on DataMiner 10.2 Staging System - DataMiner Dojo).

For how long does the automatic renewal try to establish a connection again? When does it stop and need the manual renewal?

Is there a way to change when the automatic renewal is done? For example, can it be set to every Monday at 10 PM? If so, where can this be configured?

Catarina Grilo [SLC] [DevOps Enabler] Selected answer as best 11th June 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
5
Jordy Ampe [SLC] [DevOps Enabler]1.79K Posted 11th June 2024 6 Comments

Hi,

adding some information:

  • There is currently no way to set a fixed refresh time or window.
  • The refresh token is valid for 7 days.
  • The CloudGateway DxM will try to refresh the token before its expiry. It looks like it calculates how long it has before it expires and takes half, so in this example after 3,5 days. There is also included randomness because only one CloudGateway in the DMS should refresh the tokens (not try all at once).
  • If the CloudGateways/servers are turned down it will recalculate on startup when to refresh and again take half the time it has from now until it expires. Because of all the reboots the refreshing is actually delayed every time, which probably is causing your refresh token to expire while it's turned down.
  • The moment it expires you need to manually renew them

We will look if we can improve on this or if there is a workaround and come back to you.

Wkr

Danielle Falcone [SLC] [DevOps Advocate] Posted new comment 25th June 2024
Catarina Grilo [SLC] [DevOps Enabler] commented 11th June 2024

Thank you for the information Jordy.
I have requested a new feature regarding this: https://community.dataminer.services/new-feature-suggestions/configure-when-automatic-cloud-session-renewal-is-performed/

Dilip Bharadwaj [DevOps Enabler] commented 16th June 2024

Great information

Isabel Arce [DevOps Member] commented 21st June 2024

Hi Jordy,

We have received the following message: “The tokens needed to authenticate your DMS with dataminer.services have expired”

How could we renew the token manually?

Many Thanks.

Jordy Ampe [SLC] [DevOps Enabler] commented 24th June 2024

Hi, you should be able to do this from cube following the documentation “Check the cloud session” here: https://docs.dataminer.services/user-guide/Troubleshooting/Procedures/Cloud_Connection_Issues.html#check-the-cloud-session

Jordy Ampe [SLC] [DevOps Enabler] commented 24th June 2024

In the mean time i can share with you that we are working on improving this automatic renewal flow so you won’t have issues any longer. We will let you know when a new version of the CloudGateway DxM is available with this improvement or you can track the change log here: https://docs.dataminer.services/release-notes/DxMs/cloudgateway_change_log.html

Show 1 more comments
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