Comments (7)
Oh! You'll probably need to set bind_addresses
to ['0.0.0.0']
so that it accepts connections from outside the container?
from sygnal.
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/"]}%
from sygnal.
from sygnal.
Hi, I think its due to the port mapping in the docker run command: -p 5000:8989
? Isn't that saying its mapping port 5000 on the host machine to port 8989 in the container, but sygnal is listening on port 5000 in the container? Does using -p 5000:5000
work? (Or alternatively updating the sygnal config to listen on 8989 instead)
from sygnal.
Hi, I think its due to the port mapping in the docker run command:
-p 5000:8989
? Isn't that saying its mapping port 5000 on the host machine to port 8989 in the container, but sygnal is listening on port 5000 in the container? Does using-p 5000:5000
work? (Or alternatively updating the sygnal config to listen on 8989 instead)
5000 - in the container
8989 - on the host machine
docker run -it -logs --mount type=bind,source=//sygnal.yaml,target=/sygnal.yaml as/sygnal -p 5000:5000
no effect
curl -k -X POST http://127.0.0.1:5000/_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
from sygnal.
Can you run docker ps
to see whether sygnal is still around? Also, do you have any firewall configured that might be blocking the connection?
from sygnal.
Can you run
docker ps
to see whether sygnal is still around? Also, do you have any firewall configured that might be blocking the connection?
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2a53baf15b89 as/sygnal "python -m sygnal.sy…" 8 minutes ago Up 8 minutes 5000/tcp suspicious_wu
Also, do you have any firewall configured that might be blocking the connection
no
from sygnal.
Related Issues (20)
- how to solve this problem builtins.TypeError: __init__() got an unexpected keyword argument 'loop' HOT 2
- can't run using docker HOT 1
- Apps with same bundle id HOT 1
- APNS device token get 400 for hexadecimal (original base64 ok). HOT 1
- i got this WARNING aioapns Could not send notification 7334035a-0b11-40b4-bb80-2e20e5f2a4c5: ConnectionClosed HOT 2
- Missing field or documentation in sygnal yaml? Where do we set SENDER-ID to avoid FCM/GCM error MismatchSenderId HOT 4
- Apple pushes don't recover after a proxy failure HOT 3
- Support for on device notification filtering HOT 1
- service crashes intermittently Matrix HOT 1
- Push notification issue HOT 1
- Consider migrating to FCM HTTP v1 API [old API shutoff: June 2024] HOT 15
- "default_payload was misconfigured, this value must be a dict" error is noisy
- Not a bug, but a problem with the delivery of notifications to iOS HOT 2
- iOS VOIP sometimes notifications do not work if app is not open/in background HOT 3
- iOS VOIP sometimes notifications getting significantly delayed if app is closed/in background HOT 19
- ios notification -fluffyChat HOT 2
- `binascii.Error: Invalid base64-encoded string: number of data characters (157) cannot be 1 more than a multiple of 4` when using FluffyChat HOT 5
- Add wget or curl in docker image for healthchecking in docker-compose
- Android, Apple and client cannot jump out the message. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sygnal.