cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Heads-up: using Extensions in ActiveGates that do not use TCP port 9999

AntonioSousa
DynaMight Guru
DynaMight Guru

I have a client that is using an ActiveGate for several extensions. This ActiveGate runs on Windows, and has had several problems with extensions in the past. Despite looking at the logs, the errors would show some strange messages, and I was unable to detect the problem till today, in the past blaming the issue probably on some strange Windows configuration ☹️

I would thank @AliSaeed for raising awareness to the root cause of the problem to me, on one of my own extensions: https://community.dynatrace.com/t5/Extensions/Ping-Every-Second-Extension-Error/td-p/199622

I then associated this with the extensions having problems on this server. Indeed, it seems that a lot of ActiveGate extensions seem to be making the same mistake as my own: hard-wiring the TCP 9999 port into the extension, as it is the usual port on which ActiveGate listens.

If you have changed the 9999 TCP port on ActiveGate, you are probably having problems with this configuration, if you are using ActiveGate extensions. If it's the case, it's probably good to check if this might be the cause...

Antonio Sousa
3 REPLIES 3

Mike_L
Dynatrace Leader
Dynatrace Leader

Extension framework 2.0 resolves this by natively supporting v2 metrics.

Not been able to find problems in v2, but other v1 might.

For the ones I've checked, at least SAP (version 1.151) seems to have 9999 hard-wired.

Antonio Sousa

@Mike_L,

BTW, are you aware of a way that an extension can know on what port the local ActiveGate is running?

Antonio Sousa