mrglassdanny / vscode-moca-client

MOCA Client Extension for Visual Studio Code
MIT License
10 stars 2 forks source link

MOCA Connection Name: Received fatal alert: handshake_failure #17

Open eddierachury opened 2 years ago

eddierachury commented 2 years ago

Authentication failed, after confirming the credentials:

   {
        "name": "TEST 2019",
        "url": "https://test.2019wms.com",
        "user": ,
        "password": , 
        "groovyclasspath": [],
        "approveUnsafeScripts": true
    }

Looks like an encoding issue with user/pass from client to server, incompatible versions of SSL

mrglassdanny commented 2 years ago

Hey @eddierachury,

The example you are giving appears to be invalid JSON syntax. You need to either omit the user/password elements, or set their values as empty strings. Leaving the value blank like that is invalid.

Also, I am sure your example connection info is just an example, but make sure you are including “/service” at the end of the connection string.

If you suspect the issue has to do with SSL, please watch the “HTTPS Certification Installation” video in the DEMOS page:

https://github.com/mrglassdanny/vscode-moca-client/blob/master/DEMOS.md

eddierachury commented 2 years ago

Hi @mrglassdanny,

“/service” is not available as part of the connection we are using. I used the example from a connection that is working on a local environment, so I have just change it to validate with a hosted environment, is the same connection I used for Dlx without service:

https://test.2019wms.com

I will check the videos too.

mrglassdanny commented 1 year ago

Hey @eddierachury -- did this ever get resolved?

eddierachury commented 1 year ago

Hi @mrglassdanny

I still have the same issue trying to get connected to the addresses we have to expose the services: https://test.2019wms.com/