LookerBot access issues

Hi there. I’ve deployed to Heroku and am really struggling to get any response from Lookerbot…

I’ve attached what I’ve got in Heroku below, but have redacted the specifics…hopefully this helps a little.

Whenever I mention the Lookerbot nothing happens. When I type “/lookerbot” I get " /lookerbot failed with the error “http_service_error” but I otherwise can’t get any response from it at all. My main use case is backslash commands to show particular Looks.

I’m fairly sure that it’s not to do with my API access since I used the same credentials in Postman and was able to navigate the API without a problem. But it seems that Lookerbot doesn’t have the same access for some reason.

Any ideas on how I can troubleshoot? Heroku setup below. Thanks so much!

0 16 909
16 REPLIES 16

Hey Philip, did you get this up and running? The key to the issues here always lies in the Heroku logs-- The Looker logs won’t really tell you much other than that something’s failing.

If you’re still trying to get this set up, sharing the heroku log output would be super helpful (and maybe even just looking at it will guide you towards the solution!)

Hi Izzy!

Unfortunately not yet. But here are the logs…503 error. Do you know how I would further diagnose?

Thanks!

2020-04-08T23:06:40.661101+00:00 app[web.1]:     at Request.emit (events.js:321:20)
2020-04-08T23:06:40.661102+00:00 app[web.1]:     at Request.EventEmitter.emit (domain.js:485:12)
2020-04-08T23:06:40.661102+00:00 app[web.1]:     at Request.<anonymous> (/app/node_modules/request/request.js:1141:10)
2020-04-08T23:06:40.661103+00:00 app[web.1]:     at Request.emit (events.js:321:20)
2020-04-08T23:06:40.661103+00:00 app[web.1]:     at Request.EventEmitter.emit (domain.js:485:12)
2020-04-08T23:06:40.661104+00:00 app[web.1]:     at IncomingMessage.<anonymous> (/app/node_modules/request/request.js:1063:12)
2020-04-08T23:06:40.661104+00:00 app[web.1]:     at Object.onceWrapper (events.js:427:28)
2020-04-08T23:06:40.745249+00:00 app[web.1]: error Command failed with exit code 1.
2020-04-08T23:06:40.745591+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-04-08T23:06:40.878462+00:00 heroku[web.1]: State changed from starting to crashed
2020-04-08T23:44:25.251783+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=POST path="/slack/receive" host=looker-for-slack.herokuapp.com request_id=211384f3-c31f-480d-807b-7b78647f0b9f fwd="34.229.46.74" dyno= connect= service= status=503 bytes= protocol=https

I think that might not be the full error message, it seems to only pick up halfway through the stack trace so it’s hard to say. Could you open the heroku logs, then make a request to lookerbot and copy/paste the full output? Heroku logs only tail the logs, so unless you have it open you won’t capture anything.

Hi Izzy

That is the full output I’m afraid. I did what you mentioned last time too, but just to be sure I did the same, and attempted two requests in a row using /lookerbot in Slack. Full output below.

2020-04-08T23:59:51.736670+00:00 app[web.1]: at Request.emit (events.js:321:20)
2020-04-08T23:59:51.736671+00:00 app[web.1]: at Request.EventEmitter.emit (domain.js:485:12)
2020-04-08T23:59:51.736671+00:00 app[web.1]: at Request. (/app/node_modules/request/request.js:1141:10)
2020-04-08T23:59:51.736672+00:00 app[web.1]: at Request.emit (events.js:321:20)
2020-04-08T23:59:51.736672+00:00 app[web.1]: at Request.EventEmitter.emit (domain.js:485:12)
2020-04-08T23:59:51.736673+00:00 app[web.1]: at IncomingMessage. (/app/node_modules/request/request.js:1063:12)
2020-04-08T23:59:51.736674+00:00 app[web.1]: at Object.onceWrapper (events.js:427:28)
2020-04-08T23:59:51.770650+00:00 app[web.1]: error Command failed with exit code 1.
2020-04-08T23:59:51.770837+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-04-08T23:59:51.852102+00:00 heroku[web.1]: State changed from up to crashed
2020-04-09T00:01:27.364664+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=POST path="/slack/receive" host=looker-for-slack.herokuapp.com request_id=a99246dd-681c-4d20-8bc1-cbe91df53e85 fwd=“54.158.101.16” dyno= connect= service= status=503 bytes= protocol=https
2020-04-09T00:01:37.628951+00:00 heroku[router]: at=error code=H10 desc=“App crashed” method=POST path="/slack/receive" host=looker-for-slack.herokuapp.com request_id=e2fdae30-bbc0-4de1-ba77-a8f3970d5eab fwd=“54.91.224.118” dyno= connect= service= status=503 bytes= protocol=https

Aw, well darn. Those logs aren’t super helpful haha. I still feel like they’re being clipped somehow.

I’m just spitballing reasons that Lookerbot might poop out randomly. Are you sure that the lookerbot user (aka the user attached to the API keys you’re feeding lookerbot) has all of the requisite permissions? Like access_data, see_user_dashboards, etc.

So the Lookerbot user is my API user attached to my personal profile (I’m not a Looker admin, but our admin gave me my API keys, which I then put into Heroku). When I use those same credentials in Postman, I can navigate the API just fine. Which is why this is so confusing.

Thanks so much for spitballing, I really appreciate it. Anything else I should go through that you can think of…to diagnose?

I might sound like a broken record, but I feel like those logs just ain’t complete. I wonder if installing something like Timber to get better logging (Heroku logging out of the box leaves lots to be desired) would show a clearer root cause.

You could also start from scratch and try setting up with a totally new heroku instance and slack app, it may have been a setup issue that’s hard to diagnose but wouldn’t be replicated if you reset!

@Phillip_Wild @izzymiller I’m having basically the same issue! I set up my Lookerbot on Heroku via the Deploy to Heroku button in the @Phillip_Wild. And that means I can’t use the bot in Slack.

Is there some basic Heroku thing I might be missing for new apps? Is it related to yarn? That seems to be a place where I’m getting an error but I made sure yarn was installed. One other minor thing is that my API Base URL is for version 3.1 of the API as opposed to 3.0. The app is supposed to be hosted at https://kafenelookerbot.herokuapp.com/

The other thing that’s not clear to me is what files are supposed to be in my app. What does a successful Lookerbot repository look like? I actually cloned the one from the instructions (and have noticed that in a few other places as well), but it hasn’t seemed to work…

Here are full logs from the initial attempted setup:

**2020-05-22T15:53:29.272659+00:00 app[api]:** Initial release by user richard@kafene.com

**2020-05-22T15:53:29.272659+00:00 app[api]:** Release v1 created by user richard@kafene.com

**2020-05-22T15:53:29.612566+00:00 app[api]:** Release v2 created by user richard@kafene.com

**2020-05-22T15:53:29.612566+00:00 app[api]:** Enable Logplex by user richard@kafene.com

**2020-05-22T15:53:30.000000+00:00 app[api]:** Build started by user richard@kafene.com

**2020-05-22T15:53:30.082700+00:00 app[api]:** Set SLACK_API_KEY, LOOKER_URL, LOOKER_API_BASE_URL, LOOKER_API_3_CLIENT_ID, LOOKER_API_3_CLIENT_SECRET, SLACK_SLASH_COMMAND_TOKEN, SLACKBOT_S3_BUCKET_REGION config vars by user richard@kafene.com

**2020-05-22T15:53:30.082700+00:00 app[api]:** Release v3 created by user richard@kafene.com

**2020-05-22T15:54:37.798627+00:00 app[api]:** Deploy by user richard@kafene.com

**2020-05-22T15:54:37.798627+00:00 app[api]:** Release v4 created by user richard@kafene.com

**2020-05-22T15:54:37.818387+00:00 app[api]:** Scaled to web@1:Free by user richard@kafene.com

**2020-05-22T15:54:48.000000+00:00 app[api]:** Build succeeded

2020-05-22T15:54:58.987474+00:00 heroku[web.1]: Starting process with command **`yarn start`**

2020-05-22T15:55:02.808076+00:00 app[web.1]: yarn run v1.19.1

2020-05-22T15:55:03.030730+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts

2020-05-22T15:55:16.648353+00:00 app[web.1]: Error: Cannot find module 'skills-validator'

2020-05-22T15:55:16.648370+00:00 app[web.1]: Require stack:

2020-05-22T15:55:16.648371+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js

2020-05-22T15:55:16.648371+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js

2020-05-22T15:55:16.648372+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js

2020-05-22T15:55:16.648372+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js

2020-05-22T15:55:16.648372+00:00 app[web.1]: - /app/src/services/slack_service.ts

2020-05-22T15:55:16.648373+00:00 app[web.1]: - /app/src/index.ts

2020-05-22T15:55:16.648374+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)

2020-05-22T15:55:16.648375+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)

2020-05-22T15:55:16.648375+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T15:55:16.648376+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)

2020-05-22T15:55:16.648376+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)

2020-05-22T15:55:16.648376+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)

2020-05-22T15:55:16.648377+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)

2020-05-22T15:55:16.648377+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)

2020-05-22T15:55:16.648377+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)

2020-05-22T15:55:16.648378+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T15:55:16.703759+00:00 app[web.1]: error Command failed with exit code 1.

2020-05-22T15:55:16.704192+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

2020-05-22T15:55:16.805828+00:00 heroku[web.1]: Process exited with status 1

2020-05-22T15:55:16.853042+00:00 heroku[web.1]: State changed from starting to crashed

2020-05-22T15:55:16.855310+00:00 heroku[web.1]: State changed from crashed to starting

2020-05-22T15:55:24.997941+00:00 heroku[web.1]: Starting process with command **`yarn start`**

2020-05-22T15:55:28.996046+00:00 app[web.1]: yarn run v1.19.1

2020-05-22T15:55:29.201505+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts

2020-05-22T15:55:43.314966+00:00 app[web.1]: Error: Cannot find module 'skills-validator'

2020-05-22T15:55:43.315012+00:00 app[web.1]: Require stack:

2020-05-22T15:55:43.315013+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js

2020-05-22T15:55:43.315013+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js

2020-05-22T15:55:43.315014+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js

2020-05-22T15:55:43.315014+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js

2020-05-22T15:55:43.315014+00:00 app[web.1]: - /app/src/services/slack_service.ts

2020-05-22T15:55:43.315015+00:00 app[web.1]: - /app/src/index.ts

2020-05-22T15:55:43.315015+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)

2020-05-22T15:55:43.315016+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)

2020-05-22T15:55:43.315016+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T15:55:43.315016+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)

2020-05-22T15:55:43.315016+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)

2020-05-22T15:55:43.315017+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)

2020-05-22T15:55:43.315017+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)

2020-05-22T15:55:43.315017+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)

2020-05-22T15:55:43.315017+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)

2020-05-22T15:55:43.315018+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T15:55:43.362850+00:00 app[web.1]: error Command failed with exit code 1.

2020-05-22T15:55:43.363157+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

2020-05-22T15:55:43.445364+00:00 heroku[web.1]: Process exited with status 1

2020-05-22T15:55:43.490270+00:00 heroku[web.1]: State changed from starting to crashed

2020-05-22T15:55:44.229189+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/" host=kafenelookerbot.herokuapp.com request_id=8d1b2de4-f177-4f9c-8d7d-579b5466bea1 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T15:55:44.693573+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=b18a6377-d2c9-416c-8567-f9c74a8c195f fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:00:06.668112+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/" host=kafenelookerbot.herokuapp.com request_id=2e51b96c-33b6-4bb1-907f-85c83212b9cb fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:00:06.885107+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=1cb08214-ae2d-4ad9-bf8b-411709b0f317 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:03:24.947512+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **POST** path="/slack/receive" host=kafenelookerbot.herokuapp.com request_id=91a6f2f8-83cf-4ed2-9595-b4bcc2ae572c fwd="54.198.75.40" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:03:29.509393+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **POST** path="/slack/receive" host=kafenelookerbot.herokuapp.com request_id=c7df7822-af9b-47d7-be80-c52d5b09a212 fwd="18.208.248.83" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:03:54.748179+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/" host=kafenelookerbot.herokuapp.com request_id=620457b2-7702-4d05-b8f4-ab98bef89306 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:03:54.954636+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=88290bf4-dc81-4a27-a5ef-84cb6750132a fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:07:02.724339+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/" host=kafenelookerbot.herokuapp.com request_id=6377f29a-f7ca-4a2e-83d5-a7f6aa652349 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:07:02.903431+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=1e6a70a0-d504-4d61-af48-bd5a78449194 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:16:11.122041+00:00 heroku[web.1]: State changed from crashed to starting

