Closed przmv closed 6 years ago
Maybe try again? I just tested the steps you listed and it worked for me. It might be a transient deployment error unrelated to the function being uploaded.
Yes, indeed, it worked. Probably it was some temporary GCP issue…
I've run into the same problem. It spins for 5+minutes and then I get the same error. Ive tried three times, always the same problem.
I use go1.10.1 darwin/amd64
and when I created the function in the console I picked execute
as the function to execute. I guess that is the default from main.go in this repo?
And now it worked. Fourth time...
Do you have the most recent version? We did fix a flakiness issue. Post here if you experience it again.
yes, i pulled the repo just minutes before i tried.
I looked into it and I think that there is a reasonably high probability that it was a GCF issue. When the code in this project doesn't work correctly, typically deployment fails with an error about your function failing the heath check. I believe that the error described in this issue is a GCF internal error.
Next time this happens, try deploying a hello world JS function over the Go one and see if that works. If it works, try deploying the Go one again.
For the last couple of days this is happening consistently again. Ive tried the following:
Always with the ERROR: (gcloud.beta.functions.deploy) OperationError: code=10, message=Operation interrupted.
error.
Any ideas?
facing same error using node.js. Even with the sample google (default) functions, throwing same error since a few hours now.
I'm currently facing the same issue with a slightly different environment.
I get this error after creating a Firebase project, going to the Google Cloud Platform console and uploading a function generated using cloud-functions-go
. I also attempted to deploy a Firebase function via the GCP console by creating a Firebase Cloud Function using firebase init
and copying over files from cloud-functions-go
. Attempts to (re-)deploy either functions fail.
@iangudger Given how @MrBhatt has coincidentally experienced this an hour ago, perhaps there may have been a backend configuration change leading to this?
Perhaps there may have been an outage; I just reattempted a deploy and both functions worked! It's good to see that Firebase functions also work.
If it happens with pure JavaScript functions as well, it seems most likely that it is a problem with GCF.
Today I am trying this and experiencing this issue as well.
I tried many times, over 10 times, and the link here https://status.firebase.google.com/ shows all services running properly
I suggest to those wishing to use Cloud Functions with Go to join the Google Cloud Platform Slack channel and express your interest in Cloud Functions for Go and search for details about its product roadmap. You might be pleasantly surprised!
Are you implying they made changes that are causing those endless "Operation interrupted" errors when trying to import a zip package ?
I tried to give a look in the #go and the #functions channels there, didn't see anything exciting, but I don't have access to the full history (yet).
@kz Care to tell a bit more what you've read there ? :)
Hey I am still having the problem. Any solution ?
@GopikrishnanSasikumar looks like there the same issues have cropped up with GCF, as I've just started being unable to deploy some functions for the operation interrupted
reason too
Same problem
Please try again now.
yup better now, thanks 👍
Works now, thanks
FYI, you have to have a Google Cloud Storage (GCS) bucket created. Cloud Functions require a GCS bucket for staging. Without at least one available bucket, you will get that "unknown" error message
Same Problem in one of the GCP projects (have 2 projects, deployment works on one proj and fails on any CF deployment on another): Function's deployment in GCP console stops after 5 minutes with
Deployment failure:
Operation interrupted.
error message. Stackdriver log says "ABORTED".
When I tried to deploy
function.zip
I got the following error message on Google Cloud Functions:This is what I did:
At first, clone and build:
Then uploaded to Google Cloud Functions using the GCP web UI.
The following error entry is in the logs: