Question
Aaron Tindall · Sep 7, 2022

Querying SuperServer port to get instance version

Is there a way to query a SuperServer port to get the version of IRIS / Caché instance? Ideally, I'd want to do this with a raw socket connection.

0
0 300
Discussion (9)3
Log in or sign up to continue

There are few reasons superserver API is not publicly documented, one of them is to prevent an easy discoverability of outdated instances outside firewalls by hackers. You can use Atelier API with relatively recent Cache/IRIS, which answers on Web server port and has support for authentication and will return version of Cache/IRIS it's running on, for example:

You can also try to ask WRC privately if above option is not suitable for any reason.

just to make your valuable entry visible in browser and email
http://<server-ip>:<smp-port>/api/atelier/
and you get back this nice JSON object:

I follow you, but I can't use the webservices port (I can't know what it is a priori, nor can I guarantee that it is even running or available.)

It's possible to make this tool, if you wish I can do it for you.

That's a kind offer, but I'm not looking to contract out the work.

Are you willing to share whatever your insight is or a reference resource?

The oldest version I found is 2007, I checked on it, works well. If you have a version older, could you say the version?

I think, maybe later I can add more features there, for instance execute classmethod or routine