Skip to content

Instantly share code, notes, and snippets.

@LefterisJP
Created July 24, 2018 12:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LefterisJP/0b72f810cabf2c48647fadd8c74a755b to your computer and use it in GitHub Desktop.
Save LefterisJP/0b72f810cabf2c48647fadd8c74a755b to your computer and use it in GitHub Desktop.
Matrix error
Traceback (most recent call last):
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connection.py", line 171, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/connection.py", line 56, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_socketcommon.py", line 211, in getaddrinfo
return get_hub().resolver.getaddrinfo(host, port, family, type, proto, flags)File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/resolver/thread.py", line 65, in getaddrinfo
return self.pool.apply(_socket.getaddrinfo, args, kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/pool.py", line 159, in apply
return self.spawn(func, *args, **kwds).get()
File "src/gevent/event.py", line 381, in gevent._event.AsyncResult.get
File "src/gevent/event.py", line 409, in gevent._event.AsyncResult.get
File "src/gevent/event.py", line 399, in gevent._event.AsyncResult.get
File "src/gevent/event.py", line 379, in gevent._event.AsyncResult._raise_exception
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/_compat.py", line 47, in reraise
raise value.with_traceback(tb)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/gevent/threadpool.py", line 281, in _worker
value = func(*args, **kwargs)
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 849, in _validate_conn
conn.connect()
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connection.py", line 314, in connect
conn = self._new_conn()
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connection.py", line 180, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f662441d518>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/requests/adapters.py", line 445, in send
timeout=timeout
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='transport03.raiden.network', port=443): Max retries exceeded with url: /_matrix/client/r0/user_directory/search?access_token=MDAyOGxvY2F0aW9uIHRyYW5zcG9ydDAzLnJhaWRlbi5uZXR3b3JrCjAwMTNpZGVudGlmaWVyIGtleQowMDEwY2lkIGdlbiA9IDEKMDA1OWNpZCB1c2VyX2lkID0gQDB4MjU1MTE2OTljMjUyZWVhMjY3ODI2Njg1N2M5OGY0NTlkZjk3Yjc3Yzp0cmFuc3BvcnQwMy5yYWlkZW4ubmV0d29yawowMDE2Y2lkIHR5cGUgPSBhY2Nlc3MKMDAyMWNpZCBub25jZSA9IHk2QyZUdFNRdnc5dCpvZjYKMDAyZnNpZ25hdHVyZSCBgwxBzJtodiu6riWTqVUH8VY5ccU8_zrGs9SW00Ppkwo (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f662441d518>: Failed to establish a new connection: [Errno -2] Name or service not known',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 670, in _send
verify=self.validate_cert
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/requests/adapters.py", line 513, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='transport03.raiden.network', port=443): Max retries exceeded with url: /_matrix/client/r0/user_directory/search?access_token=MDAyOGxvY2F0aW9uIHRyYW5zcG9ydDAzLnJhaWRlbi5uZXR3b3JrCjAwMTNpZGVudGlmaWVyIGtleQowMDEwY2lkIGdlbiA9IDEKMDA1OWNpZCB1c2VyX2lkID0gQDB4MjU1MTE2OTljMjUyZWVhMjY3ODI2Njg1N2M5OGY0NTlkZjk3Yjc3Yzp0cmFuc3BvcnQwMy5yYWlkZW4ubmV0d29yawowMDE2Y2lkIHR5cGUgPSBhY2Nlc3MKMDAyMWNpZCBub25jZSA9IHk2QyZUdFNRdnc5dCpvZjYKMDAyZnNpZ25hdHVyZSCBgwxBzJtodiu6riWTqVUH8VY5ccU8_zrGs9SW00Ppkwo (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f662441d518>: Failed to establish a new connection: [Errno -2] Name or service not known',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/lefteris/ew/raiden/raiden/__main__.py", line 15, in <module>
main()
File "/home/lefteris/ew/raiden/raiden/__main__.py", line 11, in main
run(auto_envvar_prefix='RAIDEN')
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 1043, in invoke
return Command.invoke(self, ctx)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/lefteris/ew/raiden/raiden/ui/cli.py", line 989, in run
app_ = _run_app()
File "/home/lefteris/ew/raiden/raiden/ui/cli.py", line 877, in _run_app
app_ = ctx.invoke(app, **kwargs)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/lefteris/ew/raiden/raiden/ui/cli.py", line 678, in app
discovery=discovery,
File "/home/lefteris/ew/raiden/raiden/app.py", line 119, in __init__
discovery=discovery,
File "/home/lefteris/ew/raiden/raiden/raiden_service.py", line 216, in __init__
self.start()
File "/home/lefteris/ew/raiden/raiden/raiden_service.py", line 288, in start
on_raiden_event(self, event)
File "/home/lefteris/ew/raiden/raiden/raiden_event_handler.py", line 336, in on_raiden_event
handle_send_processed(raiden, event)
File "/home/lefteris/ew/raiden/raiden/raiden_event_handler.py", line 132, in handle_send_processed
processed_message,
File "/home/lefteris/ew/raiden/raiden/network/transport/matrix.py", line 259, in send_async
self._send_immediate(receiver_address, json.dumps(message.to_dict()))
File "/home/lefteris/ew/raiden/raiden/network/transport/matrix.py", line 587, in _send_immediate
room = self._get_room_for_address(receiver_address)
File "/home/lefteris/ew/raiden/raiden/network/transport/matrix.py", line 619, in _get_room_for_address
for user in self._client.search_user_directory(address_hex)
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/raiden_libs/network/matrix/client.py", line 106, in search_user_directory
'search_term': term,
File "/home/lefteris/.virtualenvs/raiden/lib/python3.6/site-packages/matrix_client/api.py", line 673, in _send
raise MatrixHttpLibError(e, method, endpoint)
matrix_client.errors.MatrixHttpLibError: Something went wrong in POST requesting https://transport03.raiden.network/_matrix/client/r0/user_directory/search: HTTPSConnectionPool(host='transport03.raiden.network', port=443): Max retries exceeded with url: /_matrix/client/r0/user_directory/search?access_token=MDAyOGxvY2F0aW9uIHRyYW5zcG9ydDAzLnJhaWRlbi5uZXR3b3JrCjAwMTNpZGVudGlmaWVyIGtleQowMDEwY2lkIGdlbiA9IDEKMDA1OWNpZCB1c2VyX2lkID0gQDB4MjU1MTE2OTljMjUyZWVhMjY3ODI2Njg1N2M5OGY0NTlkZjk3Yjc3Yzp0cmFuc3BvcnQwMy5yYWlkZW4ubmV0d29yawowMDE2Y2lkIHR5cGUgPSBhY2Nlc3MKMDAyMWNpZCBub25jZSA9IHk2QyZUdFNRdnc5dCpvZjYKMDAyZnNpZ25hdHVyZSCBgwxBzJtodiu6riWTqVUH8VY5ccU8_zrGs9SW00Ppkwo (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f662441d518>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment