Skip to content

Unable to edit dashboard when accessing via HTTP remotely #272

Description

@Erasure5959

Hello,

I cannot edit a dashboard when I access Logtide remotely via HTTP, but this works via localhost when testing. I get the below in my browser (tested with latest Edge and Firefox):

Image

I have done some troubleshooting with Copilot and it seems related to the page not being in a secure context (I may be misunderstanding here). When accessed via HTTP on port 3000, the console returns the below responses to the commands:

window.isSecureContext        false
typeof window.crypto          "object"
typeof window.crypto.randomUUID "undefined"

From further prompting, we eventually landed on the below:

If Logtide is intended to be accessed over a LAN using an IP address and plain HTTP, then calling crypto.randomUUID() without checking for its availability is a bug in the application. It should either:

require HTTPS and document that requirement, or
provide a fallback for non-secure contexts.

I am not saying that this is a problem per se, but if this is intentional, a note in the documentation might help. I do intend to move behind Traefik eventually, but for now I have to modify from localhost and check again remotely.

Metadata

Metadata

Assignees

Labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions