mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Met the 503 code status error when run ollama to connect localhost for chat on M3 apple silicon #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smile836 on GitHub (May 20, 2024).
Description
I met the 503 code status error, when I run ollama to connect localhost for chat on apple silicon.
Local machine: M3 Max MacBook Pro, Ollama, llama3, python3.11
The code:
the error:
Root casuse analysis
I try curl to test API is OK
check server is OK
add timeout, but also get 503
I would like to know the root cause of this error. I suspect it's because the apple silicon is not supported, is that correct?
@wxjttxs commented on GitHub (May 28, 2024):
I met the same error. how could do to solve this problem?
@smile836 commented on GitHub (May 29, 2024):
The issue was solved. When I close my VPN, it run OK. You can check if your VPN is off.
@yili001 commented on GitHub (Sep 27, 2025):
I am using a global proxy, this working for me too.
@PatrickCao2015 commented on GitHub (Oct 24, 2025):
it works for me