SSH Error - asn1: structure error: length too large

Hi,

I have set up a Mac Mini, installed gitlab-runner and registered as described in the installation guide. I have also setup SSH and keys - these are verified using ssh -T git@gitlab.com and a welcome message are returned. In Gitlab settings => CI/CD all is green and when running gitlab-runner verify no errors are found.

When I try to build I get this error:

Running with gitlab-runner 10.6.0 (a3543a27)
on ci-runner-ios f835d2ee
Using SSH executor…
ERROR: Preparation failed: asn1: structure error: length too large
Will be retried in 3s …
Using SSH executor…
ERROR: Preparation failed: asn1: structure error: length too large
Will be retried in 3s …
Using SSH executor…
ERROR: Preparation failed: asn1: structure error: length too large
Will be retried in 3s …
ERROR: Job failed (system failure): asn1: structure error: length too large

I have searched Google for some hours now without finding a solution… hope to get some help in this forum

Regards
Michael

1 Like

Hi,

I’ve same problem. Have you solved your issue?

Regards,
Selmac

Hi,

Yes - finally… changed from SSH Excecutor to shell and now the build works just fine

Regards
Michael