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

Investigate PubSub push subscription error: The supplied HTTP URL is not registered in the project that owns the subscription #4

Open
medvedev1088 opened this issue Sep 21, 2018 · 0 comments

Comments

@medvedev1088
Copy link
Member

There is no way to connect a cloud function with a PubSub in a different project:

Note: The Cloud Pub/Sub topic that your function is subscribed to must be in the same Google Cloud Platform project as your Cloud Function.

There is a way to use HTTP-triggered subscription to invoke a cloud function:

Note: You can also use HTTP-triggered functions to listen to Pub/Sub push subscriptions. This allows a single Cloud Function to subscribe to multiple topics.

However when trying to create an HTTP-triggered subscription an error occurs:

PubSub push subscription error: The supplied HTTP URL is not registered in the project that owns the subscription

It seems there is a need to register the endpoint: https://cloud.google.com/pubsub/docs/push#other-endpoints

This task is to follow the registration flow and see how simple/hard it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant