Skip to content

Push to GHE fails with error: fatal: early EOF #43

Closed
@francisschmaltz

Description

@francisschmaltz

Push to GHE kept failing with this error trace:

INFO[0000] Starting CodeQL Action sync tool version 1.0.0... 
DEBU[0000] Ensuring repository exists...                
DEBU[0001] Pushing Git releases to https://github.example.com/github/codeql-action.git... 
fatal: early EOF
FATA[0359] stream error: stream ID 13; INTERNAL_ERROR
Error pushing Action to GitHub Enterprise Server.
github.com/github/codeql-action-sync/internal/push.(*pushService).pushGit
	/home/runner/work/codeql-action-sync-tool/codeql-action-sync-tool/internal/push/push.go:193
github.com/github/codeql-action-sync/internal/push.Push
	/home/runner/work/codeql-action-sync-tool/codeql-action-sync-tool/internal/push/push.go:366
github.com/github/codeql-action-sync/cmd.glob..func3
	/home/runner/work/codeql-action-sync-tool/codeql-action-sync-tool/cmd/push.go:16
github.com/spf13/cobra.(*Command).execute
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:950
github.com/spf13/cobra.(*Command).Execute
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:887
github.com/spf13/cobra.(*Command).ExecuteContext
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:880
github.com/github/codeql-action-sync/cmd.Execute
	/home/runner/work/codeql-action-sync-tool/codeql-action-sync-tool/cmd/root.go:66
main.main
	/home/runner/work/codeql-action-sync-tool/codeql-action-sync-tool/main.go:15
runtime.main
	/opt/hostedtoolcache/go/1.14.7/x64/src/runtime/proc.go:203
runtime.goexit
	/opt/hostedtoolcache/go/1.14.7/x64/src/runtime/asm_amd64.s:1373 

The push always seemed to fail after 5 minutes so I tried increasing the timeout time in HAProxy but that had no effect

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions