cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HANA Express XSA Failed to determine debugging support: Error: Web socket is not available: 1006

jmalla
Contributor
0 Kudos

I am on HANA Express 2.0 SPS 3 on the Google Cloud an image spun up in June 2019. I am trying to debug a NodeJS module - when I try to debug, I am not able to attach to an active session. In the selection, I see a debug target for /SAP_AD_Integration/SAP_AD_Node (Run script start). All the other ones are database modules.

When I select the NodeJS app and then click ok, I get the error:

Failed to determine debugging support: Error: Web socket 'wss://hxehost:53075/che/ws/x45p9' is not available: 1006

This is the error in Safari

I tried on Chrome - and got another error:

The user I am using is XSA_DEV which was generated when creating the instance.

Any help is appreciated.

Thanks,

Jay

Accepted Solutions (0)

Answers (1)

Answers (1)

jmalla
Contributor
0 Kudos

The issue seems to be with WebSockets not being allowed in Safari for a site with a self signed certificate.

I was able to get this to work on Chrome - as long I started it this way:

Google Chrome debugging

MacOS

Start Chrome in MacOS using these steps

  • Close Chrome.
  • From the Finder, select “Go” > “Utilities“.
  • Launch “Terminal“.
  • Type the following command, then press “Enter“:

    /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors &> /dev/null &