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

Guacamole connect timeout #506

Open
YanChii opened this issue Sep 30, 2020 · 0 comments
Open

Guacamole connect timeout #506

YanChii opened this issue Sep 30, 2020 · 0 comments

Comments

@YanChii
Copy link
Contributor

YanChii commented Sep 30, 2020

Error in main.log. Might be connected to #477

2020-09-30 21:11:41,821 DEBUG [gui.vm.guacamole]: Creating guacamole user-mapping for user admin.
2020-09-30 21:11:41,822 INFO [gui.vm.guacamole]: Performing guacamole login of user admin.
2020-09-30 21:11:46,845 ERROR [gui.vm.guacamole]: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5)
Traceback (most recent call last):
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib64/python3.6/http/client.py", line 1346, in getresponse
    response.begin()
  File "/usr/lib64/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.6/http/client.py", line 268, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib64/python3.6/socket.py", line 586, in readinto
    return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/util/retry.py", line 368, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise
    raise value
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/opt/erigones/envs/lib/python3.6/site-packages/urllib3/connectionpool.py", line 306, in _raise_timeout
    raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/erigones/gui/vm/guacamole.py", line 137, in login
    allow_redirects=False
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/opt/erigones/envs/lib/python3.6/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='127.0.0.1', port=8080): Read timed out. (read timeout=5)
2020-09-30 21:11:47,091 ERROR [django.request]: Internal Server Error: /servers/c8test.lan/console/vnc/
Traceback (most recent call last):
  File "/opt/erigones/envs/lib/python3.6/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/opt/erigones/envs/lib/python3.6/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
    return view_func(request, *args, **kwargs)
  File "/opt/erigones/gui/decorators.py", line 54, in wrap
    return fun(request, *args, **kwargs)
  File "/opt/erigones/gui/vm/views.py", line 880, in vnc
    gcookie = g.login()
  File "/opt/erigones/gui/vm/guacamole.py", line 166, in login
    self.usr, status, exc or r.text)
UnboundLocalError: local variable 'exc' referenced before assignment
2020-09-30 21:11:56,304 INFO [sio.namespaces]: [admin - h1q0i6y2g5uefvpnjl53l4dudz9rhbay - 5951959544733572] Unsubscribing from que event monitor
2020-09-30 21:11:56,305 INFO [sio.namespaces]: [admin - h1q0i6y2g5uefvpnjl53l4dudz9rhbay - 5951959544733572] Game over
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant