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

Connects on PC but not in Android #57

Open
2 tasks done
hellomynameisnoone opened this issue Nov 8, 2024 · 4 comments
Open
2 tasks done

Connects on PC but not in Android #57

hellomynameisnoone opened this issue Nov 8, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@hellomynameisnoone
Copy link

Requirements

  • I have searched the issues of this repository and believe that this is not a duplicate
  • I have confirmed this bug exists on the latest version of the app

Platform

Android

Description

I was able to conect in my LAN server on PC but not in Android

Steps to reproduce

  1. Added my LAN IP
  2. Keeps looping to connect

Expected behavior

Work

Actual behavior

Keeps connecting

Screenshots or additional context

Screenshot_20241108-173839_Ollama

@hellomynameisnoone hellomynameisnoone added the bug Something isn't working label Nov 8, 2024
@hellomynameisnoone hellomynameisnoone changed the title Conect on PC but not in Android Connects on PC but not in Android Nov 8, 2024
@JHubi1
Copy link
Owner

JHubi1 commented Nov 8, 2024

Did you set OLLAMA_HOST described in this wiki article?

@hellomynameisnoone
Copy link
Author

hellomynameisnoone commented Nov 8, 2024

Yep

Screenshot_20241108-175635_Firefox

@FUsIon80
Copy link

Same problem

@hookery
Copy link

hookery commented Nov 21, 2024

same problem, maybe the cause of SSL certificate?


I have test this issue, it is the SSL issue. First version, my ollama proxy via a host with directly using IP address and SSL certificate is about IP address. As we know , lots of device would not count it as a secure connection. Then i add a domain for my server, and add a SSL for the domain. Then it worked, the APP connect my server. I guess the cause is about validate the host by system call, and it trigers the secure policy and reject the connection somehow.

Probably there are two solution, add validation SSL for your server or change the validation call by some insecure way? LIKE curl with parameter -k.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants