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

Eventing: Connection Established (Netstat) // Client still reverting to Polling

Solved823 views2nd November 2023.NetRemoting adl2099 eventing polling
0
Alberto De Luca [DevOps Enabler]4.58K 31st October 2023 0 Comments

Hi Dojo,

Are there any "client side" settings that can prevent CUBE from using Eventing even when the related connection is established?

We've got a default connection set-up that works as expected through
.Net-Remoting>Eventing:
when connecting, the client ".4" can almost instantly start receiving element states and severities

We have the same connection settings configured also for another client, same subnet, same destination DMA, however for the ".7", even if the netstat shows that connections are established via ports of the high dynamic range, this other client keeps reverting to polling:

The Windows Defender settings are not accessible to the user - but given that the connection is "established" at the netstat output, what could be still causing the failback to polling?
Any application log that can give a hint in this specific case?
Thanks

Alberto De Luca [DevOps Enabler] Selected answer as best 2nd November 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
6
Bert Buysschaert [SLC] [DevOps Advocate]4.87K Posted 31st October 2023 2 Comments

Hi Alberto,

Filtering the netstat list on port 8004 may not give the full picture. When a client connects to the server using .NET Remoting, an outgoing TCP connection is established from that client to TCP port 8004 on the server. The clientside TCP port will be a randomly assigned port (blue). For the eventing callback channel, the client will start listening on a random TCP port and inform the server of the port number (red, port 63843). The server will then try to establish an outgoing TCP connection to that port, using a random port number on the server side, not 8004.

Incase there is a firewall on the client blocking the incoming callback connection, the client will fall back to polling mode over the outgoing blue connections.

You can better diagnose what is going on by filtering netstat on the process ID of Cube, e.g. netstat -anop tcp | find "16216". This should reveal the listening TCP port, waiting for incoming callback connections from the server, and whether any connection has been established on that port.

(or use Process Explorer like in my first screenshot)

Bert Buysschaert [SLC] [DevOps Advocate] Posted new comment 3rd November 2023
Alberto De Luca [DevOps Enabler] commented 2nd November 2023

Bert, thank you so much! 500 points! ^^

This answer sets a much better picture indeed – from the high level drawing in the documentation, it seemed that only 8004 was used server-side, now I understand a random port will be picked even there: do you happen to know if there’s a defined range for the server-side port in Eventing?

I might be able to whitelist any port from the DMA, but just to be safe.
If it is the dynamic port range selected by Microsoft, am I correct that the range will generally depend on the OS version in use on the server?

Most of the new ones seem to rely on 49152-65535 (IANA recommended)

Bert Buysschaert [SLC] [DevOps Advocate] commented 3rd November 2023

According to https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/tcp-ip-port-exhaustion-troubleshooting it should indeed be [49152;65535].

It also states that you can look up the exact range on a certain computer with the following command:
netsh int ipv4 show dynamicport tcp
Or configure it manually with:
netsh int ipv4 set dynamicport tcp start=49000 num=15000

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

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 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 (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) 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