2020-05-22T16:16:18.015827+00:00 heroku[web.1]: Starting process with command **`yarn start`**

2020-05-22T16:16:21.244760+00:00 app[web.1]: yarn run v1.19.1

2020-05-22T16:16:21.325756+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts

2020-05-22T16:16:30.682431+00:00 app[web.1]: Error: Cannot find module 'skills-validator'

2020-05-22T16:16:30.682478+00:00 app[web.1]: Require stack:

2020-05-22T16:16:30.682482+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js

2020-05-22T16:16:30.682482+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js

2020-05-22T16:16:30.682483+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js

2020-05-22T16:16:30.682483+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js

2020-05-22T16:16:30.682484+00:00 app[web.1]: - /app/src/services/slack_service.ts

2020-05-22T16:16:30.682484+00:00 app[web.1]: - /app/src/index.ts

2020-05-22T16:16:30.682485+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)

2020-05-22T16:16:30.682486+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)

2020-05-22T16:16:30.682486+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T16:16:30.682487+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)

2020-05-22T16:16:30.682487+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)

2020-05-22T16:16:30.682488+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)

2020-05-22T16:16:30.682488+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)

2020-05-22T16:16:30.682489+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)

2020-05-22T16:16:30.682489+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)

2020-05-22T16:16:30.682489+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)

2020-05-22T16:16:30.753824+00:00 app[web.1]: error Command failed with exit code 1.

2020-05-22T16:16:30.754003+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

2020-05-22T16:16:30.827111+00:00 heroku[web.1]: Process exited with status 1

2020-05-22T16:16:30.867745+00:00 heroku[web.1]: State changed from starting to crashed

2020-05-22T16:17:36.106154+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/" host=kafenelookerbot.herokuapp.com request_id=a0efe768-476c-4912-9f85-02c97cb42377 fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

2020-05-22T16:17:36.200607+00:00 heroku[router]: at=error code= **H10** desc="App crashed" method= **GET** path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=7613abdd-4235-4cce-a232-cef8274ff58f fwd="70.15.214.242" dyno= connect= service= status=503 bytes= protocol=https

I think this may be fixed if you add
YARN_PRODUCTION=false to the heroku environment variables… I’m not sure if that will solve @Phillip_Wild’s issue as well, but worth a shot.

Let me know if that works and we will document it.

@izzymiller Thanks for writing back. I tried that and just ran the app and nothing seems to have changed/I am continuing to see errors. I also have a ticket open about this with the Looker team, so waiting on that front as well.

See below for the most recent log:

2020-06-02T11:47:09.117987+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js
2020-06-02T11:47:09.117987+00:00 app[web.1]: - /app/src/services/slack_service.ts
2020-06-02T11:47:09.117988+00:00 app[web.1]: - /app/src/index.ts
2020-06-02T11:47:09.117988+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
2020-06-02T11:47:09.117989+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)
2020-06-02T11:47:09.117989+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-02T11:47:09.117989+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)
2020-06-02T11:47:09.117989+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)
2020-06-02T11:47:09.117990+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)
2020-06-02T11:47:09.117990+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
2020-06-02T11:47:09.117990+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)
2020-06-02T11:47:09.117990+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)
2020-06-02T11:47:09.117991+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-02T11:47:09.165698+00:00 app[web.1]: error Command failed with exit code 1.
2020-06-02T11:47:09.166015+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-02T11:47:09.252905+00:00 heroku[web.1]: Process exited with status 1
2020-06-02T11:47:09.292142+00:00 heroku[web.1]: State changed from starting to crashed
2020-06-02T15:15:47.103590+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=kafenelookerbot.herokuapp.com request_id=052b51d2-9987-44e9-96aa-f116f30950a7 fwd="125.21.21.58" dyno= connect= service= status=503 bytes= protocol=https
2020-06-02T17:32:48.032930+00:00 heroku[web.1]: State changed from crashed to starting
2020-06-02T17:32:55.233394+00:00 heroku[web.1]: Starting process with command `yarn start`
2020-06-02T17:32:58.615170+00:00 app[web.1]: yarn run v1.19.1
2020-06-02T17:32:58.713963+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts
2020-06-02T17:33:07.558289+00:00 app[web.1]: Error: Cannot find module 'skills-validator'
2020-06-02T17:33:07.558309+00:00 app[web.1]: Require stack:
2020-06-02T17:33:07.558310+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js
2020-06-02T17:33:07.558310+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js
2020-06-02T17:33:07.558311+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js
2020-06-02T17:33:07.558311+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js
2020-06-02T17:33:07.558311+00:00 app[web.1]: - /app/src/services/slack_service.ts
2020-06-02T17:33:07.558312+00:00 app[web.1]: - /app/src/index.ts
2020-06-02T17:33:07.558313+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
2020-06-02T17:33:07.558314+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)
2020-06-02T17:33:07.558315+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-02T17:33:07.558316+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)
2020-06-02T17:33:07.558316+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)
2020-06-02T17:33:07.558316+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)
2020-06-02T17:33:07.558317+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
2020-06-02T17:33:07.558317+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)
2020-06-02T17:33:07.558317+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)
2020-06-02T17:33:07.558318+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-02T17:33:07.599746+00:00 app[web.1]: error Command failed with exit code 1.
2020-06-02T17:33:07.599987+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-02T17:33:07.714981+00:00 heroku[web.1]: Process exited with status 1
2020-06-02T17:33:07.752492+00:00 heroku[web.1]: State changed from starting to crashed
2020-06-08T14:43:13.778079+00:00 app[api]: Release v10 created by user richard@kafene.com
2020-06-08T14:43:13.778079+00:00 app[api]: Set YARN_PRODUCTION config vars by user richard@kafene.com
2020-06-08T14:43:14.171689+00:00 heroku[web.1]: State changed from crashed to starting
2020-06-08T14:43:22.224456+00:00 heroku[web.1]: Starting process with command `yarn start`
2020-06-08T14:43:26.267949+00:00 app[web.1]: yarn run v1.19.1
2020-06-08T14:43:26.392366+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts
2020-06-08T14:43:40.702627+00:00 app[web.1]: Error: Cannot find module 'skills-validator'
2020-06-08T14:43:40.702642+00:00 app[web.1]: Require stack:
2020-06-08T14:43:40.702643+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js
2020-06-08T14:43:40.702644+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js
2020-06-08T14:43:40.702644+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js
2020-06-08T14:43:40.702644+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js
2020-06-08T14:43:40.702645+00:00 app[web.1]: - /app/src/services/slack_service.ts
2020-06-08T14:43:40.702645+00:00 app[web.1]: - /app/src/index.ts
2020-06-08T14:43:40.702646+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
2020-06-08T14:43:40.702649+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)
2020-06-08T14:43:40.702649+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-08T14:43:40.702650+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)
2020-06-08T14:43:40.702650+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)
2020-06-08T14:43:40.702651+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)
2020-06-08T14:43:40.702651+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
2020-06-08T14:43:40.702651+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)
2020-06-08T14:43:40.702652+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)
2020-06-08T14:43:40.702652+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-08T14:43:40.782363+00:00 app[web.1]: error Command failed with exit code 1.
2020-06-08T14:43:40.783457+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-08T14:43:40.909970+00:00 heroku[web.1]: Process exited with status 1
2020-06-08T14:43:40.974039+00:00 heroku[web.1]: State changed from starting to crashed
2020-06-08T14:43:40.976815+00:00 heroku[web.1]: State changed from crashed to starting
2020-06-08T14:43:46.802260+00:00 heroku[web.1]: Starting process with command `yarn start`
2020-06-08T14:43:50.732280+00:00 app[web.1]: yarn run v1.19.1
2020-06-08T14:43:50.809437+00:00 app[web.1]: $ ./node_modules/.bin/ts-node ./src/index.ts
2020-06-08T14:44:00.267019+00:00 app[web.1]: Error: Cannot find module 'skills-validator'
2020-06-08T14:44:00.267073+00:00 app[web.1]: Require stack:
2020-06-08T14:44:00.267075+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/bots/ChatConnector.js
2020-06-08T14:44:00.267075+00:00 app[web.1]: - /app/node_modules/botbuilder/lib/botbuilder.js
2020-06-08T14:44:00.267075+00:00 app[web.1]: - /app/node_modules/botkit/lib/BotFramework.js
2020-06-08T14:44:00.267076+00:00 app[web.1]: - /app/node_modules/botkit/lib/Botkit.js
2020-06-08T14:44:00.267076+00:00 app[web.1]: - /app/src/services/slack_service.ts
2020-06-08T14:44:00.267076+00:00 app[web.1]: - /app/src/index.ts
2020-06-08T14:44:00.267077+00:00 app[web.1]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1029:15)
2020-06-08T14:44:00.267078+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:898:27)
2020-06-08T14:44:00.267078+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-08T14:44:00.267078+00:00 app[web.1]: at require (internal/modules/cjs/helpers.js:73:18)
2020-06-08T14:44:00.267079+00:00 app[web.1]: at Object.<anonymous> (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:15:26)
2020-06-08T14:44:00.267081+00:00 app[web.1]: at Module._compile (internal/modules/cjs/loader.js:1200:30)
2020-06-08T14:44:00.267082+00:00 app[web.1]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
2020-06-08T14:44:00.267082+00:00 app[web.1]: at Module.load (internal/modules/cjs/loader.js:1049:32)
2020-06-08T14:44:00.267083+00:00 app[web.1]: at Function.Module._load (internal/modules/cjs/loader.js:937:14)
2020-06-08T14:44:00.267083+00:00 app[web.1]: at Module.require (internal/modules/cjs/loader.js:1089:19)
2020-06-08T14:44:00.319646+00:00 app[web.1]: error Command failed with exit code 1.
2020-06-08T14:44:00.319876+00:00 app[web.1]: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-06-08T14:44:00.412622+00:00 heroku[web.1]: Process exited with status 1
2020-06-08T14:44:00.440136+00:00 heroku[web.1]: State changed from starting to crashed
2020-06-08T14:44:01.281933+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=kafenelookerbot.herokuapp.com request_id=40a1a087-bd1a-4d73-81c0-3483c57d743b fwd="64.67.82.213" dyno= connect= service= status=503 bytes= protocol=https
2020-06-08T14:44:02.112310+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=kafenelookerbot.herokuapp.com request_id=83547c24-400f-4c7b-9a94-5558ca66c0bc fwd="64.67.82.213" dyno= connect= service= status=503 bytes= protocol=https

@izzymiller After communicating with the Support Team, they said Looker is building a native Lookerbot soon, so I am gonna just wait for that at this point. Thanks for trying.

Hey all, quick update here. It turns out that new Slack applications default to a new, more granular permission structure which doesn’t allow for use of the Real Time Messaging API that Lookerbot relies on. In order to set up a new Lookerbot, you will need to create a Classic Slack App. See the readme here for updated setup steps on the Slack side: https://github.com/looker/lookerbot/blob/master/README.md#deployment

You will still need to add the `YARN_PRODUCTION=false` env var.

IanT
Participant V

Hi @rdunlavy, do you know if the current lookerbot will cease to work in feb 21 after the deprecation of slack APIs listed here: https://api.slack.com/changelog/future ?

We would love to move to the native Looker bot but as I understand it is not available if you are using IP whitelisting?

IanT
Participant V

@rdunlavy any news on this?

@IanT sorry for the delay in getting back. There is only one endpoint being deprecated next month that was used in Lookerbot: `api.channels.list` for data actions. Our engineering team just merged in a change to circumvent that endpoint, so if you update to the latest Lookerbot version (0.0.16) there won’t be any issues with the API deprecation mentioned above. Let me know if you have any questions about this!

IanT
Participant V

amazing thanks!