Skip to content

unexpected media type text/html #2676

Closed

Description

@pomland-94

Description

Hey,
I get the following error on different images when I try to Pull and run them. I don't know how to fix this.

Steps to reproduce the issue

  1. nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate

Describe the results you received and expected

[root::admingw-01]
~/synapse: nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate
docker.io/library/synapse:latest: resolving      |--------------------------------------|
elapsed: 0.5 s                    total:   0.0 B (0.0 B/s)
docker.io/library/synapse:latest: resolving      |--------------------------------------|
docker.io/library/synapse:latest: resolving      |--------------------------------------|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
unknown-sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: downloading    |--------------------------------------|    0.0 B/203.7 KiB
elapsed: 2.9 s                                                                   total:   0.0 B (0.0 B/s)
WARN[0003] reference for unknown type: text/html
FATA[0003] failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: not found
[root::admingw-01]
~/synapse:

What version of nerdctl are you using?

[root::admingw-01]
~/synapse: nerdctl version
Client:
 Version:	v1.7.1
 OS/Arch:	linux/arm64
 Git commit:	4692b3eaafc5dc3a3883d3b1cc0e70a35e3b5d32
 buildctl:
  Version:	v0.12.4
  GitCommit:	833949d0f7908608b00ab6b93b8f92bdb147fcca

Server:
 containerd:
  Version:	v1.7.10
  GitCommit:	4e1fe7492b9df85914c389d1f15a3ceedbb280ac
 runc:
  Version:	1.1.10
  GitCommit:	v1.1.10-0-g18a0cb0f
[root::admingw-01]
~/synapse:

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Activity

  1. yankay commented on Dec 4, 2023

    @yankay
    Contributor

    Description

    Hey, I get the following error on different images when I try to Pull and run them. I don't know how to fix this.

    Steps to reproduce the issue

    1. nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate

    Describe the results you received and expected

    [root::admingw-01]
    ~/synapse: nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate
    docker.io/library/synapse:latest: resolving      |--------------------------------------|
    elapsed: 0.5 s                    total:   0.0 B (0.0 B/s)
    docker.io/library/synapse:latest: resolving      |--------------------------------------|
    docker.io/library/synapse:latest: resolving      |--------------------------------------|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
    unknown-sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: downloading    |--------------------------------------|    0.0 B/203.7 KiB
    elapsed: 2.9 s                                                                   total:   0.0 B (0.0 B/s)
    WARN[0003] reference for unknown type: text/html
    FATA[0003] failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: not found
    [root::admingw-01]
    ~/synapse:
    

    What version of nerdctl are you using?

    [root::admingw-01]
    ~/synapse: nerdctl version
    Client:
     Version:	v1.7.1
     OS/Arch:	linux/arm64
     Git commit:	4692b3eaafc5dc3a3883d3b1cc0e70a35e3b5d32
     buildctl:
      Version:	v0.12.4
      GitCommit:	833949d0f7908608b00ab6b93b8f92bdb147fcca
    
    Server:
     containerd:
      Version:	v1.7.10
      GitCommit:	4e1fe7492b9df85914c389d1f15a3ceedbb280ac
     runc:
      Version:	1.1.10
      GitCommit:	v1.1.10-0-g18a0cb0f
    [root::admingw-01]
    ~/synapse:
    

    Are you using a variant of nerdctl? (e.g., Rancher Desktop)

    None

    HI @pomland-94

    We cannot access the image synapse , would you please give some reproducible step :-)
    Thanks

  2. apostasie commented on Sep 10, 2024

    @apostasie
    Contributor

    @AkihiroSuda this looks to me like a transient Docker Hub error returning an html error page.

    While we could do better than that in term of feedback (#3302), I believe this is a non-issue and we should close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions