s.aranguiz
(Sebastian Aranguiz)
1
Hi, I’m trying to deploy a Docker app with git but always get the same error on the deployment logs:
Cannot build Application "xxx" due to an error with git: Error { code: -1, klass: 34, message: "unexpected http status code: 404" }
The repo also has a private submodule, but it’s configured with git protocol and a valid GIT_SSH_KEY
env var is added on the project.
Qovery application link
Pierre_Mavro
(Pierre Mavro - CTO & CO-Founder)
2
Hi,
Did you take a look at this? Help and Support | Docs | Qovery
Thanks
s.aranguiz
(Sebastian Aranguiz)
3
Hi Pierre, I followed this guide.
I managed to solve the problem, the ed25519
ssh key I was using somehow was not compatible with Qovery.
I initially generated the key with 1Password, It had the following format.
-----BEGIN PRIVATE KEY-----
2 lines
-----END PRIVATE KEY-----
I then generated a different key using ssh-keygen -t ed25519
:
-----BEGIN OPENSSH PRIVATE KEY-----
5 lines
-----END OPENSSH PRIVATE KEY-----
This last one worked perfectly on Qovery, however, git commands on my machine accept both cloning.
I hope this helps if someone encounters a similar problem.
Pierre_Mavro
(Pierre Mavro - CTO & CO-Founder)
4
Interesting, thanks for the feedback. Not the first time I see this with cloud providers (AWS is the one I remember)