Pesquisar

Artigo
· Mar. 17 3min de leitura

¿Problemas conectando tu Visual Studio Code con tu instancia de IRIS a través del WebGateway? ¡Pues aquí tienes unos consejos!

Como bien sabréis se ha procedido a eliminar el denominado Private Web Server que venía con cada instalación de IRIS, lo que hace necesario un servidor web externo.

En el caso de los despliegues en docker lo más común es hacer uso de la imagen webgateway (disponible aquí) junto con la de IRIS para poder acceder sin problemas al portal de gestión. Esta imagen se puede configurar para acceder vía HTTPS sin ningún problema configurando los certificados.

Problema 1: Unable to verify the first certificate

Posiblemente tu conexión SSL mediante el webgateway tiene configurado un certificado autofirmado y Visual Studio Code intenta verificarlo. Pues bien, quitemos dicha verificación:

Accediendo al menú de Settings y buscando por http encontraremos la opción Proxy Strict SSL, pues bien, desmarquémosla para que no intente validar el certificado. En Proxy Support seleccionaremos off.

Problema 2: /api/atelier web application not found

Os preguntareis que es eso de Atelier...pues muy sencillo, era el antiguo entorno de desarrollo de InterSystems basado en Eclipse y que ha quedado un poco..."legacy" en la configuración de IRIS.

Este a priori no debería ser muy común, pero es producido porque la aplicación web /api/atelier se encuentra deshabilitada. Para ello accederemos directamente al portal de gestión y buscamos la pantalla de administración de aplicaciones web desde el menú Administración > Seguridad > Aplicaciones > Aplicaciones Web buscamos /api/atelier

Efectivamente, la aplicación no está habilitada. Para modificarlo entramos en su configuración pulsando sobre el nombre y a continuación sólo tenemos que marcarla como Aplicación habilitada.

Con esa activación el problema debería quedar resuelto.

Problema 3: Servidor no disponible

Después de configurar todo el servidor sigue sin estar accesible mostrando un mensaje tal que así:

Lo más problable es que el WebGateway tenga configurado CSPSystems como el usuario de acceso a tu instancia de IRIS que por defecto aparece con el nombre de LOCAL. Para acceder a la consola del WebGateway lo puedes hacer desde el Portal de Gestión (Administración > Configuración > Gestión del Web Gateway) o bien directamente por la URL (https://IP_DEL_WEBGATEWAY:PUERTO_DEL_WEBGATEWAY/csp/bin/Systems/Module.cxw). Recordad que el usuario para acceder es CSPSystem (con la contraseña que se especificó durante la instalación).

La primera pantalla que veremos será la siguiente:

Desde aquí deberemos acceder a Server Access que os mostrará la siguiente pantalla:

Como veis únicamente tenemos configurado un servidor etiquetado como LOCAL que es el que nos permite acceder directamente al Portal de Gestión (en mi caso con la URL https://localhost/csp/sys/%25CSP.Portal.Home.zen). Veamos la configuración:

En efecto, el usuario configurado es CSPSystem y nuestra configuración de Visual Studio Code utiliza superuser para acceder, cambiemos la configuración para que haga uso de superuser y veamos que sucede:

¡Bingo! Problema resuelto. Ya estamos conectados a nuestro IRIS desde el Visual Studio Code WebGateway mediante.

Espero que os resulte de utilidad.

Discussão (0)1
Entre ou crie uma conta para continuar
Resumo
· Mar. 17
Artigo
· Mar. 17 2min de leitura

既存のネームスペースで、インターオペラビリティ機能を無効にする方法

これは InterSystems FAQ サイトの記事です。

ネームスペースを管理ポータルで作成する際に、デフォルトでは、『相互運用プロダクション用にネームスペースを有効化』にチェックがついているため、そのチェックを意図的に外さない限り、新規作成したネームスペースは、インターオペラビリティ機能が有効になっています。

この機能が有効であることによる実用上の弊害(パフォーマンス等に影響する)は、特にありませんが、管理ポータル上のクラス表示にこの機能に関連するクラスが先に表示されて、ユーザー作成クラスの表示に余計な操作が必要になる等の操作上の余分な手間が発生する場合があります。

管理ポータル上でこの設定を無効にするメニューは用意されていませんが、以下の手順で無効化することができます。

- 相互運用性ネームスペースの無効化  

USER>set $namespace = “%SYS%SYS>write ##class(%EnsembleMgr).DisableNamespace("FAQ",1)

1

 

- 管理ポータルより該当のネームスペースの削除

- 管理ポータルより該当のネームスペースの再作成

再作成の際に「相互運用プロダクション用にネームスペースを有効化」のチェックを外す 

- 相互運用性ネームスペースの確認

%SYS>w ##class(%EnsembleMgr).IsEnsembleNamespace("FAQ")

0 ; 戻り値 0 であれば相互運用性ネームスペースは無効

 

- IRIS 再起動後、相互運用性ネームスペース作成時に追加された以下の一時データベースの削除

(IRIS for Healthの場合は、これらの一時データベースの削除は必要ありません)  

 

xxxENSTEMP

プロダクション実行中に作成される一時データが保存されるデータベース

IRIS.Temp.Ens*のグローバルがマッピング

InterSystems IRIS の一時プロダクション・データの格納場所


xxxSECONDARY

相互運用の機能で使用される資格情報を保存するデータベース

^Ens.SecondaryData* のグローバルがマッピング

          InterSystems IRIS のパスワード資格情報の格納場所

Discussão (0)1
Entre ou crie uma conta para continuar
Pergunta
· Mar. 16

ERROR #5911: Character Set 'iso-8859-4' not installed, unable to perform character set translation (EnsLib.HL7.Operation.HTTPOperation)

Hi,

My HL7 interface in production is outputting messages to a HL7 File Operation and a  EnsLib.HL7.Operation.HTTPOperation. There is no errors in the File Operation, but the HL7 HTTPOperation is giving ERROR #5911: Character Set 'iso-8859-4' not installed, unable to perform character set translation.  Both the HL7 File Operation and HL7 HTTP Operation are using latin1 for Default Char Encoding.

What is ERROR #5911 aboutIs something missing in the IRIS installation? 

Thank you.

W

5 Comments
Discussão (5)2
Entre ou crie uma conta para continuar
Anúncio
· Mar. 16

Key Questions of the Month: February 2025

Hey Community,

It's time for the new batch of #KeyQuestions from the previous month.

Here are the Key Questions of February chosen by InterSystems Experts within all Communities:

📌 How to find all globals in routines? by @Anna Golitsyna (EN)

📌 Automatizar tarefa de extração de dados by @Juliano Assis (PT)

📌 IRIS Community 2024.1から2024.3へアップデート後のPythonロードエラーについて by @ima (JP)

These questions will be highlighted with the #Key Question tag, and their authors will get the Key Question badge on Global Masters.

If you find the key question(s) from other communities interesting, just drop us a line in the comments and we will translate the question(s) and the accepted answer(s).

Congrats, and thank you all for your interesting questions. Keep them coming!

See you next month😉

Discussão (0)1
Entre ou crie uma conta para continuar