azure-functions-host: UI needs an API explaining why a function isn't indexed or is returning 404

Currently the UI queries a function’s keys. If that fails for any reason, we query the function status, if that also fails, we query the host status. However we still have cases where keys is 404, status is 404, and host status is 200 no errors. More logs and analysis are included in an email with subject [Azure/Azure-Functions] Getting error: "We are not able to retrieve the keys for function "

Of course part of the problem stems from having 2 parts interpreting what a function is (kudu and the runtime)

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Comments: 15 (11 by maintainers)

Most upvoted comments

Totally, and I should definitely take the time to note that while what I’m saying seems quite critical, it’s in the hopes of helping improve the platform. It’s no good if everyone just walks away without offering input.

@atrauzzi: @mamaso investigated and found that you are setting the functions property in your host.json, which causes all other functions to be ignored (see https://github.com/Azure/azure-webjobs-sdk-script/wiki/host.json). Do you remember doing that, or did that somehow get set by some tool or something else?