Skip to Content

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

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jul 04, 2019 at 07:43 AM

    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 &

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.