Skip to main content

Troubleshooting InterSystems IRIS Cloud Services

This document is intended to help you resolve issues you may encounter when using the InterSystems IRIS Cloud SQLOpens in a new tab and InterSystems IRIS Cloud IntegratedMLOpens in a new tab services.

Using the InterSystems Cloud Services Portal

Use the web-based InterSystems Cloud Services Portal to create, explore, and use Cloud SQL and Cloud IntegratedML deployments, including creating schemas and tables using DDL, loading tables with data from your local system or AWS S3 buckets, altering tables using DML, and running queries, as well as creating, training, validating, and using predictive models based on your data. The cloud portal also provides access to other InterSystems cloud-based SaaS-model services you may have subscribed to.

The cloud portal supports your use of Cloud SQL and Cloud IntegratedML with information boxes you can display using the generated description: infoicon icon, which explain the various control and features and link to relevant learning materials. The portal itself is documented in InterSystems Cloud Services PortalOpens in a new tab.

Trouble executing SQL

InterSystems IRIS Cloud SQL is designed to deliver a comprehensive SQL experience on a cloud-based SaaS model. You may encounter the following issues; the former can happen when using the cloud portal or making a programmatic connection, while the latter is restricted to the cloud portal.

Privileged operations

A number of InterSystems SQL commands and procedures available in InterSystems IRIS data platform require privileges that are not available in Cloud SQL and may result in the following error message when executed in the cloud portal or through a programmatic connection:

Error executing statement: User SQLAdmin is not privileged for the operation

These are typically procedures that make use of lower-level platform capabilities, are relevant to non-SQL application development, or both. 

Timeouts and truncated results

When using the SQL Query Tools page of the cloud portal to execute SQL, complex queries on large datasets or queries that return result sets including long text or binary fields may time out, return truncated results, or both. The SQL editor in the cloud portal is intended to support schema and table creation and browsing, data loading, and exploratory queries, and is subject to some architectural constraints on web applications. InterSystems recommends using client-side applications or tools to make programmatic JDBC, ODBC, ADO.NET or DB-API connections to your Cloud SQL deployment for more substantial SQL work involving larger data sets..

Trouble connecting programmatically

Cloud SQL and Cloud IntegratedML are designed to provide your applications with relational access to and manipulation of your data using InterSystems SQL and InterSystems IntegratedMLOpens in a new tab. To learn how to make programmatic connections to these services using the InterSystems DB-API (Python), JDBC (Java), ADO.NET (.NET), or ODBC (C++) driver, please read Connecting Your Application to InterSystems IRISOpens in a new tab.

If you are having trouble establishing a programmatic connection to Cloud SQL or CloudIntegratedML, review the following sections for help in resolving the issue.

Is your deployment running?

In the cloud portal, select Deployments in the left navigation pane and identify the tile for the one you are trying to connect to. If it says Status: Stopped, click the tile to display the deployment’s Overview page, and click the Start button at the top of the Deployment Details section.

If the deployment is not running within a minute or two, please open a ticket with the iService helpdeskOpens in a new tab.

Review and modify the connection settings and parameters

To prepare to make a programmatic connection to your deployment, you must do the following:

  • Enable external connections, either when creating the deployment or later.

  • Add the originating IP address of the connection to the list of allowed address ranges, or allow all IP addresses by removing the listed ranges if any.

  • Determine the correct hostname, port number, namespace, and credentials by consulting the Connection details section of the Overview page.

  • Use the Get X.509 certificate button to download a self-signed certificate from the deployment. (You cannot download a certificate when external connections are disabled or when the deployment is not running.

  • Review your connection code, including the required TLS encryption, for the DB-APIOpens in a new tab, JDBCOpens in a new tab, ADO.NETOpens in a new tab, or ODBCOpens in a new tab driver (as appropriate) and update your code including TLS configuration as needed.

If one of these is not correct, you may see errors such as the following; each is preceded by a client driver identifier such as [InterSystems IRIS JDBC]):

  • Communication link failure: host-string.elb.us-east-1.amazonaws.com

    External connections are not enabled.

    Hostname is incorrect.

    Important:

    If external connections are disabled and then enabled again, a new hostname is generated. Check your hostname value against that displayed in the Connection details section of the Overview page

  • Communication link failure: Connection timed out: connect

    IP address at which the connection is originates is not within any of the allowed address ranges.

    Connection is not encrypted using TLS as required.

    Port number is incorrect.

  • Communication link failure: Access Denied

    Namespace, credentials, or both are incorrect.

  • Communication link failure: Socket is closed / Communication link failure: Cannot find the file specified /path/SSLConfig.properties

    The TLS configuration is incorrect.

    The correct certificate is not specified.

    Important:

    If you download a self-signed certificate from the deployment using the Get X.509 certificate button while external connections are enabled, then disable external connections and later reenable them, you must download a new certificate; the previous certificate will not work.

To make any required settings changes and verify the needed information, open the cloud portal, select Deployments in the left navigation pane, and click the tile for the one you want to connect to. On the Overview page, scroll down to External Connections.

Are external connections enabled?

If Status is disabled, enable external connections by clicking the Update button below and to the right, selecting Enable external connections, and clicking Save.

Is the IP address allowed to connect?

If no IP address ranges are listed under Allowed IP address ranges, connections can originate at any IP address.

However, if at least one IP address range are listed under Allowed IP address ranges, the IP address at which the connection originates must fall within an allowed range. If it does not, either add a range containing the address or remove all ranges to allow all IP addresses.

Are the connection parameters correct?

Review the connection parameters shown under Connection detailsHostname, Port, Namespace, and Username — and correct the connection code in your application as needed. (You cannot obtain the password, which was set when the deployment was created, from the portal but it can be changed, if you can provide it, by using the Change password button.)

Is the TLS configuration correct?

Review the TLS configuration instructions for the DB-APIOpens in a new tab, JDBCOpens in a new tab, ADO.NETOpens in a new tab, or ODBCOpens in a new tab driver (as appropriate), as well as the comprehensive TLS configuration instructions in the TLS Guide, if necessary.

Getting help

If your issue has not been resolved by the information in this document, please open a ticket with iServiceOpens in a new tab, the 24/7/365 support platform for InterSystems Cloud Services. If you do not yet have an iService account and are unable to register with iService directly, please email support@intersystems.com or contact us by phoneOpens in a new tab.

FeedbackOpens in a new tab