[GH-ISSUE #3578] Can't connect to registry.ollama.ai "read: connection refused" #48722

Closed
opened 2026-04-28 09:08:36 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @simonfrey on GitHub (Apr 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3578

What is the issue?

I try to run ollama run codegemma, but on the pulling manifest stage I get the following error:

Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/codegemma/manifests/latest": dial tcp: lookup registry.ollama.ai on 10.89.3.1:53: read udp 10.89.3.11:54907->10.89.3.1:53: read: connection refused

What did you expect to see?

Running downloaded model

Steps to reproduce

Enter ollama run codegemma

Platform

In docker

Docker-Compose file

version: '3'

services:
  ollama:
    image: 'docker.io/ollama/ollama:0.1.31'
    ports:
      - 11434:11434
    networks:
      - ollama-network
    volumes:
      - ./ollama/:/root/.ollama
networks:
  ollama-network:
    driver: bridge
Originally created by @simonfrey on GitHub (Apr 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3578 ### What is the issue? I try to run `ollama run codegemma`, but on the `pulling manifest` stage I get the following error: ``` Error: pull model manifest: Get "https://registry.ollama.ai/v2/library/codegemma/manifests/latest": dial tcp: lookup registry.ollama.ai on 10.89.3.1:53: read udp 10.89.3.11:54907->10.89.3.1:53: read: connection refused ``` ### What did you expect to see? Running downloaded model ### Steps to reproduce Enter `ollama run codegemma` ### Platform In docker ### Docker-Compose file ```yaml version: '3' services: ollama: image: 'docker.io/ollama/ollama:0.1.31' ports: - 11434:11434 networks: - ollama-network volumes: - ./ollama/:/root/.ollama networks: ollama-network: driver: bridge ```
GiteaMirror added the bug label 2026-04-28 09:08:36 -05:00
Author
Owner

@simonfrey commented on GitHub (Apr 10, 2024):

Opening the manifest url https://registry.ollama.ai/v2/library/codegemma/manifests/latest in the browser I get this JSON error:

{"errors":[{"code":"MANIFEST_INVALID","message":"manifest invalid","detail":{}}]}
<!-- gh-comment-id:2047731899 --> @simonfrey commented on GitHub (Apr 10, 2024): Opening the manifest url https://registry.ollama.ai/v2/library/codegemma/manifests/latest in the browser I get this JSON error: ```json {"errors":[{"code":"MANIFEST_INVALID","message":"manifest invalid","detail":{}}]} ````
Author
Owner

@simonfrey commented on GitHub (Apr 10, 2024):

Okay, this was a podman specific problem. With docker directly it works. Nofix

<!-- gh-comment-id:2047753329 --> @simonfrey commented on GitHub (Apr 10, 2024): Okay, this was a podman specific problem. With docker directly it works. Nofix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48722