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

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

Closed
jeremykeen opened this issue Dec 2, 2016 · 8 comments

Comments

@jeremykeen
Copy link

When creating a push subscription for this app, I get the error below caused by the addition of the "-preview" to the address by the GAE Flexible environment. Removing this allows me to create the subscription but then I get redirect responses. Is this the correct behavior or does appspot-preview.com need to be added somehow?

The supplied HTTP URL is not registered in the project that owns the subscription (url="https://<app-id>.appspot-preview.com/pubsub/push?token=1234abc", project_id="<proj-id>").

In which file did you encounter the issue?

python-docs-samples\appengine\flexible\pubsub\

@theacodes
Copy link
Contributor

This is a known issue and unfortunately pub/sub push notifications to flex will not work until the redirects are removed.

@jeremykeen
Copy link
Author

Ok, if that is the case, does the sample python app need to use flex as specified in the app.yaml?

python-docs-samples/appengine/flexible/pubsub/app.yaml

@theacodes
Copy link
Contributor

I'm not sure what you're asking.

@jeremykeen
Copy link
Author

The sample app that receives push subscriptions uses App Engine Flex which does not work with pub/sub.

@theacodes
Copy link
Contributor

I'm still not completely clear on what you mean, but the sample app will remain as-is in anticipation of the infrastructure bug being fixed.

@jeremykeen
Copy link
Author

What is the timing of the redirect removal? Until then, the sample app code does not work with pub/sub because it leverages App Engine Flex.

@theacodes
Copy link
Contributor

No timeline, but it is a high priority issue.

@theacodes
Copy link
Contributor

The redirect should be resolved now, closing.

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

No branches or pull requests

2 participants