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.

Comments

Sergei Shutov · Sep 7, 2022

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.

0
Robert Cemper  Sep 8, 2022 to Sergei Shutov

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:

0
Phillip Wu  Jan 3, 2024 to Robert Cemper

Hi,

When I try that url:

http://base01:52773//api/atelier/
I get this error message:
The requested URL //api/atelier/ was not found on this server.
Any idea how to fix this?

0
Aaron Tindall  Sep 14, 2022 to Sergei Shutov

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.)

0
Dmitry Maslennikov · Sep 9, 2022

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

0
Aaron Tindall  Sep 14, 2022 to Dmitry Maslennikov

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?

0
Aaron Tindall  Sep 19, 2022 to Dmitry Maslennikov

That works quite well.

0
Dmitry Maslennikov  Sep 19, 2022 to Aaron Tindall

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

0
Dmitry Maslennikov  Sep 19, 2022 to Aaron Tindall

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

0