-
Notifications
You must be signed in to change notification settings - Fork 591
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
BigTable + HTTP triggered Cloud Functions #1742
Comments
I'm not sure how it could be picking up another project ID. @jgeewax @omaray @callmehiphop @lesv heard of anything like this before? |
@arbesfeld Any chance things change when you explicitly set the project ID in your code? (ie, @jasonpolites Any chance you know why Cloud Functions would be blasting out the project ID? |
@jgeewax I tried that and didn't see any change in behavior. I also tried for multiple different projects, and see different "wrong" The only thing that I could of would be that I'm running this at startup to add my own local modules to the
|
I'm presuming you are talking about deployed cloud functions, and not running locally. (if local, you might wish to check Is there a reason you prefer to get a possibly dynamic value It might make sense to compare the |
Thanks @lesv - we are using config with the node-convict library: https://github.com/mozilla/node-convict. This should be a static value. I compared both of these and see them both as being my own |
I discussed with the Google Support and this is not an issue with this library |
I am using Cloud Functions with BigTable and seeing a perplexing error for HTTP triggered cloud functions that try to access the BigTable Admin API:
My project is not using that id, and I have tried initializing the BigTable with a correct
projectId
and confirmed thatGCLOUD_PROJECT
matches as well.Here is the code that's failing:
This same exact code works in a Pub/Sub triggered cloud function.
Any ideas? Is it possible that there is some global that is being used for RPCs that go out from the HTTP cloud functions?
The text was updated successfully, but these errors were encountered: