[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lp-br-sp] matrix instalado no servidor
From: |
Sergio Durigan Junior |
Subject: |
Re: [lp-br-sp] matrix instalado no servidor |
Date: |
Fri, 22 Dec 2017 12:26:31 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
On Friday, December 22 2017, Alexandre Oliva wrote:
> On Dec 22, 2017, Sergio Durigan Junior <address@hidden> wrote:
>
>> Dei uma olhada no homeserver.log, mas não vi nenhum erro relacionado a
>> IPv6. Foi lá que você viu?
>
> Foi. Tipo esse:
>
> 2017-12-21 23:42:17,679 - synapse.http.outbound - 236 - INFO - GET-975-
> {GET-O-4} [berigora.net] Result: NoRouteError('Network is unreachable',)
> 2017-12-21 23:42:17,681 - synapse.rest.media.v1.media_repository - 268 -
> ERROR - GET-975- Failed to fetch remote media
> berigora.net/vyvPoPyztERJeiWLLfupanAk
> Traceback (most recent call last):
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/rest/media/v1/media_repository.py",
> line 244, in _download_remote_file
> "allow_remote": "false",
> NoRouteError: No route to host: 101: Network is unreachable.
>
>
> 2017-12-21 23:00:12,432 - synapse.http.matrixfederationclient - 212 - WARNING
> -
> POST-758- {GET-O-87} Sending request failed to matrix.org: GET
> matrix://matrix.o
> rg/_matrix/federation/v1/make_join/!vKgtYvvpDfiRgnauMk:matrix.org/@lxoliva:libre
> planetbr.org: NoRouteError('Network is unreachable',)
> 2017-12-21 23:00:12,432 - synapse.http.outbound - 236 - INFO - POST-758-
> {GET-O-
> 87} [matrix.org] Result: NoRouteError('Network is unreachable',)
> 2017-12-21 23:00:12,436 - synapse.federation.federation_client - 529 -
> WARNING -
> POST-758- Failed to make_join via matrix.org: Network is unreachable
> 2017-12-21 23:00:12,437 - synapse.util.async - 237 - INFO - POST-758-
> Releasing
> linearizer lock 'member' for key ('!vKgtYvvpDfiRgnauMk:matrix.org',)
> 2017-12-21 23:00:12,438 - synapse.http.server - 139 - ERROR - POST-758-
> Failed h
> andle request synapse.http.server._async_render on
> <synapse.rest.ClientRestResou
> rce object at 0x7f794ef48390>: <SynapseRequest at 0x7f7936c67c20 method=POST
> uri
> =/_matrix/client/r0/rooms/%21vKgtYvvpDfiRgnauMk%3Amatrix.org/join?access_token=<
> redacted> clientproto=HTTP/1.1 site=8448>
> Traceback (most recent call last):
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/http/server.py",
> line 116, in wrapped_request_handler
> yield request_handler(self, request, request_metrics)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/fa
> ilure.py", line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/http/server.py",
> line 257, in _async_render
> callback_return = yield callback(request, **kwargs)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/rest/client/v1/room.py",
> line 625, in on_POST
> content=event_content,
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py",
> line 171, in update_membership
> content=content,
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py",
> line 296, in _update_membership
> remote_room_hosts, room_id, target, content
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/handlers/room_member.py",
> line 142, in remote_join
> content,
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/fa
> ilure.py", line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/handlers/federation.py",
> line 898, in do_invite_join
> content,
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/handlers/federation.py",
> line 1197, in _make_and_verify_event
> content,
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/internet/defer.py",
> line 1384, in _inlineCallbacks
> result = result.throwExceptionIntoGenerator(g)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/twisted/python/failure.py",
> line 408, in throwExceptionIntoGenerator
> return g.throw(self.type, self.value, self.tb)
> File
> "/home/matrix/synapse/local/lib/python2.7/site-packages/synapse/federation/federation_client.py",
> line 532, in make_membership_event
> raise RuntimeError("Failed to send to any server.")
> RuntimeError: Failed to send to any server.
>
>
> Presenciei esta última, ao receber convite para entrar num grupo, e o
> erro no servidor chegou ao meu cliente. Outros convites eu sequer
> cheguei a receber, pelos mesmos motivos. Até mandar mensagem falhou uma
> vez.
Muito estranho. A configuração estava falando pro servidor escutar
*somente* na interface IPv4, e como você notou o IPv6 não estava
funcionando. Parece que as requisições estavam chegando sem problema
via IPv4, mas o matrix estava tentando fazer conexões IPv6 e falhando.
>> De qualquer modo, IPv4 tá funcionando e eu assumo que o matrix seja
>> esperto o suficiente pra tentar v4 quando v6 falha.
>
> Não tá parecendo que seja.
Eu até abriria um bug report, mas eles usam github e Jira. Aliás, você
comentou que conversou com os devs a respeito do recaptcha, né? Será
que não rola uma tentativa de convencê-los a usar pelo menos o gitlab?
:-).
>> Mas de fato, nós temos IPv6 disponível mas não configurado no
>> servidor. É uma boa oportunidade pra configurarmos isso.
>
> Obrigado por arrumar isso, parece que ajudou mesmo: já há mais de 3
> horas que não aparece nenhum "Network is unreachable" nos logs.
Ótimo!
Apesar de eu ter o maior prazer em manter o matrix rodando, eu não uso
ele :-). Então por favor, caso encontre(m) algum outro problema, pode
reportar!
> Aproveito pra enviar meus votos em cartão de boas festas criptografado:
> http://www.fsfla.org/svn/fsfla/ikiwiki/blogs/lxo/pres/santa/happy-gnu-ear.png
> :-)
Haha :-). Feliz "feriados" pra todos :-).
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/