Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

WebIDE Debugger disconnected due to WebSocket Error #4

Closed
jcailan opened this issue Feb 21, 2018 · 3 comments
Closed

WebIDE Debugger disconnected due to WebSocket Error #4

jcailan opened this issue Feb 21, 2018 · 3 comments

Comments

@jcailan
Copy link

jcailan commented Feb 21, 2018

I'm doing the XSJS debugging exercise and inspecting the variables after an xsjs file operation is suspended by a debugger breakpoint. However, when I try to inspect the variables in the WebIDE console, the debugger will soon disconnect. Repeating the debugging process again and again consistently result in the debugger being disconnected. Checking on the chrome developer tools console, I can see some websocket error. Is this an issue on webide or on-premise hana?

system: HANA 2.0 SPS02

see screenshot below for reference:

image
image

@jung-thomas
Copy link
Contributor

Impossible to say from this information. If you aren't using HTTPS with a trusted certificate and hostname based routing you might be having disconnect with websockets due to the untrusted nature of the connection. However this could also be problem on the server side. You'd have to check the di-core logs for more details.

@jcailan
Copy link
Author

jcailan commented Feb 21, 2018

Thanks for the quick response Thomas!

The connection is secured and using hostname based url (which is covered) -- so i guess this should be okay.

image

i could open the logs for the app core_js -- but couldn't make sense of it -- here it is:

Connected, dumping recent logs for app "JCAILAN-tu3kj370bjuohtyi-oshana5-core_js"
image

@jcailan
Copy link
Author

jcailan commented Feb 25, 2018

I still couldn't figure out the issue on this. But just to have a baseline comparison, I have setup a SAP HANA Express Edition server and found out that this issue doesn't exists in the HXE WebIDE.

Comparing versions of both HANA 2.0 SPS 02:

HXE Version: SAP Web IDE for HANA 2 SPS 02 Patch 1 ( Build 4.2.18 )
Corporate HANA Version: SAP Web IDE for HANA 2 SPS 02 Patch 4 ( Build 4.2.21 )

Surprisingly, the older patch 1 seems to be working fine compared to the Patch 4. Probably, we will just update the Corporate HANA to the latest patch which is currently #7 and see if this solves the debugger issue.

Perhaps this issue is good to be closed. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants