Closed gnaaktgeboren closed 6 years ago
I have a similar issue - if the debugger hits a breakpoint it just hangs -- resulting in the "Sorry.." error. Symbol download, app publish, app run -- all work fine, I just can't debug.
I have disabled the security policy -
If I watch the network traffic in the browser debugger I see this rather fatal looking error: HTTP502: BAD GATEWAY - The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request. (XHR)POST - http://localhost:8080/dynamicsnav110/cbs?aid=NAV
If I look in the Event Viewer on the server I see the ominous error listed below. Obviously this is telling me something is misconfigured -- but I can't figure out what. Anybody ?
Event Viewer error on server:
instanceName DynamicsNAV110
message
Hi, we would like to ask for some additional information. @gnaaktgeboren - could you please provide Event Log error? We would like to see if this is indeed the same error that both of you are facing.
In addition, which versions of the NAV server and AL Language extension are you using? Are you on the latest February Developer Preview?
Hi,
I've attached the errors as a text file.
The versions that I'm using are: AL extension 0.12.16641 NAV version CU2 (11.0.20348.0).
Hi @gnaaktgeboren, Try signing out and signing in again. It solved the error for me. Although I was not getting any error in VSCode, just the webclient would crash.
Hi @olisterrcf ,
Just tried that, no luck.
@gnaaktgeboren have you restarted the server after setting the
Your error log shows that this setting is still enabled.
@StanislawStempin I just did that again but with no luck.
Thanks. Since you're on NAV 2018 and this potentially requires deeper investigation please log a support case for your problem: https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#nav-2018-issues
When I try to debug the webclient gives the error Sorry, that didn't work I've disable the NetFx40_LegacySecurityPolicy. `
` What am I doing wrong?