go to post Alexander Koblov · Nov 11 Hi David. Take a look in the %Net.SMTP:GetResponse method. There is a commented out "#define SMTPTRACE" macro. Uncomment it, recompile %Net.SMTP Reproduce the error, then check ^SmtpTrace global Hopefully it should have some details on the interaction with the SMTP server. Do this on the TEST instance, as each %Net.SMTP:Send clears out the debug global.
go to post Alexander Koblov · Nov 1 Enable Audit and LoginFailure event in the Audit, reproduce the error and check the Audit Events. Hopefully you'll have LoginFailure there. Click on Details -- you should see the reason for Access denied
go to post Alexander Koblov · Nov 1 expandAll does not invoke any callback methods. It shows only the nodes that are defined currently for the tree See for example sample page csp/samples/ZENTest.DynaTreeTest.cls Execute zenPage.getComponentById( "tree").expandAll(true); from the Developer console. Note, that no nodes are expanded. Now click on the Vegetable -> Fruit, then collapse them and call zenPage.getComponentById( "tree").expandAll(true); again. Now these nodes are shown. However, children for Animal and Mineral are still not shown, because they are not populated yet
go to post Alexander Koblov · Oct 31 iris_phys_mem_percent_used in IRIS is (total - free - buff/cache) * 100 / total Zabbix provides different memory metrics [0]. If it's "Used" then it's just (total - free) without accounting for buff/cache. That' why you might see the difference https://www.zabbix.com/documentation/current/en/manual/appendix/items/vm...
go to post Alexander Koblov · Oct 30 The same advice applies. See what resource the browser fails to load. What's their HTTP status. Is there anything in the response body? Check apache's error.log. It's in \httpd\logs
go to post Alexander Koblov · Oct 25 I wonder if a workaround could be to define Session Events class for /csp/sys and set the language there
go to post Alexander Koblov · Oct 25 In Audit -> Configure System events in the Portal https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Oct 25 HI Colin. Enable Audit, LoginFailure and Protect events. Reproduce the error and see if anything is Logged in the Audit See the Important note in this section of the documentation: https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Oct 25 Usually the Management Portal looks like this, when the browser cannot load static files. Open Web Developer tools, Network tab, refresh the page and see what resource the browser fails to load. Check apache's error.log
go to post Alexander Koblov · Oct 24 See though "Event Class" in the web-application definition. That's subclass of %CSP.SessionEvents. You can create such class, override OnStartRequest. And put some logic there
go to post Alexander Koblov · Oct 24 "Should the developer of the REST.API service call this method everytime" Yes! "there is a way to understand whether the Audit is on for the particular REST.API service? " See if there are User audit events defined in the system that look like the ones that responsible for this REST service. If no -- then likely there are no audit events
go to post Alexander Koblov · Oct 24 Audit does not happen automatically. For some record to appear in the Audit log you need to call the following method: Do $SYSTEM.Security.Audit(EventSource,EventType,Event,EventData,Description) So in order for the REST-calls of the REST API to be audited you need to add the call above in the REST API EventSource in this case is anything you specify when calling the Audit() method. Later, in the Audit Database UI you can filter by this EventSource https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Aug 27 IRISReference works fine when a method returns one scalar value in the output variable. %SYS.Namespace:ListAll however populates a multidimensional array in the output. And they are not supported on the .NET side. You need to write some wrapper in the ObjectScript to conver this output array into something that .NET client side understands.
go to post Alexander Koblov · Aug 20 Please note, "InterSystems urges users to discontinue use of the PKI features". https://docs.intersystems.com/iris20242/csp/docbook/Doc.View.cls?KEY=ROA... So rather -- create your own certificates, instead of investigating PKI Configuration in IRIS
go to post Alexander Koblov · Aug 20 Hi David Not really! I want to prove that ^$Global is faster from the database directly, so I would benefit from the buffers ;-) Seriously though -- yes, good point. Even on the second and consequent runs ^$Global from the namespace is noticeably slower, so it uses the same buffers as the ^$Global from the database directly
go to post Alexander Koblov · Aug 19 Depends on which globals are in the database. If you have separate code / data databases for the namespace, then yes -- you'll see only data or only code related globals