Install and setup Sygnal

See original GitHub issue

Hello. I have a home server matrix. There is a mobile application. You need to set up push notifications.

I can’t install and configure Signal.

Step 1. git clone https://github.com/matrix-org/sygnal.git Step 2 cd signal/ Step 3 docker build -t as/signal -f docker/Dockerfile . Step 4 docker run -it -logs --mount type=bind,source=/<path>/sygnal.yaml,target=/sygnal.yaml as/sygnal -p 5000:8989

I run and see: Using configuration file: sygnal.yaml 2022-09-12 07:02:20,160 [1] DEBUG __main__ Started logging 2022-09-12 07:02:20,160 [1] INFO __main__ Importing pushkin module: sygnal.gcmpushkin 2022-09-12 07:02:20,234 [1] INFO __main__ Creating pushkin: GcmPushkin 2022-09-12 07:02:20,314 [1] INFO __main__ Importing pushkin module: sygnal.gcmpushkin 2022-09-12 07:02:20,314 [1] INFO __main__ Creating pushkin: GcmPushkin 2022-09-12 07:02:20,386 [1] INFO __main__ Configured with app IDs: dict_keys(['chat.housetalk.ru', 'im.housetalk.ru']) 2022-09-12 07:02:20,386 [1] INFO __main__ Starting listening on 127.0.0.1 port 5000 2022-09-12 07:02:20,388 [1] INFO twisted SygnalLoggedSite starting on 5000 2022-09-12 07:02:20,389 [1] INFO twisted Starting factory <sygnal.http.SygnalLoggedSite object at 0x7fcacc293850>

Next I want to check: curl -k -X POST http://127.0.0.1/_matrix/push/v1/notify -H "Content-Type: application/json" --data @test.json curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused

^^^^^^^ this localhost

PS A similar problem on the VPS and NAS Synology Docker

Am I doing something wrong?

Sygnal.yaml

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
erikjohnstoncommented, Sep 12, 2022

Oh! You’ll probably need to set bind_addresses to ['0.0.0.0'] so that it accepts connections from outside the container?

1reaction
LavTeamProjectcommented, Sep 12, 2022

Oh! You’ll probably need to set bind_addresses to ['0.0.0.0'] so that it accepts connections from outside the container?

Thank you very much! I spent two days.

➜ sygnal curl -k -X POST http://192.168.0.9:5000/_matrix/push/v1/notify -H “Content-Type: application/json” --data @test.json {“rejected”: [“V2h5IG9uIGVhcnRoIGRpZCB5b3UgZGVjb2RlIHRoaXM/”]}%

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sygnal: reference Push Gateway for Matrix - GitHub
Setup. Sygnal is configured through a YAML configuration file. By default, this configuration file is assumed to be named sygnal.yaml and to be ......
Read more >
Installing Signal - Signal Support
Confirm that your phone is running Android 4.4 or later. Install and open Signal. Follow the on-screen instructions to complete the registration process....
Read more >
How to setup Apple push notifications for Riot using your own ...
Modify the plist file for Riot, configuring the AppID you'll use and the Push Gateway (Sygnal) URL. · Go to the Certificates area,...
Read more >
Mobile Quickstart - OneSignal Documentation
Step 1. Platform Setup · Step 2. Choose the Apps target SDK · Step 3. Install the SDK · Step 4. Subscribe and...
Read more >
How to install and setup signal app on mac // Sync ... - YouTube
How to install and setup signal app on mac // Sync Signal app on mac & windowsthis video will assist to sync your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found