error reading server preface: http2: frame too large #10562
Description
Before you start please confirm the following.
- Yes, I've searched similar issues on GitHub.
- Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.
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
- Login to portainer
- Go to Stacks -> Add Stack
- Select Web Editor and paste there:
services:
test:
build: https://ghp_TOKEN@github.com/USERNAME/REPONAME.git#:FOLDER/SUBFOLDER
- Give it a name
- Press on Deploy the stack button.
Portainer logs or screenshots
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