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

DIS 3.1.6 Connection Issue

Solved531 views13th March 2025DIS Visual Studio
5
David Rid [DevOps Enabler]588 11th March 2025 0 Comments

Hi,

My DIS is not connecting to the Dataminer Agent.

When I use the cloud path in DIS for upload, it works, but the conventional path over the IP address is not working.

I am running Windows 11 version 24H2 with the latest DIS version 3.1.6.

I downgraded the version back to 3.1.2, and it works fine now. This might be an issue for other users as well once they update their system.

------------------------------------

Error message when trying to connect via IP address:

------------------------------------

Error message when trying to publish:

System.ServiceModel.FaultException:
Message="System.ServiceModel.FaultException: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:80
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- 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:\a\DIS\DIS\ProtocolEditor\SLDisDMAComm\SLDisDmaCommService.cs:line 1203
at SLDisDMAComm.SLDisDmaCommService.ConnectToWebApi() in D:\a\DIS\DIS\ProtocolEditor\SLDisDMAComm\SLDisDmaCommService.cs:line 1224
at SLDisDMAComm.SLDisDmaCommService.Connect(String hostname, String username, String password, String accessToken) in D:\a\DIS\DIS\ProtocolEditor\SLDisDMAComm\SLDisDmaCommService.cs:line 219"

------------------------------------

Four days ago, this question was asked. It might be related:
how-to-install-older-version-of-dis-3-1-4

BR,

Amber Rowe [DevOps Advocate] Answered question 13th March 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Seppe Dejonckheere [SLC] [DevOps Advocate]2.21K Posted 11th March 2025 11 Comments

Hi,

The new version of DIS has some new features that make use of some web api endpoints besides the normal connection.

From the stacktrace, it seems that DIS is trying to make an api call to http://127.0.0.1 (localhost), which makes me believe that there is no http (port 80) binding configured in IIS, resulting in the refusal of the connection.

DIS determines the protocol (http or https) from information it receives from DataMiner. If it is expected that http traffic is blocked, it could be that DataMiner is not aware it should be using https, resulting in DIS attempting to use http. Can you verify if you have the https-tag configured in the maintenance.xml file?

Kind regards,

Seppe Dejonckheere [SLC] [DevOps Advocate] Posted new comment 14th March 2025
David Rid [DevOps Enabler] commented 11th March 2025

Hi,
I added the tag to the file, and now the message is showing this:
—————————————
System.ServiceModel.FaultException:
Message="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"

Seppe Dejonckheere [SLC] [DevOps Advocate] commented 11th March 2025

DIS is now correctly trying to connect to the webapi over https, however, it seems like the certificate that is configured in IIS is not trusted. This can have multiple root causes (self-signed, expired, name mismatch, …), so would it be possible to inspect the certificate configured in IIS?

David Rid [DevOps Enabler] commented 11th March 2025

It is probably because we have a self-signed certificate from DataMiner.

Seppe Dejonckheere [SLC] [DevOps Advocate] commented 11th March 2025

That's correct. I would recommend to install a proper certificate issues by a Domain controller or purchased from a Certificate Authority. If that is not possible you can also install the self-signed certificate in the trusted root certificate store.

David Rid [DevOps Enabler] commented 11th March 2025

Thank you for your help. Installing the certificate from the server's IIS on my PC worked.
However, connecting to my customer's agent still doesn't work because the port is not open. I will be running the older DIS system until this is resolved by the customer. It might be a good idea to keep older versions of the DIS system available whenever significant changes like this are made.

BR,

Show 6 more comments
You are viewing 1 out of 2 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 1 Answer | 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