vscode-ibmi: Debug for i: CRRDG1121E Debug Secure Daemon failed to start. Reason: keystore password was incorrect
Type: Bug
With VSCode Code for i, and IBM I Debug, when I start the debug service, I am getting an error. Not sure how this could happen, it was working last week and as late as Saturday when I testing things working. All was fine.
Today I came in. debug server was not running. I went to start it with the STRDBGSVR command. It submits. It’s running…
Job . . : QB5ROUTER User . . : DOLS Number . . . : 819207
Job 819207/DOLS/QB5ROUTER started on 02/24/25 at 11:01:42 in subsystem
QUSRWRK in QSYS. Job entered system on 02/24/25 at 11:01:42.
Job 819207/DOLS/QB5ROUTER submitted.
CALL PGM(QSYS/QB5ROUTER)
I connect with VSCODE and get this message when trying to start the service. java version “11.0.24” 2024-07-16 IBM Semeru Runtime Certified Edition (build 11.0.24+8) Eclipse OpenJ9 VM (build openj9-0.46.0, JRE 11 OS/400 ppc64-64-Bit Compressed References 20240913_16 (JIT enabled, AOT enabled) OpenJ9 - 1a6f6128aa OMR - 840a9adba JCL - 253a1f4554 based on jdk-11.0.24+8) EQARD1007I The Remote Debug Service daemon started on port 8001. CRRDG1121E Debug Secure Daemon failed to start. Reason: keystore password was incorrect
I removed the certs from /QIBM/UserData/IBMiDebugService/certs and from the walkthru, generated new ones. Downloaded it and restarted my VSCode. Did a connect and reload, make my connection and proceeded to start the service. Same thing. Same error.
QB5ROUTER is still active and running. No errors.
Where do I go from here?
EQARD1007I The Remote Debug Service daemon started on port 8001. CRRDG1121E Debug Secure Daemon failed to start. Reason: keystore password was incorrect
I never touched the keystore file and from what I understand, when using VSCode for i and the debugger, it does it for me so I don’t have to .
I am sure I am missing something.
Extension version: 2.14.11 VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z) OS version: Windows_NT x64 10.0.22631 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | 12th Gen Intel® Core™ i7-12800H (20 x 2803) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 63.65GB (38.85GB free) |
| Process Argv | –crash-reporter-id 5e90849e-ef2b-4bc3-97a3-9254bf36265e |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31242946
customenabled:31241370
5a9hg449:31230677
hdaa2157:31222309
copilot_t_ci:31222730
jda6j935:31233686
cp15370_t:31242499
copilothoveroff:31245427
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22
RESOLVED! Thanks Sebastien, That did the trick.
Removed the config lines below line 60, Saved. Removed the two certs from the IFS directory /QIBM/UserData/IBMiDebugService/certs Then went thru the walkthru to regenerate the certificates Restarted VSCode Connect and Reload option on the connection in code for i Stepped thru the end and restart of the debug server Imported the new certs Started the debug service, and got 2 green checks… Restarted vscode, connected, and successfully debugged a program.
Thank you so much.
Hello @sebjulliand , Thanks a lot for the tips 🙏. I had the same issue last week and now It’s resolved 🎊
Update Sebastien, I removed the whole IBM I Development Pack. All extensions. Restarted VSCode, and reinstalled the full Dev Pack back on. Now I can compile!.
AAAAAAAND the debugger works!!!
Thank you so much.
Aw man! I saw that too yesterday on a colleague’s LPAR. 😨 But we fixed it!
IBMiDebugServicetoIBMiDebugService.v200IBMiDebugService.v2.0.1upd.srctoIBMiDebugService./QIBM/UserData/IBMiDebugServiceconnected + reloaded settingswith Code for iAfter that the service was back on its feet. What the hell happened to this PTF or folder is still beyond me.