Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When Click Create template DB #841

Open
yasr3mr96 opened this issue Aug 20, 2019 · 0 comments
Open

When Click Create template DB #841

yasr3mr96 opened this issue Aug 20, 2019 · 0 comments

Comments

@yasr3mr96
Copy link

yasr3mr96 commented Aug 20, 2019

Traceback (most recent call last):
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connection.py", line 160, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/util/connection.py", line 80, in create_connection
raise err
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/util/connection.py", line 70, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 355, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.5/http/client.py", line 1106, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.5/http/client.py", line 1151, in _send_request
self.endheaders(body)
File "/usr/lib/python3.5/http/client.py", line 1102, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
self.send(msg)
File "/usr/lib/python3.5/http/client.py", line 877, in send
self.connect()
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connection.py", line 183, in connect
conn = self._new_conn()
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connection.py", line 169, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ffa4cd43a20>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yasser/.local/lib/python3.5/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/connectionpool.py", line 641, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/yasser/.local/lib/python3.5/site-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='s1.odoo.local', port=80): Max retries exceeded with url: /saas_server/new_database (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffa4cd43a20>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/yasser/odoo/11/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/home/yasser/odoo/11/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/home/yasser/odoo/11/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/home/yasser/odoo/11/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/home/yasser/odoo/11/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/yasser/odoo/11/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/home/yasser/odoo/11/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/home/yasser/odoo/11/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/home/yasser/odoo/11/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/home/yasser/odoo/11/odoo/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/home/yasser/odoo/11/odoo/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/home/yasser/odoo/11/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/home/yasser/odoo/11/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "/home/yasser/odoo/11/saas/saas_portal/models/saas_portal.py", line 410, in create_template_button
return self.create_template()
File "/home/yasser/odoo/11/saas/saas_portal/models/saas_portal.py", line 428, in create_template
res = requests.Session().send(req, **req_kwargs)
File "/home/yasser/.local/lib/python3.5/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/home/yasser/.local/lib/python3.5/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='s1.odoo.local', port=80): Max retries exceeded with url: /saas_server/new_database (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffa4cd43a20>: Failed to establish a new connection: [Errno 111] Connection refused',))


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant