Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Transcription jobs not found for live site #226

Closed
allishultes opened this issue Apr 30, 2021 · 2 comments
Closed

Bug: Transcription jobs not found for live site #226

allishultes opened this issue Apr 30, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@allishultes
Copy link
Contributor

Describe the issue

Transcriptions started on the live site deployed via Cosmos are stuck in the "stripping audio" phase. Inspecting the function logs on the Firebase prod project show that the CronJobChecker isn't able to find the job ids it's looking for.

Not yet sure whether this issue is duplicated on the test site, and not sure whether it's a GCP or client / config fix.

To replicate:

  1. Visit digital-paper-edit.tools.bbc.co.uk
  2. Upload a media file
  3. Job does not progress beyond "stripping audio"
  4. In the logs, the job is not found
@allishultes allishultes added the bug Something isn't working label Apr 30, 2021
@allishultes allishultes self-assigned this Apr 30, 2021
@allishultes
Copy link
Contributor Author

We hadn't enabled an identity API on GCP - the Firebase logs pointed out this issue, I've since enabled the API. This seems partially to help but there is still a permissions error; I think it has something to do with service account keys; I'm trying to work this out.

@allishultes
Copy link
Contributor Author

allishultes commented May 4, 2021

There was an issue with some of the IAM roles not having been granted the same permissions on prod as on dev in the GCP console. I manually replicated the permissions, and was able to upload and transcribe media files from the live version of the site.

To replicate:

Notes on solution: https://stackoverflow.com/questions/55757947/403-the-caller-does-not-have-permission-for-firebase-management-api-addfirebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant