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

Client is throwing READ error when requesting healthy HTTP endpoints. #1801

Open
RobinQu opened this issue Mar 14, 2024 · 1 comment
Open

Comments

@RobinQu
Copy link

RobinQu commented Mar 14, 2024

I am having trouble to consume endpoints of Ollama.app, while curl and debug utilities like Postman are working just fine.

Envrionment

conan detected profile

arch=armv8
build_type=Release
compiler=apple-clang
compiler.cppstd=gnu17
compiler.libcxx=libc++
compiler.version=15
os=Macos

cpp-httplib @ 0.15.3
Ollama 0.1.28

Detailed informantion

  • Repo to reproduce issue: https://github.com/RobinQu/httplib-test
  • Screenshot of failed run: Screenshot 1 below.
  • Successful run of curl: Screenshot 2 below.
  • Seccsesful run of Apifox (a similiar tool to Postman): Screenshot 3 below.

Screentshot 1

image

Screenshot 2

image

Screenshot 3

image
@RobinQu
Copy link
Author

RobinQu commented Mar 14, 2024

It looks like I am not alone.
#1379

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

1 participant