Skip to content

Git ssh access does not work. When ENABLE_GZIP = true, http doesn't work too. #412

@andmarios

Description

@andmarios

With the current master branch [0.4.9.0831 Beta] I can not access my repositories through ssh.

The git commands (clone, push, etc) just hang, waiting for a response from gogs.
If I use a wrong name for a repository, gogs informs me that given repository does not exist and
closes the connection as expected.
When I use the correct name, it hangs. If I kill the git command with ctrl+c, then the following line is appended to log/serv.log:

2014/09/01 02:08:52 [serve.go:181 runServ()] [F] Fail to execute git command: signal: broken pipe

Also when I enable the option ENABLE_GZIP in conf/app.ini then it is no longer possible to access the repositories through http/https.
In this case the error doesn't come from gogs but from the git command and is:

fatal: unable to access 'http://server/user/temp.git/': Error while processing content unencoding: invalid stored block lengths

Metadata

Metadata

Assignees

No one assigned

    Labels

    💊 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions