frandallfarmer / neohabitat

Repository for the NeoClassical Habitat Server Project
http://neohabitat.org
MIT License
229 stars 41 forks source link

Slack integration is broken. #413

Open frandallfarmer opened 1 year ago

frandallfarmer commented 1 year ago

This is at least 2 things:

slack.neohabitat.org doesn't work because 'slackin' is broken.

the bots also are mad...

error: Response not OK:  invalid_auth
error: Disconnecting because invalid_auth is not recoverable
error:  message=invalid_auth, stack=Error: invalid_auth
    at handleHttpResponse (/neohabitat/habibots/node_modules/@slack/client/lib/clients/transports/call-transport.js:103:17)
    at handleTransportResponse (/neohabitat/habibots/node_modules/@slack/client/lib/clients/transports/call-transport.js:153:19)
    at apply (/neohabitat/habibots/node_modules/lodash/lodash.js:478:17)
    at wrapper (/neohabitat/habibots/node_modules/lodash/lodash.js:5337:16)
    at Request.handleRequestTranportRes (/neohabitat/habibots/node_modules/@slack/client/lib/clients/transports/request.js:21:5)
    at apply (/neohabitat/habibots/node_modules/lodash/lodash.js:478:17)
    at Request.wrapper [as _callback] (/neohabitat/habibots/node_modules/lodash/lodash.js:5337:16)
    at self.callback (/neohabitat/habibots/node_modules/@slack/client/node_modules/request/request.js:186:22)
    at Request.emit (node:events:513:28)
    at Request.<anonymous> (/neohabitat/habibots/node_modules/@slack/client/node_modules/request/request.js:1060:10)
    at Request.emit (node:events:513:28)
    at IncomingMessage.<anonymous> (/neohabitat/habibots/node_modules/@slack/client/node_modules/request/request.js:980:12)
    at Object.onceWrapper (node:events:627:28)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
StuBlad commented 1 year ago

slackin is no longer updated, but an actively developed fork exists. I don't know if it could be a drop in replacement for slackin, but it's a good place to start.

https://github.com/emedvedev/slackin-extended

Sharing this here because I'm not able to test this out myself, but if anyone is able to take a look at this, we could get Slack integration working again so we can see when people log into NeoHabitat.