Hi,

this is my first post here, so I may be inaccurate. Thanks in advance for 
your patience.
I have a problem pushing commits to Gerrit using git on a Linux node. I 
think it is relevant to explain the configuration I have before going into 
the problem description:

1. I have a Windows 7 workstation with git bash client installed (1.9.5).
2. I have a Linux node running into VMWare on Windows 7 mentioned in 1.
3. The Linux node mentioned 2. runs git client for Linux (version 2.7.4)

I have problem pushing commits Gerrit on Linux node (using git repository 
Project/Intel)
I have no problem pushing commits to Gerrit on Windows 7 node (using git 
repository Project/Intel)
I have no problem pushing commits to Gerrit on Linux node (using different 
git repository Project/Core)

Also:

Gerrit instance runs on a separate node in my company network.
Both projects (Project/Intel and Project/Core) are hosted on the same 
server and have similar configuration.

Here is the explanation of the problem and how I reproduce on the Linux 
node. I can't reproduce on the Windows node

osboxes@osboxes ~/Product/Intel $ uname -a
Linux osboxes 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 
i686 i686 i686 GNU/Linux


osboxes@osboxes ~/Product/Intel $ git --version
13:17:06.408392 git.c:344               trace: built-in: git 'version'
git version 2.7.4


osboxes@osboxes ~/Product/Intel $ git config --list
user.email=john.sm...@mycompany.com
user.name=John Smith
core.editor=vi
http.postbuffer=1048576000
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://mygitserver.com/gerrit-platforms/Product/Intel
remote.origin.fetch=+refs/heads/DEVELOPMENT_BRANCH:refs/remotes/origin/DEVELOPMENT_BRANCH
branch.DEVELOPMENT_BRANCH.remote=origin
branch.DEVELOPMENT_BRANCH.merge=refs/heads/DEVELOPMENT_BRANCH


osboxes@osboxes ~/Product/Intel $ git push origin 
HEAD:refs/for/DEVELOPMENT_BRANCH

[...]

Counting objects: 3, done.
Compressing objects: 100% (3/3), done.
10:38:59.722316 pkt-line.c:80           packet:          git< PACK ...
Writing objects: 100% (3/3), 407 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
10:38:59.724724 pkt-line.c:80           packet:          git> 0000
* Couldn't find host ams.mycompany.com in the .netrc file; using defaults
* Found bundle for host ams.mycompany.com: 0x8cf9500 [can pipeline]
* Re-using existing connection! (#1) with host ams.mycompany.com
* Connected to ams.mycompany.com (10.10.10.10) port 443 (#1)
* Server auth using Basic with user 'john.smith'
> POST /gerrit-platforms/Product/Intel/git-receive-pack HTTP/1.1
Host: ams.mycompany.com
Authorization: Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User-Agent: git/2.7.4
Accept-Encoding: gzip
Content-Type: application/x-git-receive-pack-request
Accept: application/x-git-receive-pack-result
Content-Length: 604

* upload completely sent off: 604 out of 604 bytes
< HTTP/1.1 200 OK
< Date: Mon, 16 Jan 2017 10:38:59 GMT
< Server: Apache
< Content-Type: application/x-git-receive-pack-result
< Content-Length: 33
<
10:38:59.924253 pkt-line.c:80           packet:     sideband< \3error: 
Internal server error
remote: error: Internal server error
fatal: The remote end hung up unexpectedly
* Connection #1 to host ams.mycompany.com left intact
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 
'https://mygitserver.com/gerrit-platforms/Product/Intel/Intel'
osboxes@osboxes ~/Product/Intel $

This issue is 100% reproducible on my Linux box, but I haven't tried on 
other boxes, at the moment.
How do I troubleshoot this?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to