Unable to initiate chat with @slackpuppet_bot: User does not exist
I'm unable to initiate chat with the slack bot after running yarn start
in the configuration steps.
The report I get back when I run yarn start
is as follows:
yarn run v1.22.19
$ npm run-script build && node ./build/index.js
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1656602102295-0.8514374344738069/node but npm is using /usr/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> mx-puppet-slack@0.0.0 build /home/landon/mx-puppet-slack
> tsc
Jun-30 15:15:07.054 [Store] info: Starting DB Init
Jun-30 15:15:07.055 [Store] info: Filename present in config, using sqlite
Jun-30 15:15:07.056 [SQLite3] info: Opening database.db
Jun-30 15:15:07.061 [Store] info: Database schema version is 16, latest version is 16
Jun-30 15:15:07.065 [Store] info: Starting DB Init
Jun-30 15:15:07.065 [Store] info: Database schema version is 1, latest version is 1
Jun-30 15:15:07.066 [PuppetBridge] info: Starting application service....
Jun-30 15:15:07.083 [bot-sdk-MatrixHttpClient] info: (REQ-1) POST https://srv.designyouryou.com/_matrix/client/r0/register
Jun-30 15:15:07.137 [PuppetBridge] info: Application service started!
Jun-30 15:15:07.137 [PuppetBridge] info: Setting bridge user data...
Jun-30 15:15:07.138 [bot-sdk-MatrixHttpClient] info: (REQ-2) GET https://srv.designyouryou.com/_matrix/client/r0/profile/%40_slackpuppet_bot%3Asrv.designyouryou.com
Jun-30 15:15:07.157 [PuppetBridge] info: Activating users...
Jun-30 15:15:07.161 [PresenceHandler] info: Starting presence handler with new interval 500ms
When I try to initiate the chat in Element, I get the following report:
The following users may not exist
Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?
@slackpuppet_bot:mydomain.com: User does not exist
I tried restarting synapse, and the issue persists. This is my Synapse log for the moment in time when I invited the slackpuppet_bot to chat:
2022-06-30 15:23:07,694 - synapse.access.http.8008 - 450 - INFO - GET-249 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 30.007sec/0.001sec (0.005sec, 0.000sec) >
2022-06-30 15:23:07,756 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:07,810 - synapse.access.http.8008 - 450 - INFO - GET-251 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 30.006sec/0.001sec (0.006sec, 0.000sec) >
2022-06-30 15:23:07,890 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:07,940 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:09,314 - synapse.handlers.presence - 792 - INFO - persist_presence_changes-20 - Persisting 1 unpersisted presence updates
2022-06-30 15:23:09,330 - synapse.util.caches.lrucache - 206 - INFO - LruCache._expire_old_entries-43 - Dropped 0 items from caches
2022-06-30 15:23:37,765 - synapse.access.http.8008 - 450 - INFO - GET-252 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 30.007sec/0.001sec (0.005sec, 0.000sec) >
2022-06-30 15:23:37,825 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:37,948 - synapse.access.http.8008 - 450 - INFO - GET-254 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 30.007sec/0.001sec (0.003sec, 0.000sec) >
2022-06-30 15:23:38,036 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:38,085 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:39,329 - synapse.util.caches.lrucache - 206 - INFO - LruCache._expire_old_entries-44 - Dropped 0 items from caches
2022-06-30 15:23:50,295 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:50,359 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:50,362 - synapse.access.http.8008 - 450 - INFO - PUT-259 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 0.001sec/0.001sec (0.002sec, 0.000sec) (>
2022-06-30 15:23:52,146 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,207 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,214 - synapse.handlers.message - 650 - INFO - POST-261 - Failed to get profile information for @slackpuppet_bot:srv.designyouryou.com: 404: Profile was not found
2022-06-30 15:23:52,258 - synapse.access.http.8008 - 450 - INFO - POST-261 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 0.049sec/0.001sec (0.014sec, 0.002sec) >
2022-06-30 15:23:52,301 - synapse.access.http.8008 - 450 - INFO - GET-255 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 14.472sec/0.003sec (0.013sec, 0.000sec) >
2022-06-30 15:23:52,301 - synapse.access.http.8008 - 450 - INFO - GET-257 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 14.214sec/0.002sec (0.011sec, 0.000sec) >
2022-06-30 15:23:52,343 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,366 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,400 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,404 - synapse.access.http.8008 - 450 - INFO - POST-264 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 0.003sec/0.001sec (0.002sec, 0.000sec) >
2022-06-30 15:23:52,412 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,468 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,486 - synapse.http.site - 533 - WARNING - sentinel - forwarded request lacks an x-forwarded-proto header: assuming https
2022-06-30 15:23:52,490 - synapse.access.http.8008 - 450 - INFO - POST-267 - 107.3.87.225 - 8008 - {@landon:srv.designyouryou.com} Processed request: 0.003sec/0.001sec (0.002sec, 0.000sec) >
2022-06-30 15:23:53,518 - synapse.metrics._gc - 120 - INFO - sentinel - Collecting gc 1
2022-06-30 15:24:09,314 - synapse.handlers.presence - 792 - INFO - persist_presence_changes-21 - Persisting 1 unpersisted presence updates
2022-06-30 15:24:09,329 - synapse.util.caches.lrucache - 206 - INFO - LruCache._expire_old_entries-45 - Dropped 0 items from caches
I imagine this might have something to do with an incorrect installation, but I'm stumped as to where I begin troubleshooting. Any pointers?