Closed kueueue closed 3 years ago
@kueueue I think some the exception is missing from the logs you showed. Are there any more lines there?
You might try asking in #sygnal:matrix.org
for support.
You need to use Python 3 rather than Python 2.7 :)
You need to use Python 3 rather than Python 2.7 :)
Running
python3 -m sygnal.sygnal
returns
Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/user/sygnal_push_service/sygnal-0.8.2/sygnal/sygnal.py", line 24, in <module>
import opentracing
ModuleNotFoundError: No module named 'opentracing'
@kueueue You need to properly install the requirements for your python 3 virtualenv.
Got two configured apns and sygnal starts and works correctly. When I add to sygnal.yaml third one - type gcm - systemctl start returns no error, but service not running (endpoint _matrix/push/v1/notify returns 502). Running it with python -m sygnal.sygnal returns:
My config for FCM (type gcm):
com.my.app.id: type: gcm api_key: xx