SqrTT / prophet

Prophet Debugger (SFCC sandboxes via SDAPI 2.0) extension for VS Code
https://marketplace.visualstudio.com/items?itemName=SqrTT.prophet
Other
144 stars 59 forks source link

"Internal Server Error undefinedDisconnecting..." when trying to start the debugger #317

Closed murgasanu closed 2 years ago

murgasanu commented 2 years ago
Bug description:
I cannot start the Prophet Debugger because it gives me this error in the "Debug console": "Internal Server Error  undefinedDisconnecting..."  and in the Sandbox logs I have this error: "ERROR http-nio-10.51.179.202-10052-exec-3 com.demandware.core.script.dapi.DebuggerServlet - TEMPORARY 8016c74bf5 0051a216936823b132f492b6b4 3822859179920178176 - Failed to process request '/servlet/s/-/dw/debugger/v2_0/client', responding HTTP 500 INTERNAL_SERVER_ERROR fault message

Stack trace []()". I have tried anything: restarting VS Code, restarting the Sandbox, re-upload the code wth Prophet(uploader is working fine), installed an older version of Prophet, switched the code version, but non of them worked. It was working yesterday, the problem occured this morning.

Steps to reproduce:

Desktop (please complete the following information):

SqrTT commented 2 years ago

seems this is duplicate of #313 In most cases this happen due to mixup cases in username (dw.json). (username is case sensitive)

murgasanu commented 2 years ago

Thanks for the answer. Indeed the problem was that the e-mail was written with upper case first letter in my Sandbox, in User List. I have changed this as well in the dw.json file and it is working again. It's funny that until today, this was no issue :)