-
Notifications
You must be signed in to change notification settings - Fork 0
Account cannot connect to agents due to dots . in the Names/Surnames/OrgNames #11
Description
EDIT: I changed this issue to non-critical since the cause has been identified, and there is a simple way to avoid the issue. In summary, the input to a account registration including the name, surname, and organization name must be checked or sanitized before the account is created.
====================================
Describe the bug
Multiple accounts in Origin Asia that I have created and tested became unable to connect to their agents. As a result, these accounts are locked out completely.
I believe this is related to the update on 4th October to clear the databases in Origin Asia since I had never seen this kind of error before the update.
I could not figure out the cause of these errors as they seem to appear at random. @dhh1128 hypothesized that this error occurs when too many browser windows (6 windows) are opened simultaneously. It turns out not to be the case since the same error still occurs to more of my newly created accounts even though I wasn't using them.
Here are the list of affected accounts:
- qar1@enauthn.id ZsYWGPeTxgPOlcxX1Esx5
- qar2@enauthn.id ORBGa4ADp4zn5oBGognhB
- qar1@enauthn.dev CF0KaynOunMGuBdk6kD0s
- qar2@enauthn.dev EbT6PB116pNq1n73xhdkp
- qar3@enauthn.dev RwtabKxBioqQAcc6WwS3h
- qar4@enauthn.dev cL40hoY5XcVvwkOr5gLut
- qar5@enauthn.dev o09l0tIuzLHjt4vaTuToc
- qar6@enauthn.dev 0NN3refPqEn0VnZhz67Vb
- qar4@enauthn.io AYycZexAceKQ90UFU8ai0
- qar5@enauthn.io jr0lHTNEvbTR568vhFHCA
- qar6@enauthn.io eYjEzr1gS8m2DKmPEbxHm
*** Edit: Now all accounts that I have created are affected.
To Reproduce
Unknown
Expected behavior
The accounts should be able to connect to KERIA agents
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
- OS: MacOS Sequoia 15.0.1
- Browser: Brave, Chrome, Edge
Error messages from Chrome Dev Tool
CognitoUserPool.js:1 [zustand devtools middleware] Please install/enable Redux devtools extension
(anonymous) @ CognitoUserPool.js:1
Show 1 more frame
Show less
CognitoUserPool.js:1 Processing auto-todo of type notification.auto-todo-user-onboarding-complete {"id":"e83507db-1d00-49f5-8eef-fbdd47ada67e","description":"notification.auto-todo-user-onboarding-complete","title":"","createdAt":1730509599526,"userId":"7dc2d5f6-aa81-4cb5-8e37-6a02a934d301","channel":"AUTO_TODO","read":false}
CognitoUserPool.js:1 AUTO_TODO_HANDLER_ERROR :: TypeError: Cannot read properties of null (reading 'identifiers')
at d (CognitoUserPool.js:1:1)
at P (CognitoUserPool.js:1:1)
at Q.handleAutoTodoNotification (CognitoUserPool.js:1:1)
(anonymous) @ CognitoUserPool.js:1
Show 1 more frame
Show less
identifiers:1 [DOM] Found 2 elements with non-unique id #alias: (More info: https://goo.gl/9p2vKq) <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias"> <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias">
CognitoUserPool.js:1
GET https://dev.asia.origincloud.net/v1/keria/admin/agent/EL7c23esz-u6ARvfUlhbQXWYcTFJKlaFUDq9cebKuMFr 500 (Internal Server Error)
(anonymous) @ CognitoUserPool.js:1
state @ index.mjs:38
connect @ index.mjs:38
f @ CognitoUserPool.js:1
await in f
connectToAgent @ CognitoUserPool.js:1
v @ CognitoUserPool.js:1
await in v
onClick @ CognitoUserPool.js:1
eV @ react-dom.production.min.js:54
eW @ react-dom.production.min.js:54
(anonymous) @ react-dom.production.min.js:55
rn @ react-dom.production.min.js:55
rt @ react-dom.production.min.js:106
(anonymous) @ react-dom.production.min.js:117
oN @ react-dom.production.min.js:274
eF @ react-dom.production.min.js:52
ri @ react-dom.production.min.js:109
nV @ react-dom.production.min.js:74
nI @ react-dom.production.min.js:73
a @ CognitoUserPool.js:1
Show 19 more frames
Show less
CognitoUserPool.js:1 INIT_CLIENT_ERROR::: TypeError: Cannot read properties of undefined (reading 's')
(anonymous) @ CognitoUserPool.js:1
f @ CognitoUserPool.js:1
await in f
connectToAgent @ CognitoUserPool.js:1
v @ CognitoUserPool.js:1
await in v
onClick @ CognitoUserPool.js:1
eV @ react-dom.production.min.js:54
eW @ react-dom.production.min.js:54
(anonymous) @ react-dom.production.min.js:55
rn @ react-dom.production.min.js:55
rt @ react-dom.production.min.js:106
(anonymous) @ react-dom.production.min.js:117
oN @ react-dom.production.min.js:274
eF @ react-dom.production.min.js:52
ri @ react-dom.production.min.js:109
nV @ react-dom.production.min.js:74
nI @ react-dom.production.min.js:73
a @ CognitoUserPool.js:1
Show 17 more frames
Show less
connections:1 [DOM] Found 3 elements with non-unique id #alias: (More info: https://goo.gl/9p2vKq) <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias"> <select class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500 rounded-lg p-2.5 text-sm" id="alias" name="alias">…</select> <select class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500 rounded-lg p-2.5 text-sm" id="alias" name="alias">…</select>
identifiers:1 [DOM] Found 2 elements with non-unique id #alias: (More info: https://goo.gl/9p2vKq) <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias"> <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias">
connections:1 [DOM] Found 3 elements with non-unique id #alias: (More info: https://goo.gl/9p2vKq) <input class="block w-full h-[44px] border px-3 py-2.5 rounded-md font-light text-sm hover:border-neutralsAdditional800 visited:border-neutralsAdditional800 focus-visible:outline-none focus-visible:border-royalBlue disabled:text-neutralsAdditional500 disabled:border-neutralsAdditional400 disabled:bg-grey200 border-neutralsAdditional400 rounded-lg p-2.5 text-sm" id="alias" name="alias"> <select class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500 rounded-lg p-2.5 text-sm" id="alias" name="alias"><option value>Identifier</option>slot</select> <select class="block w-full border disabled:cursor-not-allowed disabled:opacity-50 bg-gray-50 border-gray-300 text-gray-900 focus:border-blue-500 focus:ring-blue-500 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus:border-blue-500 dark:focus:ring-blue-500 rounded-lg p-2.5 text-sm" id="alias" name="alias">…</select><option value>Identifier</option>slot</select>