Giter VIP home page Giter VIP logo

Comments (24)

iangudger avatar iangudger commented on May 27, 2024

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.

przmv avatar przmv commented on May 27, 2024

Yes, indeed, it worked. Probably it was some temporary GCP issue…

from cloud-functions-go.

otto-md avatar otto-md commented on May 27, 2024

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.

otto-md avatar otto-md commented on May 27, 2024

And now it worked. Fourth time...

from cloud-functions-go.

iangudger avatar iangudger commented on May 27, 2024

Do you have the most recent version? We did fix a flakiness issue. Post here if you experience it again.

from cloud-functions-go.

otto-md avatar otto-md commented on May 27, 2024

yes, i pulled the repo just minutes before i tried.

from cloud-functions-go.

iangudger avatar iangudger commented on May 27, 2024

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.

otto-md avatar otto-md commented on May 27, 2024

For the last couple of days this is happening consistently again. Ive tried the following:

  1. using gcloud command with gs:// source url. Didn't work.
  2. web console with zip upload. Didn't work.
  3. 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.

MrBhatt avatar MrBhatt commented on May 27, 2024

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.

kz avatar kz commented on May 27, 2024

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.

kz avatar kz commented on May 27, 2024

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.

iangudger avatar iangudger commented on May 27, 2024

If it happens with pure JavaScript functions as well, it seems most likely that it is a problem with GCF.

from cloud-functions-go.

vcGF avatar vcGF commented on May 27, 2024

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.

kz avatar kz commented on May 27, 2024

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.

vcGF avatar vcGF commented on May 27, 2024

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.

vcGF avatar vcGF commented on May 27, 2024

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.

gksoriginals avatar gksoriginals commented on May 27, 2024

Hey I am still having the problem. Any solution ?

from cloud-functions-go.

jonasdebeukelaer avatar jonasdebeukelaer commented on May 27, 2024

@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.

fedosev avatar fedosev commented on May 27, 2024

Same problem

from cloud-functions-go.

iangudger avatar iangudger commented on May 27, 2024

Please try again now.

from cloud-functions-go.

jonasdebeukelaer avatar jonasdebeukelaer commented on May 27, 2024

yup better now, thanks 👍

from cloud-functions-go.

fedosev avatar fedosev commented on May 27, 2024

Works now, thanks

from cloud-functions-go.

waheedbrown avatar waheedbrown commented on May 27, 2024

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.

SergeyRudakov avatar SergeyRudakov commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.