Question
Phillip Wu · Nov 7, 2022

Visual Studio Code will not connect to IRIS WRONG_VERSION_NUMBER

Hi,

I have installed Visual Studio on my PC and connecting to IRIS on my Linux server.

 

I have installed the InterSystems extensions.

 

I click on the InterSystems icon on left->Click on "Choose Server and Namespace" -> Pick my server myTrak.

 

However I get this error:
request to https://mytrak:52773/api/atelier/ failed,
 reason: write EPROTO 18648712:error:100000f7:SSL routines:OPENSSL_internal: WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:

Does anyone know how to fix this?

----

Visual Studio 1.69.2
Extensions
==========
InterSystems Language Server 2.1.3
InterSystems ObjectScript 2.2
InterSystems ObjectScript Extension Pack 1.0.3
InterSystems Server Manager 3.2.1

I've clicked on the Intersystems Tool icon on left
  then ... on top
       edit settings
       Edit in settings.json
 
I get htis screen
{
    "intersystems.servers": {
        "mytrak": {
            "webServer": {
                "scheme": "https",
                "host": "mytrak",
                "port": 52773
            },
            "description": "My IRIS Server",
            "username": "superuser"
        }
    }

IRIS for UNIX (SUSE Linux Enterprise Server for x86-64) 2021.1 (Build 215_0_21669U)   

Product version: IRIS 2022.1
0
0 157
Discussion (2)1
Log in or sign up to continue
"scheme": "https",

Are you sure, that you need https, not plain http? Seems like, it's the issue

Fantastic - worked!!
Thanks