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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Error connecting to DMA using DIS.

Solved408 views17th March 2025
0
Vishal Grover69 6th March 2025 2 Comments

I am having issues connecting to DMA using DIS. When i run test using settings its successful however when i actually connect Via DIS its failing with following error.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 17th March 2025
Vishal Grover commented 6th March 2025

2025/03/05 21:38:45.815|Trying to connect to DMA with hostname '10.144.66.197' and username 'CORPGroverV0506'!
2025/03/05 21:38:45.815|Starting new SLDisDmaComm service process
2025/03/05 21:38:45.932|> Process started: PID 48640
2025/03/05 21:38:46.008|> Guid: 57893106-5299-4911-90bd-3ddd82d4e369
2025/03/05 21:38:46.008|> Host: 10.144.66.197
2025/03/05 21:38:46.014|> Starting service
2025/03/05 21:38:46.090|> net.pipe://127.0.0.1/57893106-5299-4911-90bd-3ddd82d4e369/SLDisDmaComm
2025/03/05 21:38:46.104|> Service is started!
2025/03/05 21:38:46.104|SLDisDmaComm service PID: 48640
2025/03/05 21:38:46.105|Connecting to SLDisDmaComm service process
2025/03/05 21:38:46.107|Connected to SLDisDmaComm service process!
2025/03/05 21:38:46.127|> Executing RegisterCallback
2025/03/05 21:38:46.139|> Executing Connect (hostname: 10.144.66.197, username: CORPGroverV0506)
2025/03/05 21:38:46.147|> Parent process: devenv (33984)
2025/03/05 21:38:56.967|> Resolving assembly: SLProtoBufLibrary.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2025/03/05 21:38:56.968|> Trying to load assembly from package: SLProtoBufLibrary.XmlSerializers
2025/03/05 21:38:56.968|> Could not find file in DIS package.
2025/03/05 21:38:56.968|> Trying to load assembly via service: SLProtoBufLibrary.XmlSerializers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=9789b1eac4cb1b12
2025/03/05 21:38:56.968|> Getting path via service…
2025/03/05 21:38:56.986|> Path:
2025/03/05 21:38:56.986|> Could not load assembly 'SLProtoBufLibrary.XmlSerializers'.
2025/03/05 21:39:01.534|> Failed to retrieve connection for WebApi with exception: System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
2025/03/05 21:39:01.534|> at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
2025/03/05 21:39:01.535|> at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
2025/03/05 21:39:01.535|> — End of inner exception stack trace —
2025/03/05 21:39:01.536|> at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
2025/03/05 21:39:01.536|> at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
2025/03/05 21:39:01.536|> — End of inner exception stack trace —
2025/03/05 21:39:01.536|> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025/03/05 21:39:01.536|> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2025/03/05 21:39:01.536|> at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task)
2025/03/05 21:39:01.536|> at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 1203
2025/03/05 21:39:01.536|> Exception during Connect: System.ServiceModel.FaultException: System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
2025/03/05 21:39:01.536|> at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
2025/03/05 21:39:01.536|> at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
2025/03/05 21:39:01.536|> — End of inner exception stack trace —
2025/03/05 21:39:01.536|> at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
2025/03/05 21:39:01.536|> at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
2025/03/05 21:39:01.536|> — End of inner exception stack trace —
2025/03/05 21:39:01.537|> at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
2025/03/05 21:39:01.537|> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2025/03/05 21:39:01.537|> at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task)
2025/03/05 21:39:01.537|> at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 1203
2025/03/05 21:39:01.537|> at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 1224
2025/03/05 21:39:01.537|> at SLDisDMAComm.SLDisDmaCommService.Connect(String hostname, String username, String password, String accessToken) in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 219
2025/03/05 21:39:01.538|> Finished executing Connect (hostname: 10.144.66.197, username: CORPGroverV0506)
2025/03/05 21:39:01.538|> Connection Type: GRPCConnection
2025/03/05 21:39:01.542|Could not connect to DMA! :
System.ServiceModel.FaultException: System.ServiceModel.FaultException: System.Net.Http.HttpRequestException: An error occurred while sending the request. —> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
at System.Net.TlsStream.EndWrite(IAsyncResult asyncResult)
at System.Net.ConnectStream.WriteHeadersCallback(IAsyncResult ar)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
— End of inner exception stack trace —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Nito.AsyncEx.Synchronous.TaskExtensions.WaitAndUnwrapException[TResult](Task`1 task)
at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 1203
at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 1224
at SLDisDMAComm.SLDisDmaCommService.Connect(String hostname, String username, String password, String accessToken) in D:aDISDISProtocolEditorSLDisDMACommSLDisDmaCommService.cs:line 219

Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SLDisDMACommShared.ISLDisDmaCommService.Connect(String hostname, String username, String password, String accessToken)
at SLDisDMACommClient.DmaClient.Connect(Guid id, String hostname, String username, String password, String accessToken) in D:aDISDISProtocolEditorSLDisDMACommClientDmaClient.cs:line 199
2025/03/05 21:39:01.542|Cleaning up SLDisDmaComm resources
2025/03/05 21:39:01.557|>

Vishal Grover commented 6th March 2025

I have another DMA that i am trying to connect to and i am seeing – System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [::1]:80

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Michiel Oda [SLC] [DevOps Enabler]3.58K Posted 6th March 2025 4 Comments

Hi Vishal

With the latest DIS release, connecting to a DataMiner (excluding the Test Connection button) will also connect to the WebApi for new features in DIS. It seems that the WebApi login fails.

I see you are using the IP address, would it be possible to try with the hostname?

Michiel Oda [SLC] [DevOps Enabler] Posted new comment 14th March 2025
Vishal Grover commented 6th March 2025

Same result using host name

Michiel Oda [SLC] [DevOps Enabler] commented 7th March 2025

Hi Vishal
In the meantime another user had a similar issue: https://community.dataminer.services/question/error-on-publishing-script-could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel/

Could you check if the certificate is valid and if the firewall doesn't block anything regarding the DataMiner WebServices?

Vishal Grover commented 8th March 2025

HTTPS is not configured in our case. I want to avoid using https and just use http ? Where can I download older version of DIS for visual studio 2022. Marketplace only has latest and dataminer website has version for studio 2017 and older

Michiel Oda [SLC] [DevOps Enabler] commented 14th March 2025

Hi Vishal
Sorry for taking so long to reply. DIS 3.1.7 has been released and contains a fix to not fail on the Connect anymore.

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

Recent questions

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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