Github Extension - Not Found Error

Hi;

I’m trying to get the Github deployment extension working and running into a problem.

  • Manually triggering a deployment always fails. Logs only show one line - simply “Not Found”.
  • I’ve verified the repo, token and all the rest of the configuration for the Github extension is correct
  • Real-time webtask logs show a bit more information, but not terribly helpful (see below).
  • Webhooks are sent successfully from Github, and I see some activity in the real-time webtask logs but no deployment is triggered and nothing shows up in the Deployments tab that corresponds to the webhook

My repo is pretty simple - just a rules directory with one .js and one .json file.

Here’s the output of the webtask logs for one of the failed deploys:

7:05:23 AM:

new webtask request

7:05:31 AM:

2021-02-07T12:05:31.980Z - e[32minfoe[39m: Starting Auth0 Deploy extension - Version: 3.7.1

7:05:32 AM:

2021-02-07T12:05:32.252Z - e[31merrore[39m: HttpError: Not Found at /data/_verquire/_node12/@octokit/rest/17.1.4/node_modules/@octokit/request/dist-node/index.js:66:23 at processTicksAndRejections (internal/process/task_queues.js:97:5)

7:05:32 AM:

Deprecation: [@octokit/request-error] `error.code` is deprecated, use `error.status`. at RequestError.get (/data/_verquire/_node12/@octokit/rest/17.1.4/node_modules/@octokit/request-error/dist-node/index.js:29:17) at /data/io/node12/9b4e70fc-3902-4987-badd-ada24f2bd32d/webtask.js:1:63639 at Layer.handle_error (/data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/layer.js:58:5) at trim_prefix (/data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/index.js:300:13) at /data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/index.js:270:7 at Function.proto.process_params (/data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/index.js:321:12) at Immediate.next (/data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/index.js:261:10) at Immediate._onImmediate (/data/_verquire/_node12/express/4.12.4/node_modules/express/lib/router/index.js:603:15) at processImmediate (internal/timers.js:458:21) at process.topLevelDomainCallback (domain.js:137:15)

7:05:32 AM:

2021-02-07T12:05:32.256Z - e[32minfoe[39m: POST /3d09db18a993333ae8ef2452c831c10d/api/deployments 404 267.289 ms - 35

7:05:32 AM:

(node:22) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated

7:05:32 AM:

finished webtask request

7:05:32 AM:

new webtask request

7:05:32 AM:

2021-02-07T12:05:32.373Z - e[32minfoe[39m: GET /3d09db18a993333ae8ef2452c831c10d/api/deployments 200 15.372 ms - 4208

7:05:32 AM:

finished webtask request

Hey there @bdueck!

In order to handle that most effectively with the tool maintainers can I ask you to raise a GitHub issue for that here: GitHub - auth0-extensions/auth0-deploy-extensions: All Auth0 Deploy Extensions in one place and share the link to the issue once you have it so I can ping them. Thanks!