The URL used to access debug.jsp should be in the following format.
http://<server>:<port>/ws/debug.jsp?secret=database User ID
and you should make sure that you use the database user ID (without the "<>") and not the database user ID password.
Database User ID is case sensitive. You can check to make sure you have the right database userid by viewing the startup.log file in Administrations-->System Logs
Root Cause
Incorrect URL entry, for instance http://<server>:<port>/ws/debug.jsp?secret=<database User ID> or the Database ID password is used instead of the User ID