Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
git push problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Maciej Sawicki  
View profile  
 More options Jun 22 2012, 9:07 am
From: Maciej Sawicki <viroos...@gmail.com>
Date: Fri, 22 Jun 2012 06:07:32 -0700 (PDT)
Local: Fri, Jun 22 2012 9:07 am
Subject: git push problem

Hi,
I can not push to git repo. It was working fine until today. I had
following error:  
----------------------------------------
Exception happened during processing of request from ('192.168.1.125',
36010)
Traceback (most recent call last):
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/httpserver.py",
line 1068, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__
    self.handle()
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/httpserver.py",
line 442, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/httpserver.py",
line 437, in handle_one_request
    self.wsgi_execute()
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/httpserver.py",
line 287, in wsgi_execute
    self.wsgi_start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/deploy/config.py",
line 291, in __call__
    return self.app(environ, start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/gzipper.py",
line 38, in __call__
    response.gzip_start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/cascade.py",
line 130, in __call__
    return self.apps[-1](environ, start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /paste/registry.py",
line 379, in __call__
    app_iter = self.application(environ, start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /rhodecode/lib/middleware/https_fixup.py",
line 37, in __call__
    return self.application(environ, start_response)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /pylons/middleware.py",
line 150, in __call__
    self.app, environ, catch_exc_info=True)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /pylons/util.py",
line 51, in call_wsgi_application
    output.extend(app_iter)
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /dulwich/web.py",
line 231, in handle_service_request
    handler.handle()
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /dulwich/server.py",
line 695, in handle
    ref = self.proto.read_pkt_line()
  File
"/var/lib/mercurial-server/rhodecode-venv/local/lib/python2.7/site-packages /dulwich/protocol.py",
line 103, in read_pkt_line
    raise HangupException()
HangupException: The remote server unexpectedly closed the connection.
----------------------------------------

I think probably the problem is due to commit size - 1.5 MB. I made new
repo clone and added only one 4B text file and it worked.

I use Apache as reverse proxy. I added SSLRenegBufferSize 10485760
 directive to apache config  and [http] postBuffer = 524288000 to .gitconfig
but it didn't helped.

My system info:
Ubuntu Server 12.04
RhodeCode 1.3.4
Python 2.7.3
dulwich==0.8.5
git version 1.7.9.5

I will appreciate any help.

regards,
Maciej Sawicki


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Kuzminski  
View profile   Translate to Translated (View Original)
 More options Jun 25 2012, 1:17 pm
From: Marcin Kuzminski <marcin...@gmail.com>
Date: Mon, 25 Jun 2012 10:17:43 -0700 (PDT)
Local: Mon, Jun 25 2012 1:17 pm
Subject: Re: git push problem

Did you try body_size in apache ? or did you try bypassing apache ?  to
pinpoint it's really apache that is cutting off ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Møller Andersen  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 5:13 am
From: Thomas Møller Andersen <t...@tmasys.dk>
Date: Thu, 28 Jun 2012 02:13:27 -0700 (PDT)
Local: Thurs, Jun 28 2012 5:13 am
Subject: Re: git push problem

I have tried the same without any luck. What do you mean exactly by
"body_size in apache"?

/Thomas

Den mandag den 25. juni 2012 19.17.43 UTC+2 skrev Marcin Kuzminski:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Kuzminski  
View profile   Translate to Translated (View Original)
 More options Jun 28 2012, 7:53 pm
From: Marcin Kuzminski <marcin...@gmail.com>
Date: Thu, 28 Jun 2012 16:53:49 -0700 (PDT)
Local: Thurs, Jun 28 2012 7:53 pm
Subject: Re: git push problem

HI,

Sorry i'm thinking the "nginx" way.
If you use reverse proxy there can be issues with body_size limit for
proxy_pass

Did you try out getting apache out of equation and test ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Møller Andersen  
View profile  
 More options Jul 4 2012, 5:13 am
From: Thomas Møller Andersen <t...@tmasys.dk>
Date: Wed, 4 Jul 2012 02:13:16 -0700 (PDT)
Local: Wed, Jul 4 2012 5:13 am
Subject: Re: git push problem

Yes, when i push to Rhodecode directly on port 5000, i get this error:

----------------------------------------
2012-06-30 09:36:20.612 INFO  [rhodecode.lib.base] User:
<AuthUser('id:79:XXX|True')> accessed /
2012-06-30 09:36:20.613 INFO  [rhodecode.lib.auth] user XXX is
authenticated and granted access to HomeController:__before__
2012-06-30 09:36:21.071 INFO  [rhodecode.lib.base] Request to / time: 0.506s
2012-06-30 09:36:47.848 INFO  [rhodecode.lib.utils] Adding user
<User('id:79:XXX')>, action push: on XXX
2012-06-30 09:36:47.852 INFO  [rhodecode.lib.middleware.simplegit] push
action on GIT repo "XXX"
2012-06-30 09:36:48.628 INFO  [rhodecode.lib.middleware.simplegit] push
action on GIT repo "XXX"
2012-06-30 09:36:48.629 INFO  [dulwich.web] Handling service request for
git-receive-pack
2012-06-30 09:36:48.799 INFO  [rhodecode.lib.middleware.simplegit] push
action on GIT repo "XXX"
2012-06-30 09:36:48.799 INFO  [dulwich.web] Handling service request for
git-receive-pack
----------------------------------------
Exception happened during processing of request from ('172.X.X.X', 50785)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/paste/httpserver.py", line
1068, in process_request_in_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 323, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 638, in __init__
    self.handle()
  File "/usr/local/lib/python2.7/dist-packages/paste/httpserver.py", line
442, in handle
    BaseHTTPRequestHandler.handle(self)
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/local/lib/python2.7/dist-packages/paste/httpserver.py", line
437, in handle_one_request
    self.wsgi_execute()
  File "/usr/local/lib/python2.7/dist-packages/paste/httpserver.py", line
287, in wsgi_execute
    self.wsgi_start_response)
  File "/usr/local/lib/python2.7/dist-packages/paste/gzipper.py", line 38,
in __call__
    response.gzip_start_response)
  File "/usr/local/lib/python2.7/dist-packages/paste/cascade.py", line 130,
in __call__
    return self.apps[-1](environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/paste/registry.py", line
379, in __call__
    app_iter = self.application(environ, start_response)
  File
"/usr/local/lib/python2.7/dist-packages/rhodecode/lib/middleware/https_fixu p.py",
line 37, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/pylons/middleware.py", line
150, in __call__
    self.app, environ, catch_exc_info=True)
  File "/usr/local/lib/python2.7/dist-packages/pylons/util.py", line 51, in
call_wsgi_application
    output.extend(app_iter)
  File "/usr/local/lib/python2.7/dist-packages/dulwich/web.py", line 231,
in handle_service_request
    handler.handle()
  File "/usr/local/lib/python2.7/dist-packages/dulwich/server.py", line
695, in handle
    ref = self.proto.read_pkt_line()
  File "/usr/local/lib/python2.7/dist-packages/dulwich/protocol.py", line
103, in read_pkt_line
    raise HangupException()
HangupException: The remote server unexpectedly closed the connection.
----------------------------------------

/Thomas

Den fredag den 29. juni 2012 01.53.49 UTC+2 skrev Marcin Kuzminski:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marcin Kuzminski  
View profile  
 More options Jul 4 2012, 2:49 pm
From: Marcin Kuzminski <marcin...@gmail.com>
Date: Wed, 4 Jul 2012 11:49:02 -0700 (PDT)
Local: Wed, Jul 4 2012 2:49 pm
Subject: Re: git push problem

Hard to say anything from this log, but it might be well known dulwich
issues, in beta version we don't use dulwich for this anymore but rely on
gitweb. Maybe you can try this out. ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Møller Andersen  
View profile  
 More options Jul 5 2012, 2:56 am
From: Thomas Møller Andersen <t...@tmasys.dk>
Date: Wed, 4 Jul 2012 23:56:55 -0700 (PDT)
Local: Thurs, Jul 5 2012 2:56 am
Subject: Re: git push problem

Ok. What is the fast path to go beta from release 1.3.6?

Den onsdag den 4. juli 2012 20.49.02 UTC+2 skrev Marcin Kuzminski:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »