28 Jan 2019 |
TravisR | That's normal | 19:40:10 |
tony | I was able to get ECONNRESET instead of ECONNREFUSED at one point if that gives any clues as to what I should do... | 19:41:22 |
TravisR | Port 8008 is generally unencrypted, so you'll probably want http:// instead of https:// if you're using :8008 | 19:42:05 |
tony | Why does it reference port 8008 when I'm setting it up with port 9000 as your instructions detail? | 19:43:11 |
TravisR | https://matrix.arsmoriendi.club:8008 is what your homeserverUrl would be set as | 19:43:34 |
TravisR | so that option needs some fixing | 19:43:57 |
tony | I have found that when I include app_service_config_files: ["appservice-registration-twilio.yaml"] in my homeserver.yaml, I'm unable to start/restart my matrix-synapse.service.
Clearly that shouldn't be happening. Any idea what I should look at to troubleshoot this? | 20:55:43 |
TravisR | The logs would be a good start - it doesn't refuse to restart without complaining loudly. My best guess would be tabs instead of spaces or otherwise invalid formatting in the homeserver.yaml | 21:00:39 |
29 Jan 2019 |
| tony | 00:24:13 |
tony | Think I'm close! Any idea why I'm stalled for a long time at:
"info [TwilioBridge] Updating avatar for bridge bot" | 00:27:00 |
TravisR | I don't think it prints a message like "Update successful", so it might actually be running | 01:54:47 |
| tony | 02:48:55 |
| tony | 03:02:12 |
tony | When trying to send a message to a phone number, the log shows: | 03:08:51 |
tony | synapse.handlers.message - 302 - INFO - POST-507- Failed to get profile information for @_twilio_1XXXXXXXXXX:matrix.arsmoriendi.club: 404: Profile was not found | 03:09:18 |
tony | error [matrix-appservice-bridge] [-] POST http://matrix.arsmoriendi.club:8008/_matrix/client/r0/join/!xqbSXYGVnPPmsAoaic%3Amatrix.arsmoriendi.club (@_twilio_1XXXXXXXXXX:matrix.arsmoriendi.club) HTTP 403 Error: "{"errcode":"M_FORBIDDEN","error":"Application service has not registered this user"}" | 03:11:32 |
tony | ^^And that was from the terminal output | 03:11:44 |
TravisR | Neither of those errors are particularly surprising, but shouldn't stop it from working | 03:13:52 |
tony | Oh, okay. I didn't get a message to go through, so I was looking for a problem and I thought that looked like one. | 03:17:24 |
TravisR | :( it's a problem if it doesn't do anything about it, but the errors themselves are somewhat normal | 03:18:14 |
TravisR | I guess try re-inviting the user or sending the message? | 03:18:25 |
tony | Should the phone number user show itself as joined if it's working? | 03:19:19 |
TravisR | yup | 03:20:37 |
TravisR | (this might also be the part where it just doesn't work anymore) | 03:20:53 |
tony | Too bad if it doesn't work anymore. I've just started using matrix, and I'm new to twilio too, but it sure seems like being able to bridge the two would open up a lot of possiblities. | 03:22:49 |
TravisR | I used to use it on a daily basis but ran out of time to be able to develop it :( | 03:23:34 |
TravisR | it's stuck at about item no. 5 for projects of mine to refresh, unfortunately | 03:24:10 |
tony | I'm looking forward to purism's librem 5 phone, so I'm trying to figure out how all this stuff works, and this project of yours seemed like a big step toward being able to ditch my cell service provider. I'll keep my eye on it for sure. | 03:26:13 |
TravisR | That's certainly the goal of the project, so glad you're at least here for that :) | 03:26:51 |
tony | If I use a web browser to go to the url: https://your.server.com/api/v1/twilio/{secret}/sms should it show a 404 not found error? | 04:15:14 |