Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
SMBP-2:android-tests spalda2$ git push origin a2at
Enter passphrase for key '/Users/spalda2/.ssh/id_rsa':
Counting objects: 30, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (27/27), done.
Writing objects: 100% (30/30), 4.68 KiB | 1.56 MiB/s, done.
Total 30 (delta 22), 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:medhandint/android-tests.git
! [remote rejected] a2at -> a2at (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:medhandint/android-tests.git'