Hello OpenMRS Community,
I am trying to log in to the OpenMRS Academy platform but am completely blocked by a continuous login loop error.
Issue Description
- When submitting my correct credentials and completing the math challenge, the site redirects to a page stating: “You failed to correctly answer the math problem. This is used to combat spam when Jetpack’s Brute Force Attack Protection API is unavailable…”
- Inspecting the browser console shows a JavaScript error:
Uncaught TypeError: Failed to resolve module specifier "@wordpress/interactivity". Relative references must start with either "/", "./", or "../".
Hi @a.wahid.developer, This isn’t an issue on your end — it’s a server-side problem with the OpenMRS Academy WordPress installation. Two things are broken:
-
Jetpack’s Brute Force Protection API is unreachable, causing a fallback math CAPTCHA to appear.
-
A JavaScript error (Failed to resolve module specifier "@wordpress/interactivity") is preventing the math challenge form from working, which creates the login loop.
Workarounds you can try:
-
Disable JavaScript blocking extensions (uBlock, NoScript, etc.)
-
Try a different browser or incognito mode
I’d suggest tagging someone from the infrastructure team , maybe an admin can look into it.
This is entirely a WordPress infrastructure issue — nothing to do with the OpenMRS application codebase.