!iLajGEwovCOwpGOZiD:t2l.io

Matrix Twilio Bridge (SMS)

100 Members
Text your friends from matrix using Twilio| https://github.com/turt2live/matrix-appservice-twilio | Road to v1: https://github.com/turt2live/matrix-appservice-twilio/milestone/143 Servers

Load older messages


SenderMessageTime
29 Jan 2019
@travis:t2l.ioTravisRprobably not. It should give you something helping. Might indicate that the reverse proxy isn't totally set uop04:23:17
@tony:matrix.arsmoriendi.clubtonyyeah, I think my lack of knowledge with setting up this server is getting in my way becuase I'm following some instructions from matrix.org04:24:02
@tony:matrix.arsmoriendi.clubtony

could this nginx thing be my problem you think?
server {
listen 80;
server_name matrix.example.com;
return 301 https://$server_name$request_uri;
}

server {
listen 443 ssl;
listen [::]:443 ssl;
server_name matrix.example.com;

ssl_certificate /etc/letsencrypt/live/matrix.example.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/matrix.example.com/privkey.pem;

# If you don't wanna serve a site, comment this out
root /var/www/html;
index index.html index.htm;

location /_matrix {
  proxy_pass http://127.0.0.1:8008;
  proxy_set_header X-Forwarded-For $remote_addr;
}

}

04:24:32
@tony:matrix.arsmoriendi.clubtonyor maybe the ufw firewall that is set up?04:25:28
@travis:t2l.ioTravisRIt doesn't look like you have a proxy set up for the bridge itself04:26:54
@tony:matrix.arsmoriendi.clubtonyMmmm, I didn't even know that was necessary (behold my utter lack of knowledge).04:28:02
@tony:matrix.arsmoriendi.clubtonyWell, I suppose I've been enough of a pain in the ass. I'm going to try to learn about how to set up a proxy, but I won't decline advice on how to do that if it's an easy thing someone can explain.04:36:02
@travis:t2l.ioTravisRis the bridge running on the same machine as synapse?04:37:45
@tony:matrix.arsmoriendi.clubtonyyep04:37:54
@travis:t2l.ioTravisR

change the listen address in the bridge's config file to 127.0.0.1 (instead of 0.0.0.0) and add this to your nginx config:

location /api {
    proxy_pass http://localhost:4501;
    proxy_set_header X-Forwarded-For $remote_addr;
}

then your domain will be matrix.example.org. Changing this isn't impossible, but more involved than a single chat message :p

04:39:29
@tony:matrix.arsmoriendi.clubtonyGreat. I'll try it. Do you mean that I should put matrix.example.org in the bridge's config file instead of my own domain?04:41:13
@travis:t2l.ioTravisRshouldn't have to. Might need to change the thing on Twilio though04:41:41
@tony:matrix.arsmoriendi.clubtonyI'll mess around with it. Thanks.04:41:55
@tony:matrix.arsmoriendi.clubtonythe listen address is the "host" right?04:43:02
@travis:t2l.ioTravisRyea04:44:10
@tony:matrix.arsmoriendi.clubtonyThanks for the help. I've got it working now. Didn't have to do anything with matrix.example.org (I'm not really sure what you meant by that tbh). Looking forward to the point where this is slick and polished and works with voice calls! Do people like you who work on projects like this use something like Patreon? Seems like it would be a good way to encourage development of apps and functionality for something like the librem 5 and make it worth your time.05:35:58
@travis:t2l.ioTravisRin practice I spend most of my time running t2bot.io, which is where this bridge is eventually landing. Donations towards that (which still go towards me, and paying operating costs of t2bot.io first) can be made here: https://t2bot.io/donate/05:38:21
@tony:matrix.arsmoriendi.clubtonyOh, so you have a lot going on, I see. I'll have a look at it all, and thanks again!05:40:40
@travis:t2l.ioTravisRI do tend to collect projects ._.05:41:05
@tony:matrix.arsmoriendi.clubtonyOne last thing: How do you get the bridge to keep running once you close the terminal? Isn't there some command to run stuff like that in the background?05:42:32
@travis:t2l.ioTravisR depends on a variety of things, but some people use systemd, forever (from npm), or screen managers like screen and tmux 05:43:23
@tony:tawk.clubtony joined the room.19:11:27
30 Jan 2019
@tony:tawk.clubtony set a profile picture.22:05:42
3 Feb 2019
@dikeat142:matrix.orgdikeat142 joined the room.05:44:06
16 Feb 2019
@tomey:nethole.us@tomey:nethole.us changed their profile picture.01:59:04
21 Feb 2019
@jeremy:jpcomms.tkJeremyIs voice conferencing on the roadmap?22:17:02
18 Feb 2019
@tomey:nethole.us@tomey:nethole.us left the room.14:57:29
21 Feb 2019
@ghjkl:matrix.thomas.shthomas-ghjkl joined the room.12:30:41
@ghjkl:matrix.thomas.shthomas-ghjklHello12:34:58
@ghjkl:matrix.thomas.shthomas-ghjklI installed this promising appservice12:35:14

Show newer messages


Back to Room ListRoom Version: