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

Kubernetes

Solved1.72K views14th July 2023K8S kubernetes
1
Randy Ulvenes [SLC] [DevOps Advocate]999 13th June 2022 0 Comments

I am getting an unauthorized error with with the Kubernetes connector.  I can login to the Kubernetes dashboard using the same IP:Port and token from the web browser on the DMA as I am using for the DataMiner connector.   But I get the following error using both DataMiner connectors versions

1.2.1.1 and 1.2.2.10.

Here is the log file

2022/06/13 03:37:30.543|SLManagedScripting.exe|ManagedInterop|ERR|0|125|QA2|ParseData|Exception: System.Net.WebException: Status: 400|Description: Request|Message : |URI: api/v1/nodes
   at Extensions.Http.AddOrUpdateResponse(SLProtocol protocol, String status, String response, DataType dataType, String message)
   at QAction.Run(SLProtocolExt protocol)
2022/06/13 03:37:30.841|SLManagedScripting.exe|ManagedInterop|ERR|0|125|QA2|ParseData|Exception: System.Net.WebException: Status: 400|Description: Request|Message : |URI: api/v1/namespaces
   at Extensions.Http.AddOrUpdateResponse(SLProtocol protocol, String status, String response, DataType dataType, String message)
   at QAction.Run(SLProtocolExt protocol)

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Baptiste Pattyn [SLC] [DevOps Advocate]5.70K Posted 14th June 2022 0 Comments

When the cluster is back up and running you could test through Postman. If I am correct these are the calls that the protocol is trying to do:

  • GET /api/v1/nodes
  • GET /api/v1/namespaces

You can find the API definition for the Kubernetes API here.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
1
Joey Vanhalst [SLC] [DevOps Advocate]1.80K Posted 13th June 2022 1 Comment

Hi Randy,

A 400 Bad Request means the request cannot be handled by the server, which in this case does not mean there is something wrong with the authorization.

I’m no expert on the Kubernetes integration and this issue could be caused by a lot of things (requests could for example target a different API). Have you verified the requests sent from the element using a standalone tool like Postman for example?

Randy Ulvenes [SLC] [DevOps Advocate] Posted new comment 14th June 2022
Randy Ulvenes [SLC] [DevOps Advocate] commented 14th June 2022

Thanks for the help. The lab had to shut down the kubernetes because of some lab resource issues so I was not able to test further.

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