misskey icon indicating copy to clipboard operation
misskey copied to clipboard

User settings cannot be used without an SSL connection.

Open OrihaWeave opened this issue 9 months ago • 1 comments

💡 Summary

I noticed this issue exists in the latest Misskey version 2025.12; the "Settings" option in the user interface cannot be opened on non-SSL connections. I know this is likely for security reasons, but not all servers have domain certificates.

Image Image

🥰 Expected Behavior

User settings can be opened normally even with a non-SSL connection.

🤬 Actual Behavior

User settings cannot be used without an SSL connection.

📝 Steps to Reproduce

1, Create a server use docker 2, Use IP address visit misskey 3, Click Settings

💻 Frontend Environment

* Model and OS of the device(s): Windows 11 Version 25H2 (Build 26200.7840)
* Browser: 145.0.7632.110
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • [ ] Yes, I will patch the bug myself and send a pull request

OrihaWeave avatar Feb 22 '26 23:02 OrihaWeave

Hi @DBKAHHK! I'm Dosu and I’m helping the misskey team.

The root cause is in packages/frontend/src/utility/storage.ts where navigator.storage.persisted() is called without checking if navigator.storage exists:

export const storagePersisted = ref(await navigator.storage.persisted());

The Storage Manager API (navigator.storage) is only available in secure contexts (HTTPS, localhost, or 127.0.0.1). When you access Misskey via HTTP on an IP address, navigator.storage is undefined, causing the error when trying to call .persisted() on it.

A fix would be to add a defensive check:

export const storagePersisted = ref(
  navigator.storage ? await navigator.storage.persisted() : false
);

This would allow the settings page to load on HTTP connections while simply disabling the storage persistence feature (which requires HTTPS anyway).

To reply, just mention @dosu.


Docs are dead. Just use Dosu.

Leave Feedback Ask Dosu about misskey Share Dosu with your team

dosubot[bot] avatar Feb 22 '26 23:02 dosubot[bot]