YunoHost-Apps / mautrix_signal_ynh

Matrix signal package for YunoHost
GNU Affero General Public License v3.0
4 stars 10 forks source link

registration fail #74

Open rosbeef opened 1 year ago

rosbeef commented 1 year ago

Describe the bug

registration fail

Context

Steps to reproduce

registration works

Logs

Traceback (most recent call last): File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 491, in handle await self._run_handler(handler, evt) File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix_signal/commands/auth.py", line 206, in enter_captcha_token username = await evt.bridge.signal.register(phone, voice=voice, captcha=captcha) File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/signald.py", line 160, in register resp = await self.request_v1("register", account=phone, voice=voice, captcha=captcha) File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 244, in request_v1 return await self._request(command, expected_response=command, version="v1", data) File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 238, in _request resp_type, resp_data = await self._raw_request(command, data) File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 235, in _raw_request return await asyncio.shield(future) mausignald.errors.InternalError: error registering with server

Thatoo commented 1 year ago

I face a very similar issue issue

[2023-07-08 19:15:24,861] [ERROR@mau.commands] Unhandled error while handling command register --captcha signal-hcaptcha.5fad97ac-7d06-4e44-b18a-b950b20148ff.registration.P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.hKdwYXNza2V5xQRtGZ4hKlSg1TQYhBjBJS6vTHrikNvOrXP6-cHsrDvanGZMRvaRUKPAofWhWkdph6ZCouJv_9QQWKVWGl1n8WbXZhm-utzcnfqAn2EewcFRyncfKPzvqhfCIKsY5IxgozixwtE8EE6Yjrh4K-7-RCmAxSOu_TSvaas3jZJAEiaWZ8OY9g8UQh3tgNPviPIewbjcyBoObR-8K92W-zhMlK7uEwzNW57f3sF9poGeyXnwO27vcYgpzipe0E5AUQJnSfeswzO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XnlIyCGGaWYJWm21DM2LBWOEma1FxpO3LzuYFPDX3NjRZpIKWnous0H2KS39K3uCqzPmRq1TMMlRA7XigdIx18yU7vPtbM80dV5FI9KT4TcJmkueMK4jFVliTrFBRJboVGIXUzGj5LjNwR_zzI_uPNI6F_yHgUAxc6cA-FDuAi0dGKlMMyjZXhwzmSpmd6oc2hhcmRfaWTOAzGDb6JwZAA.Rgo21eS59dFZSAytqEWTbv6-ZUeJLmyEVMpNxNgpdRQ +33712345678 from @azerty:mydomain.xyz (ref: 1688749721)
Traceback (most recent call last):
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 491, in handle
    await self._run_handler(handler, evt)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 340, in __call__
    return await self._handler(evt)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix_signal/commands/auth.py", line 180, in register
    username = await evt.bridge.signal.register(phone, voice=voice, captcha=captcha)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/signald.py", line 160, in register
    resp = await self.request_v1("register", account=phone, voice=voice, captcha=captcha)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 244, in request_v1
    return await self._request(command, expected_response=command, version="v1", **data)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 238, in _request
    resp_type, resp_data = await self._raw_request(command, **data)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mausignald/rpc.py", line 235, in _raw_request
    return await asyncio.shield(future)
mausignald.errors.InternalError: error registering with server