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

[BUG] IOS 18.3 no local network access - network error #1791

Open
Ltamann opened this issue Jan 27, 2025 · 5 comments
Open

[BUG] IOS 18.3 no local network access - network error #1791

Ltamann opened this issue Jan 27, 2025 · 5 comments

Comments

@Ltamann
Copy link

Ltamann commented Jan 27, 2025

Using iOS 18.3 on iphone, I can access Ollama from any app that has permission to access the local network. However, the Chatbox app doesn't have this ability because it doesn't request local network access permissions.

As a result, I can use Ollama via Safari or any other browser, but when I select Ollama in the settings of chatbox with the correct local IP and port, it can't connect properly, and I cannot select a model.

When chatting with these settings and local ip set i get a "A network error has occurred..." but in the Ollama server logs, I can see the following GET requests:

[GIN] 2025/01/27 - 13:41:45 | 403 | 0s | 192.168.10.174 | GET "/api/api/tags"

I believe this issue might be caused by missing policies or restrictions on local network access.

@Endle
Copy link

Endle commented Jan 28, 2025

I think this bug is caused by not requesting local network access.

I my iOS, Settings -> Privacy -> Local Network, I can't find Chatbox

@TheMiNuS
Copy link

I confirm the same issue on my phone for the same reasons.

@jerlasvegas
Copy link

I can confirm the same issue on my device running iOS 18.3. It works from Safari or Chrome, but I get 403 Unauthorized from the server when accessing from the Chatbox App

@jswillia
Copy link

jswillia commented Feb 1, 2025

Same issue here. Agree with the above that this probably because this app is not asking for local network access permissions.

@Misaka-0x447f
Copy link

Same, please fix, and do not try do detect the target is on the local network or remote, just request access. For e.g. I may resolve chat.misaka.org to a local machine, which is hard to determinate.

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

6 participants