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~  

#AskFedi #Misskey

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-L114

Disabling it makes the API works okay and my friend @ozy is able to log in, that serves as a workaround  

Though we still want to see what it is, exactly is failing with that part...

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

misskey/packages/backend/src/server/api/SigninApiService.ts at 2026.3.1 ยท misskey-dev/misskey

๐ŸŒŽ A completely free and open interplanetary-microblogging platform ๐Ÿš€ - misskey-dev/misskey

GitHub