matrix-hacks / matrix-puppet-facebook

a puppetted facebook bridge
98 stars 21 forks source link

Can't create room (InvalidMacaroonException) #71

Closed v01t closed 4 years ago

v01t commented 4 years ago

During initialization I see the following in the log:

Sat, 09 May 2020 20:20:15 GMT matrix-puppet:Base:getStatusRoomId:info creating status room !!!! >>>>facebook_puppetStatusRoom<<<< Facebook Protocol Facebook Protocol Status Messages
(node:17) UnhandledPromiseRejectionWarning
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I was able to successfully proceed with login and registration steps, and can see incoming fb messages in the log, but there seems to be a problem with matrix room creation.

I'm using self-hosted synapse server (docker.io/matrixdotorg/synapse) and see the following related logs:

2020-05-09 20:20:19,105 - synapse.api.auth - 368 - WARNING - POST-39 - Invalid macaroon in auth: <class 'synapse.api.auth._InvalidMacaroonException'>

that looks like a root cause for this issue.

v01t commented 4 years ago

invalid facebook-registration.yaml was configured