Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Olares support offline content access? #839

Closed
numbbbbb opened this issue Jan 7, 2025 · 2 comments
Closed

Does Olares support offline content access? #839

numbbbbb opened this issue Jan 7, 2025 · 2 comments

Comments

@numbbbbb
Copy link

numbbbbb commented Jan 7, 2025

Hi there,

I'm testing Olares locally. Now I have it setup and running, everything works fine.

Just wondering is it possible to access my content without internet? E.g. my wifi is offline, but I have my devices connected to the same wifi, including the one that hosts Olares, how can I view the content in Olares? Seems like the IP access was disabled after the init process.

Thanks.

@cal-weng
Copy link
Contributor

cal-weng commented Jan 8, 2025

Hi @numbbbbb Normally, you can access Olares locally using domains like desktop.local.[olares id].olares.com. However, Olares relies on internet for DNS resolution. When your internet is offline, DNS resolution fails, which prevents access to these domains.

As a temporary solution, you can manually map the local host IP of your Olares to the corresponding app domains in your hosts file. For example, if your local host IP is 192.168.31.208, add the following entries to your hosts file:

192.168.31.208  desktop.local.[olares id].olares.com   # Required
192.168.31.208  auth.local.[olares id].olares.com      # Required
192.168.31.208  files.local.[olares id].olares.com
192.168.31.208  market.local.[olares id].olares.com
192.168.31.208  settings.local.[olares id].olares.com
192.168.31.208  [local domains for other apps as needed]

This allows you to access Olares locally without requiring internet connectivity. In the meanwhile, we will be actively working on a more seamless solution for this scenario.

@numbbbbb
Copy link
Author

numbbbbb commented Jan 8, 2025

Sounds good, thanks!

@numbbbbb numbbbbb closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants