Skip to content

error reading server preface: http2: frame too large #10562

Open
@coRpTitan

Description

Before you start please confirm the following.

Problem Description

Hi,

When I define new stack like this:

services:
  test:
    build: https://ghp_TOKEN@github.com/USERNAME/REPONAME.git#:FOLDER/SUBFOLDER

And deploy stack, it gives following error:
failed to deploy a stack: listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: http2: frame too large"

If I put all this into file docker-compose.yaml locally on server and run docker compose up then deployment is successful.

Expected Behavior

Stack should be build properly as if I would build it from bash directly on server.

Actual Behavior

Stack throws error: failed to deploy a stack: listing workers for Build: failed to list workers: Unavailable: connection error: desc = "error reading server preface: http2: frame too large"

Steps to Reproduce

  1. Login to portainer
  2. Go to Stacks -> Add Stack
  3. Select Web Editor and paste there:
services:
  test:
    build: https://ghp_TOKEN@github.com/USERNAME/REPONAME.git#:FOLDER/SUBFOLDER
  1. Give it a name
  2. Press on Deploy the stack button.

Portainer logs or screenshots

image

Portainer version

2.19.1

Portainer Edition

Community Edition (CE)

Platform and Version

Docker Standalone 24.0.7

OS and Architecture

linux x86_64 Debian GNU/Linux 11 (bullseye)

Browser

Firefox 119.0 64-bit

What command did you use to deploy Portainer?

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Additional Information

No response

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