Error during git push - ERROR: no more connections allowed

Issue #17697 new
Michael Gani
created an issue

Hi,

I've encountered an error during git push just today. Yesterday, I was committing without any problem.

─[mg5][mg5][±][master ↑6 ✓][~/repos/arsitagx]
└─▪ git push
Counting objects: 1, done.
Writing objects: 100% (1/1), 217 bytes | 217.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
remote: response = wrapped_callback(request, callback_args, callback_kwargs)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic/hooks/framework_django.py", line 544, in wrapper
remote: return wrapped(*args,
kwargs)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view
remote: return view_func(
args, kwargs)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/apps/httphooks/views.py", line 43, in inner
remote: key='suppress-console-messages')
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/models/query.py", line 660, in exists
remote: return self.query.has_results(using=self.db)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/models/sql/query.py", line 494, in has_results
remote: return compiler.has_results()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 806, in has_results
remote: return bool(self.execute_sql(SINGLE))
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 833, in execute_sql
remote: cursor = self.connection.cursor()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/base/base.py", line 233, in cursor
remote: cursor = self.make_cursor(self._cursor())
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/base/base.py", line 204, in _curso
remote: self.ensure_connection()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
remote: self.connect()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit
remote: six.reraise(dj_exc_type, dj_exc_value, traceback)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/base/base.py", line 199, in ensure_connection
remote: self.connect()
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/base/base.py", line 171, in connec
remote: self.connection = self.get_new_connection(conn_params)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 176, in get_new_connection
remote: connection = Database.connect(
conn_params)
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/newrelic/hooks/database_dbapi2.py", line 104, in call
remote: args, *kwargs), self._nr_dbapi2_module, (args, kwargs))
remote: File "/opt/python/domains/bitbucket.org/current/bitbucket/local/env/lib/python2.7/site-packages/psycopg2/init.py", line 164, in connect
remote: conn = _connect(dsn, connection_factory=connection_factory, async=async)
remote: OperationalError: ERROR: no more connections allowed (max_client_conn)
remote:
To bitbucket.org:arsitag/arsitagx.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:arsitag/arsitagx.git'

Can somebody help me out?

Thanks,

Michael

Comments (1)

  1. Log in to comment