28 Jan 2019 |
tony | ohhh, i bet it got overwritten when I updated something earlier. I didn't think of that. Thanks again! | 01:50:45 |
| tony joined the room. | 19:34:32 |
tony | Haven't been able to figure this out yet. Now when I try to run everything I'm getting: | 19:38:30 |
tony | error [matrix-appservice-bridge] [-] GET https://matrix.arsmoriendi.club:8008/_matrix/client/r0/joined_rooms (AS) HTTP null Error: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","address":"152.44.40.230","port":8008}
[ERROR] Error: connect ECONNREFUSED 152.44.40.230:8008
at Object._errnoException (util.js:1022:11)
at _exceptionWithHostPort (util.js:1044:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1198:14) | 19:38:42 |
tony | As always, any clues are very appreciated! | 19:38:55 |
TravisR | either the appservice can't access the port, the server isn't running, or you're running into problems with TLS on a non-TLS port | 19:39:19 |
tony | Does it matter that whenver I go through the setup steps I get this:
Unable to load crypto module: crypto will be disabled: Error: global.Olm is not defined | 19:40:01 |
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 |