Post B4JoXVN225s4AM6Shs by koakuma@uwu.social
(DIR) More posts by koakuma@uwu.social
(DIR) Post #B4JoXVN225s4AM6Shs by koakuma@uwu.social
0 likes, 2 repeats
Anyone having problems when logging in on Misskey 2026.3.1?After entering the username in the login dialog, we're getting "Internal Server Error" messages. A little bit more digging shows a failed API call to `/api/signin-flow` endpoint, returning a HTTP 500 with a response that looks like so:```{"statusCode":500,"error":"Internal Server Error","message":"Cannot read properties of undefined (reading 'replace')"}```The result is that no one is able to log into the instance.What's wrong here and how do we fix it?Posting on behalf of a friend @ozy to help her log back into the instance~ :02lurk: #AskFedi #Misskey
(DIR) Post #B4JoxWwwme14aqJQ80 by koakuma@uwu.social
0 likes, 1 repeats
Also as per @ozy, no logs are printed when this is happening, not even with `NODE_ENV=development`...
(DIR) Post #B4LQ4snHrAx5pa7fnM by dwarf@borg.social
0 likes, 0 repeats
@ozy@port.mk @koakuma@uwu.social is logging in with a hardware token enabled?
(DIR) Post #B4LQ4tKxpxtHW1sZHs by koakuma@uwu.social
0 likes, 0 repeats
@dwarf This means that it's enabled?In any case in my own testing at port.mk whatever I put there in the username box seems to result in the error, no matter if it's a real user or not@ozy
(DIR) Post #B4LoFN4eWpxjXSmORs by koakuma@uwu.social
0 likes, 1 repeats
Update: so far it has been tracked down to the rate limiting here:https://github.com/misskey-dev/misskey/blob/2026.3.1/packages/backend/src/server/api/SigninApiService.ts#L99-L114Disabling it makes the API works okay and my friend @ozy is able to log in, that serves as a workaround :blobcatheart: Though we still want to see what it is, exactly is failing with that part...
(DIR) Post #B4LpLxSQGjRM4UbPpA by koakuma@uwu.social
0 likes, 1 repeats
Another narrowing down: it's this line, getting called with a `request.ip` that is undefined. Why is this happening?https://github.com/misskey-dev/misskey/blob/2026.3.1/packages/backend/src/server/api/SigninApiService.ts#L103@ozy #AskFedi #Misskey