offline message prevents vikunja from running on local machine when there is no connectivity #125

Closed
opened 2025-11-01 20:47:54 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @jcvanhalle-ec on GitHub (Feb 10, 2023).

Description

I am running vikunja on my local machine, through docker, and it's configured to be available at http://127.0.0.1:10000/ (front-end) and http://127.0.0.1:10001/api/v1. So far, so good.

But vikunja detects the lack of network and/or internet connectivity and displays an offline message filling the whole screen and removes any way to interact with the page.

I don't think vikunja has a hard requirement for being always online so I think this offline message should not prevent from using vikunja on a local machine without connectivity.

Vikunja Frontend Version

0.20.2

Vikunja API Version

0.20.2

Browser and version

Firefox 102.5.0esr

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

image

Originally created by @jcvanhalle-ec on GitHub (Feb 10, 2023). ### Description I am running vikunja on my local machine, through docker, and it's configured to be available at http://127.0.0.1:10000/ (front-end) and http://127.0.0.1:10001/api/v1. So far, so good. But vikunja detects the lack of network and/or internet connectivity and displays an offline message filling the whole screen and removes any way to interact with the page. I don't think vikunja has a hard requirement for being always online so I think this offline message should not prevent from using vikunja on a local machine without connectivity. ### Vikunja Frontend Version 0.20.2 ### Vikunja API Version 0.20.2 ### Browser and version Firefox 102.5.0esr ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots ![image](https://user-images.githubusercontent.com/91598610/218058324-6feb4fdc-72f1-431b-9758-5c04389e0983.png)
Author
Owner

@dpschen commented on GitHub (Feb 10, 2023):

There is an env variable that you can set to disable this message for development.

@dpschen commented on GitHub (Feb 10, 2023): [There is an env variable that you can set](https://kolaente.dev/vikunja/frontend/src/branch/main/.env.local.example#L8) to disable this message for development.
Author
Owner

@dpschen commented on GitHub (Feb 10, 2023):

Some more info:
The reason why we currently show this message is to prevent data loss and prevent errors.

We do cache stuff locally but not in a way that is reliable. Also you won't be able to edit stuff (since you can't save). We want to get there but for now the only way is simple disable the overlay via setting that env. But expect errors!

@dpschen commented on GitHub (Feb 10, 2023): Some more info: The reason why we currently show this message is to prevent data loss and prevent errors. We _do_ cache stuff locally but not in a way that is reliable. Also you won't be able to edit stuff (since you can't save). We want to get there but for now the only way is simple disable the overlay via setting that env. But expect errors!
Author
Owner

@jcvanhalle-ec commented on GitHub (Feb 10, 2023):

Okay, thanks for the workaround and the explanation !

@jcvanhalle-ec commented on GitHub (Feb 10, 2023): Okay, thanks for the workaround and the explanation !
Author
Owner

@dpschen commented on GitHub (Feb 10, 2023):

Does that solve your issue? If so can you close it?

@dpschen commented on GitHub (Feb 10, 2023): Does that solve your issue? If so can you close it?
Author
Owner

@jcvanhalle-ec commented on GitHub (Feb 10, 2023):

It doesn't solve the issue but it's not a wontfix either and there is a workaround so I didn't really know which kind of closing to choose. I'll mark it as close as completed.

I can live with that behavior 99.99% of the time anyway I think.

@jcvanhalle-ec commented on GitHub (Feb 10, 2023): It doesn't solve the issue but it's not a _wontfix_ either and there is a workaround so I didn't really know which kind of closing to choose. I'll mark it as _close as completed_. I can live with that behavior 99.99% of the time anyway I think.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#125