Comments (24)
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.
from cloud-functions-go.
Yes, indeed, it worked. Probably it was some temporary GCP issue…
from cloud-functions-go.
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?
from cloud-functions-go.
And now it worked. Fourth time...
from cloud-functions-go.
Do you have the most recent version? We did fix a flakiness issue. Post here if you experience it again.
from cloud-functions-go.
yes, i pulled the repo just minutes before i tried.
from cloud-functions-go.
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.
from cloud-functions-go.
For the last couple of days this is happening consistently again. Ive tried the following:
- using gcloud command with gs:// source url. Didn't work.
- web console with zip upload. Didn't work.
- web console with inline js (always works), then replace with my function.zip. Didn't work.
Always with the ERROR: (gcloud.beta.functions.deploy) OperationError: code=10, message=Operation interrupted.
error.
Any ideas?
from cloud-functions-go.
facing same error using node.js. Even with the sample google (default) functions, throwing same error since a few hours now.
from cloud-functions-go.
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?
from cloud-functions-go.
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.
from cloud-functions-go.
If it happens with pure JavaScript functions as well, it seems most likely that it is a problem with GCF.
from cloud-functions-go.
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
from cloud-functions-go.
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!
from cloud-functions-go.
Are you implying they made changes that are causing those endless "Operation interrupted" errors when trying to import a zip package ?
from cloud-functions-go.
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 ? :)
from cloud-functions-go.
Hey I am still having the problem. Any solution ?
from cloud-functions-go.
@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
from cloud-functions-go.
Same problem
from cloud-functions-go.
Please try again now.
from cloud-functions-go.
yup better now, thanks 👍
from cloud-functions-go.
Works now, thanks
from cloud-functions-go.
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
from cloud-functions-go.
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".
from cloud-functions-go.
Related Issues (20)
- about function-go HOT 6
- How to log to GCP Stackdriver? HOT 18
- currently only allow one main.go HOT 3
- cross projects permissions HOT 6
- there are any update? HOT 6
- Function always dies when issuing HTTP(S)-Requests with nodego.OverrideLogger() HOT 3
- Error: could not handle the request HOT 10
- NodeJS, PassportJS or JWT in Google Cloud Functions HOT 1
- Official Golang support plans? HOT 6
- Can't deploy function to Google Cloud Platform HOT 6
- How to deploy function to local emulator? HOT 2
- PubSub trigger `json: cannot unmarshal object` HOT 6
- Can't get this package. HOT 3
- How to use with a web server framework HOT 4
- Deployment issues HOT 9
- Official Go support is in public beta
- Why vendor folder is ignored (go project) HOT 1
- Deployment failure without invisibility! HOT 2
- Use Real Cloud Functions Go Runtime, Not Fake One HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-functions-go.